Enum workspace2::ToolbarItemLocation
source · pub enum ToolbarItemLocation {
Hidden,
PrimaryLeft,
PrimaryRight,
Secondary,
}
Variants§
Trait Implementations§
source§impl Clone for ToolbarItemLocation
impl Clone for ToolbarItemLocation
source§fn clone(&self) -> ToolbarItemLocation
fn clone(&self) -> ToolbarItemLocation
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 ToolbarItemLocation
impl Debug for ToolbarItemLocation
source§impl PartialEq<ToolbarItemLocation> for ToolbarItemLocation
impl PartialEq<ToolbarItemLocation> for ToolbarItemLocation
source§fn eq(&self, other: &ToolbarItemLocation) -> bool
fn eq(&self, other: &ToolbarItemLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ToolbarItemLocation
impl StructuralPartialEq for ToolbarItemLocation
Auto Trait Implementations§
impl RefUnwindSafe for ToolbarItemLocation
impl Send for ToolbarItemLocation
impl Sync for ToolbarItemLocation
impl Unpin for ToolbarItemLocation
impl UnwindSafe for ToolbarItemLocation
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>
§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.