pub struct BoxSelectionState {
pub start_pos: Pos2,
pub active: bool,
}Expand description
State for box selection operations.
Tracks the start position and whether a box selection is currently active.
Fields§
§start_pos: Pos2The starting position of the box selection in screen coordinates.
active: boolWhether the box selection is currently active.
Implementations§
Trait Implementations§
Source§impl Clone for BoxSelectionState
impl Clone for BoxSelectionState
Source§fn clone(&self) -> BoxSelectionState
fn clone(&self) -> BoxSelectionState
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 Debug for BoxSelectionState
impl Debug for BoxSelectionState
Source§impl PartialEq for BoxSelectionState
impl PartialEq for BoxSelectionState
impl StructuralPartialEq for BoxSelectionState
Auto Trait Implementations§
impl Freeze for BoxSelectionState
impl RefUnwindSafe for BoxSelectionState
impl Send for BoxSelectionState
impl Sync for BoxSelectionState
impl Unpin for BoxSelectionState
impl UnwindSafe for BoxSelectionState
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