#[repr(C)]pub struct KeyboardLayout<const N: usize = 0> {
pub layout_length: u16,
pub guid: Guid,
pub layout_descriptor_string_offset: u32,
pub descriptor_count: u8,
pub descriptors: [KeyDescriptor; N],
}Fields§
§layout_length: u16§guid: Guid§layout_descriptor_string_offset: u32§descriptor_count: u8§descriptors: [KeyDescriptor; N]Trait Implementations§
Source§impl<const N: usize> Clone for KeyboardLayout<N>
impl<const N: usize> Clone for KeyboardLayout<N>
Source§fn clone(&self) -> KeyboardLayout<N>
fn clone(&self) -> KeyboardLayout<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const N: usize> Debug for KeyboardLayout<N>
impl<const N: usize> Debug for KeyboardLayout<N>
impl<const N: usize> Copy for KeyboardLayout<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for KeyboardLayout<N>
impl<const N: usize> RefUnwindSafe for KeyboardLayout<N>
impl<const N: usize> Send for KeyboardLayout<N>
impl<const N: usize> Sync for KeyboardLayout<N>
impl<const N: usize> Unpin for KeyboardLayout<N>
impl<const N: usize> UnwindSafe for KeyboardLayout<N>
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