pub struct TouchSlot {
pub slot: usize,
pub control: Option<Control>,
}Expand description
Explicit saved-layout identity. Visible slots must be a prefix in slot order.
Fields§
§slot: usize§control: Option<Control>None omits this slot from drawing and input; only a suffix may be hidden.
Implementations§
Trait Implementations§
impl Copy for TouchSlot
impl StructuralPartialEq for TouchSlot
Auto Trait Implementations§
impl Freeze for TouchSlot
impl RefUnwindSafe for TouchSlot
impl Send for TouchSlot
impl Sync for TouchSlot
impl Unpin for TouchSlot
impl UnwindSafe for TouchSlot
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