Enum freya::prelude::DisplayMode
pub enum DisplayMode {
Normal,
Center,
}
Variants§
Implementations§
§impl DisplayMode
impl DisplayMode
Trait Implementations§
§impl Clone for DisplayMode
impl Clone for DisplayMode
§fn clone(&self) -> DisplayMode
fn clone(&self) -> DisplayMode
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 DisplayMode
impl Debug for DisplayMode
§impl Default for DisplayMode
impl Default for DisplayMode
§fn default() -> DisplayMode
fn default() -> DisplayMode
Returns the “default value” for a type. Read more
source§impl Parse for DisplayMode
impl Parse for DisplayMode
type Err = ParseDisplayModeError
fn parse(value: &str) -> Result<DisplayMode, <DisplayMode as Parse>::Err>
§impl PartialEq<DisplayMode> for DisplayMode
impl PartialEq<DisplayMode> for DisplayMode
§fn eq(&self, other: &DisplayMode) -> bool
fn eq(&self, other: &DisplayMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayMode
impl StructuralPartialEq for DisplayMode
Auto Trait Implementations§
impl RefUnwindSafe for DisplayMode
impl Send for DisplayMode
impl Sync for DisplayMode
impl Unpin for DisplayMode
impl UnwindSafe for DisplayMode
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
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> 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.