Enum freya::prelude::DirectionMode
pub enum DirectionMode {
Vertical,
Horizontal,
Both,
}
Variants§
Implementations§
§impl DirectionMode
impl DirectionMode
Trait Implementations§
§impl Clone for DirectionMode
impl Clone for DirectionMode
§fn clone(&self) -> DirectionMode
fn clone(&self) -> DirectionMode
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 more§impl Debug for DirectionMode
impl Debug for DirectionMode
§impl Default for DirectionMode
impl Default for DirectionMode
§fn default() -> DirectionMode
fn default() -> DirectionMode
Returns the “default value” for a type. Read more
§impl PartialEq<DirectionMode> for DirectionMode
impl PartialEq<DirectionMode> for DirectionMode
§fn eq(&self, other: &DirectionMode) -> bool
fn eq(&self, other: &DirectionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DirectionMode
Auto Trait Implementations§
impl RefUnwindSafe for DirectionMode
impl Send for DirectionMode
impl Sync for DirectionMode
impl Unpin for DirectionMode
impl UnwindSafe for DirectionMode
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.