pub fn native_scan_code(&self) -> u32 {
        let (obj_data, funcs) = self.get_key_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).native_scan_code)(obj_data);
            ret_val
        }
    }
///
/// Returns the native scan code of the key event. If the key event
/// does not contain this data 0 is returned.
///
/// Note: The native scan code may be 0, even if the key event contains
/// extended information.
///
/// Note: On Mac OS/X, this function is not useful, because there is no
/// way to get the scan code from Carbon or Cocoa. The function always
/// returns 1 (or 0 in the case explained above).
Returns the native scan code of the key event. If the key event
does not contain this data 0 is returned.

The native scan code may be 0, even if the key event contains
extended information.

On Mac OS/X, this function is not useful, because there is no
way to get the scan code from Carbon or Cocoa. The function always
returns 1 (or 0 in the case explained above).
Returns the native scan code of the key event . If the key event does not contain this data 0 is returned . The native scan code may be 0 even if the key event contains extended information . On Mac OS / X this function is not useful because there is no way to get the scan code from Carbon or Cocoa . The function always returns 1 ( or 0 in the case explained above ) .
pub fn native_scan_code(&self) -> u32 {
        let (obj_data, funcs) = self.get_key_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).native_scan_code)(obj_data);
            ret_val
        }
    }
pub fn native_scan_code ( & self ) -> u32 { let ( obj_data , funcs ) = self . get_key_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . native_scan_code ) ( obj_data ) ; ret_val } }
Returns the native scan code of the key event.
Returns the native scan code of the key event .
&self
&self