pub fn from_raw(v: i32) -> FxChainVisibility {
        match v {
            -2 => Self::Visible(None),
            -1 => Self::Hidden,
            x if x >= 0 => Self::Visible(Some(x as u32)),
            x => Self::Unknown(Hidden(x)),
        }
    }
/// Converts an integer as returned by the low-level API to an FX chain visibility.
Converts an integer as returned by the low-level API to an FX chain visibility.
Converts an integer as returned by the low - level API to an FX chain visibility .
pub fn from_raw(v: i32) -> FxChainVisibility {
        match v {
            -2 => Self::Visible(None),
            -1 => Self::Hidden,
            x if x >= 0 => Self::Visible(Some(x as u32)),
            x => Self::Unknown(Hidden(x)),
        }
    }
pub fn from_raw ( v : i32 ) -> FxChainVisibility { match v { - 2 => Self :: Visible ( None ) , - 1 => Self :: Hidden , x if x >= 0 => Self :: Visible ( Some ( x as u32 ) ) , x => Self :: Unknown ( Hidden ( x ) ) , } }
Converts an integer as returned by the low-level API to an FX chain visibility.
Converts an integer as returned by the low - level API to an FX chain visibility .
v
i32
v
i32