///
/// Returns the shortcut key sequence for the mnemonic in *text,*
/// or an empty key sequence if no mnemonics are found.
///
/// For example, mnemonic("E&xit") returns `Qt::ALT+Qt::Key_X` ,
/// mnemonic("&Quit") returns `ALT+Key_Q` , and mnemonic("Quit")
/// returns an empty QKeySequence.
///
/// We provide a [list of common mnemonics](accelerators.html)
///
/// in English. At the time of writing, Microsoft and Open Group do
/// not appear to have issued equivalent recommendations for other
/// languages.
Returns the shortcut key sequence for the mnemonic in *text,
or an empty key sequence if no mnemonics are found.



We provide a [list of common mnemonics](accelerators.html)

in English. At the time of writing, Microsoft and Open Group do
not appear to have issued equivalent recommendations for other
languages.
Returns the shortcut key sequence for the mnemonic in * text or an empty key sequence if no mnemonics are found . We provide a [ list of common mnemonics ] ( accelerators . html ) in English . At the time of writing Microsoft and Open Group do not appear to have issued equivalent recommendations for other languages .
pub fn mnemonic(text: &str) -> KeySequence<'a> {
        let str_in_text_1 = CString::new(text).unwrap();
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_key_sequence)(::std::ptr::null()).all_funcs)
                    .key_sequence_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).mnemonic)(obj_data, str_in_text_1.as_ptr());
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = KeySequence::new_from_rc(t);
            } else {
                ret_val = KeySequence::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn mnemonic ( text : & str ) -> KeySequence < ' a > { let str_in_text_1 = CString :: new ( text ) . unwrap ( ) ; let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_key_sequence ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . key_sequence_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . mnemonic ) ( obj_data , str_in_text_1 . as_ptr ( ) ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = KeySequence :: new_from_rc ( t ) ; } else { ret_val = KeySequence :: new_from_owned ( t ) ; } ret_val } }
Returns the shortcut key sequence for the mnemonic in *text,
or an empty key sequence if no mnemonics are found.
Returns the shortcut key sequence for the mnemonic in * text or an empty key sequence if no mnemonics are found .
text
&str