pub fn to_raw(self) -> *mut raw::KbdSectionInfo {
        use SectionContext::*;
        match self {
            MainSection => null_mut(),
            // If the unique ID of the given section is zero, then this also corresponds to the
            // main section.
            Sec(i) => i.0.as_ptr(),
        }
    }
/// Converts this value to a raw pointer as expected by the low-level API.
Converts this value to a raw pointer as expected by the low-level API.
Converts this value to a raw pointer as expected by the low - level API .
pub fn to_raw(self) -> *mut raw::KbdSectionInfo {
        use SectionContext::*;
        match self {
            MainSection => null_mut(),
            // If the unique ID of the given section is zero, then this also corresponds to the
            // main section.
            Sec(i) => i.0.as_ptr(),
        }
    }
pub fn to_raw ( self ) -> * mut raw :: KbdSectionInfo { use SectionContext :: * ; match self { MainSection => null_mut ( ) , // If the unique ID of the given section is zero, then this also corresponds to the // main section. Sec ( i ) => i . 0 . as_ptr ( ) , } }
Converts this value to a raw pointer as expected by the low-level API.
Converts this value to a raw pointer as expected by the low - level API .
self
self