#[repr(transparent)]pub struct KittyKeyFlags(pub u32);Expand description
Kitty keyboard protocol flags
From include/ghostty/vt/key/encoder.h
Tuple Fields§
§0: u32Implementations§
Source§impl KittyKeyFlags
impl KittyKeyFlags
pub const DISABLED: Self
Sourcepub const DISAMBIGUATE: Self
pub const DISAMBIGUATE: Self
Disambiguate escape codes
Sourcepub const REPORT_EVENTS: Self
pub const REPORT_EVENTS: Self
Report press and release
Sourcepub const REPORT_ALTERNATES: Self
pub const REPORT_ALTERNATES: Self
Report alternate key codes
Sourcepub const REPORT_ALL: Self
pub const REPORT_ALL: Self
Report all events
Sourcepub const REPORT_ASSOCIATED: Self
pub const REPORT_ASSOCIATED: Self
Report associated text
pub const ALL: Self
pub const fn bits(self) -> u32
Trait Implementations§
Source§impl BitOr for KittyKeyFlags
impl BitOr for KittyKeyFlags
Source§impl Clone for KittyKeyFlags
impl Clone for KittyKeyFlags
impl Copy for KittyKeyFlags
Source§impl Debug for KittyKeyFlags
impl Debug for KittyKeyFlags
impl Eq for KittyKeyFlags
Source§impl Hash for KittyKeyFlags
impl Hash for KittyKeyFlags
Source§impl PartialEq for KittyKeyFlags
impl PartialEq for KittyKeyFlags
impl StructuralPartialEq for KittyKeyFlags
Auto Trait Implementations§
impl Freeze for KittyKeyFlags
impl RefUnwindSafe for KittyKeyFlags
impl Send for KittyKeyFlags
impl Sync for KittyKeyFlags
impl Unpin for KittyKeyFlags
impl UnsafeUnpin for KittyKeyFlags
impl UnwindSafe for KittyKeyFlags
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