pub struct DisplayMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl DisplayMode
impl DisplayMode
pub const THUMBNAILS: DisplayMode
pub const LIST: DisplayMode
Trait Implementations§
Source§impl Clone for DisplayMode
impl Clone for DisplayMode
Source§fn clone(&self) -> DisplayMode
fn clone(&self) -> DisplayMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DisplayMode
impl Debug for DisplayMode
Source§impl From<DisplayMode> for i64
impl From<DisplayMode> for i64
Source§fn from(v: DisplayMode) -> Self
fn from(v: DisplayMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for DisplayMode
impl From<i64> for DisplayMode
Source§impl FromVariant for DisplayMode
impl FromVariant for DisplayMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for DisplayMode
impl Hash for DisplayMode
Source§impl Ord for DisplayMode
impl Ord for DisplayMode
Source§fn cmp(&self, other: &DisplayMode) -> Ordering
fn cmp(&self, other: &DisplayMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DisplayMode
impl PartialEq for DisplayMode
Source§impl PartialOrd for DisplayMode
impl PartialOrd for DisplayMode
impl Copy for DisplayMode
impl Eq for DisplayMode
impl StructuralPartialEq for DisplayMode
Auto Trait Implementations§
impl Freeze for DisplayMode
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> 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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.