pub fn from_raw(v: i32) -> PromptForActionResult {
        use PromptForActionResult::*;
        match v {
            0 => NoneSelected,
            id if id > 0 => Selected(CommandId::new(id as u32)),
            -1 => ActionWindowGone,
            x => Unknown(Hidden(x)),
        }
    }
/// Converts an integer as returned by the low-level API to this result.
Converts an integer as returned by the low-level API to this result.
Converts an integer as returned by the low - level API to this result .
pub fn from_raw(v: i32) -> PromptForActionResult {
        use PromptForActionResult::*;
        match v {
            0 => NoneSelected,
            id if id > 0 => Selected(CommandId::new(id as u32)),
            -1 => ActionWindowGone,
            x => Unknown(Hidden(x)),
        }
    }
pub fn from_raw ( v : i32 ) -> PromptForActionResult { use PromptForActionResult :: * ; match v { 0 => NoneSelected , id if id > 0 => Selected ( CommandId :: new ( id as u32 ) ) , - 1 => ActionWindowGone , x => Unknown ( Hidden ( x ) ) , } }
Converts an integer as returned by the low-level API to this result.
Converts an integer as returned by the low - level API to this result .
v
i32
v
i32