pub struct InputInterpreterState {
pub focused_node: Option<DomNodeId>,
pub click_count: u8,
pub drag_start_position: Option<LogicalPosition>,
pub has_selection: bool,
}Expand description
Flattened focus/selection state for the input interpreter (replaces trait objects).
Fields§
§focused_node: Option<DomNodeId>§click_count: u8§drag_start_position: Option<LogicalPosition>§has_selection: boolTrait Implementations§
Source§impl Clone for InputInterpreterState
impl Clone for InputInterpreterState
Source§fn clone(&self) -> InputInterpreterState
fn clone(&self) -> InputInterpreterState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputInterpreterState
impl RefUnwindSafe for InputInterpreterState
impl Send for InputInterpreterState
impl Sync for InputInterpreterState
impl Unpin for InputInterpreterState
impl UnsafeUnpin for InputInterpreterState
impl UnwindSafe for InputInterpreterState
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