#[repr(u8)]pub enum ArchivedClientKeyCodewhere
char: Archive,{
Backspace,
Char(<char as Archive>::Archived),
Down,
Enter,
Esc,
Left,
Right,
Tab,
Unknown,
Up,
}Expand description
An archived ClientKeyCode
Variants§
Backspace
The archived counterpart of ClientKeyCode::Backspace
Char(<char as Archive>::Archived)
The archived counterpart of ClientKeyCode::Char
Tuple Fields
§
0: <char as Archive>::ArchivedThe archived counterpart of ClientKeyCode::Char::0
Down
The archived counterpart of ClientKeyCode::Down
Enter
The archived counterpart of ClientKeyCode::Enter
Esc
The archived counterpart of ClientKeyCode::Esc
Left
The archived counterpart of ClientKeyCode::Left
Right
The archived counterpart of ClientKeyCode::Right
Tab
The archived counterpart of ClientKeyCode::Tab
Unknown
The archived counterpart of ClientKeyCode::Unknown
Up
The archived counterpart of ClientKeyCode::Up
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClientKeyCode
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedClientKeyCode
impl Portable for ArchivedClientKeyCode
Auto Trait Implementations§
impl Freeze for ArchivedClientKeyCode
impl RefUnwindSafe for ArchivedClientKeyCode
impl Send for ArchivedClientKeyCode
impl Sync for ArchivedClientKeyCode
impl Unpin for ArchivedClientKeyCode
impl UnsafeUnpin for ArchivedClientKeyCode
impl UnwindSafe for ArchivedClientKeyCode
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.