pub enum MultiSelectMode {
CtrlClick,
ClickToggles,
}Expand description
How a plain viewport click builds a MULTI-selection (the Settings “Multi-select”
dropdown). Read by the app’s viewport click routing — the engine’s selection
primitives (select_candidate replace / toggle_candidate toggle) are
mode-agnostic; this only chooses which one a plain click drives.
Variants§
CtrlClick
A plain click REPLACES the selection; Ctrl/Cmd+click adds/toggles (the classic CAD behavior).
ClickToggles
A plain click TOGGLES the item in the selection (click again to unselect) so a multi-selection needs no modifier key; a click on empty space clears.
Implementations§
Source§impl MultiSelectMode
impl MultiSelectMode
Sourcepub const ALL: [MultiSelectMode; 2]
pub const ALL: [MultiSelectMode; 2]
Every mode, in the order the Settings dropdown lists them.
Trait Implementations§
Source§impl Clone for MultiSelectMode
impl Clone for MultiSelectMode
Source§fn clone(&self) -> MultiSelectMode
fn clone(&self) -> MultiSelectMode
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 moreimpl Copy for MultiSelectMode
Source§impl Debug for MultiSelectMode
impl Debug for MultiSelectMode
impl Eq for MultiSelectMode
Source§impl PartialEq for MultiSelectMode
impl PartialEq for MultiSelectMode
impl StructuralPartialEq for MultiSelectMode
Auto Trait Implementations§
impl Freeze for MultiSelectMode
impl RefUnwindSafe for MultiSelectMode
impl Send for MultiSelectMode
impl Sync for MultiSelectMode
impl Unpin for MultiSelectMode
impl UnsafeUnpin for MultiSelectMode
impl UnwindSafe for MultiSelectMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more