Enum zed2::languages::SelectionGoal
source · pub enum SelectionGoal {
None,
HorizontalPosition(f32),
HorizontalRange {
start: f32,
end: f32,
},
WrappedHorizontalPosition((u32, f32)),
}
Variants§
Trait Implementations§
source§impl Clone for SelectionGoal
impl Clone for SelectionGoal
source§fn clone(&self) -> SelectionGoal
fn clone(&self) -> SelectionGoal
Returns a copy 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 SelectionGoal
impl Debug for SelectionGoal
source§impl Default for SelectionGoal
impl Default for SelectionGoal
source§fn default() -> SelectionGoal
fn default() -> SelectionGoal
Returns the “default value” for a type. Read more
source§impl PartialEq<SelectionGoal> for SelectionGoal
impl PartialEq<SelectionGoal> for SelectionGoal
source§fn eq(&self, other: &SelectionGoal) -> bool
fn eq(&self, other: &SelectionGoal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SelectionGoal
impl StructuralPartialEq for SelectionGoal
Auto Trait Implementations§
impl RefUnwindSafe for SelectionGoal
impl Send for SelectionGoal
impl Sync for SelectionGoal
impl Unpin for SelectionGoal
impl UnwindSafe for SelectionGoal
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.