pub struct KeyStateLayout {
pub size: usize,
pub align: usize,
}Expand description
Opaque key-state layout reported to callers before they allocate storage.
Fields§
§size: usizeRequired storage size in bytes.
align: usizeRequired storage alignment in bytes.
Trait Implementations§
Source§impl Clone for KeyStateLayout
impl Clone for KeyStateLayout
impl Copy for KeyStateLayout
Source§impl Debug for KeyStateLayout
impl Debug for KeyStateLayout
impl Eq for KeyStateLayout
Source§impl PartialEq for KeyStateLayout
impl PartialEq for KeyStateLayout
impl StructuralPartialEq for KeyStateLayout
Auto Trait Implementations§
impl Freeze for KeyStateLayout
impl RefUnwindSafe for KeyStateLayout
impl Send for KeyStateLayout
impl Sync for KeyStateLayout
impl Unpin for KeyStateLayout
impl UnsafeUnpin for KeyStateLayout
impl UnwindSafe for KeyStateLayout
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