pub struct Key(/* private fields */);Implementations§
Source§impl Key
impl Key
pub fn from_name(keyval_name: &str) -> Self
pub fn from_unicode(c: char) -> Self
pub fn to_unicode(&self) -> Option<char>
pub fn name(&self) -> Option<GString>
pub fn is_upper(&self) -> bool
pub fn is_lower(&self) -> bool
pub fn to_upper(&self) -> Self
pub fn to_lower(&self) -> Self
pub fn convert_case(&self) -> (Self, Self)
Trait Implementations§
Source§impl Ord for Key
impl Ord for Key
Source§impl PartialOrd for Key
impl PartialOrd for Key
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more