pub struct DefaultNonNumeric<T>(/* private fields */)
where
T: Display + ?Sized;Expand description
Trait Implementations§
Source§impl<T> Clone for DefaultNonNumeric<T>
impl<T> Clone for DefaultNonNumeric<T>
Source§fn clone(&self) -> DefaultNonNumeric<T>
fn clone(&self) -> DefaultNonNumeric<T>
Returns a duplicate 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<T> CustomDisplay for DefaultNonNumeric<T>
impl<T> CustomDisplay for DefaultNonNumeric<T>
Source§fn precision_behavior(&self) -> PrecisionBehavior
fn precision_behavior(&self) -> PrecisionBehavior
Source§fn auto_width_fill_alignment(&self) -> bool
fn auto_width_fill_alignment(&self) -> bool
Returns whether a
Displayable using this CustomDisplay will
automatically handle width, fill and alignment. Read moreSource§fn default_alignment(&self) -> Alignment
fn default_alignment(&self) -> Alignment
Source§fn display<'multi>(
&'multi self,
value: &'multi Self::Value,
) -> BorrowedDisplayable<'multi, Self>
fn display<'multi>( &'multi self, value: &'multi Self::Value, ) -> BorrowedDisplayable<'multi, Self>
Source§fn into_display(self, value: &Self::Value) -> OwnedDisplayable<'_, Self>where
Self: Sized,
fn into_display(self, value: &Self::Value) -> OwnedDisplayable<'_, Self>where
Self: Sized,
Source§impl<T> Debug for DefaultNonNumeric<T>
impl<T> Debug for DefaultNonNumeric<T>
Source§impl<T> Display for DefaultNonNumeric<T>
impl<T> Display for DefaultNonNumeric<T>
Source§impl<T> Hash for DefaultNonNumeric<T>
impl<T> Hash for DefaultNonNumeric<T>
Source§impl<T> PartialEq for DefaultNonNumeric<T>
impl<T> PartialEq for DefaultNonNumeric<T>
impl<T> Copy for DefaultNonNumeric<T>
impl<T> Eq for DefaultNonNumeric<T>
impl<T> StructuralPartialEq for DefaultNonNumeric<T>
Auto Trait Implementations§
impl<T> Freeze for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> RefUnwindSafe for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> Send for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> Sync for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> Unpin for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> UnsafeUnpin for DefaultNonNumeric<T>where
T: ?Sized,
impl<T> UnwindSafe for DefaultNonNumeric<T>where
T: ?Sized,
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