pub struct StrWithWidth<'a> { /* private fields */ }
Expand description
StrWithWidth is a structure is responsible for a string and it’s width.
Implementations§
Source§impl<'a> StrWithWidth<'a>
impl<'a> StrWithWidth<'a>
Trait Implementations§
Source§impl<'a> Clone for StrWithWidth<'a>
impl<'a> Clone for StrWithWidth<'a>
Source§fn clone(&self) -> StrWithWidth<'a>
fn clone(&self) -> StrWithWidth<'a>
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<'a> Debug for StrWithWidth<'a>
impl<'a> Debug for StrWithWidth<'a>
Source§impl<'a> Default for StrWithWidth<'a>
impl<'a> Default for StrWithWidth<'a>
Source§fn default() -> StrWithWidth<'a>
fn default() -> StrWithWidth<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for StrWithWidth<'a>
impl<'a> Hash for StrWithWidth<'a>
Source§impl<'a> Ord for StrWithWidth<'a>
impl<'a> Ord for StrWithWidth<'a>
Source§fn cmp(&self, other: &StrWithWidth<'a>) -> Ordering
fn cmp(&self, other: &StrWithWidth<'a>) -> 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<'a> PartialEq for StrWithWidth<'a>
impl<'a> PartialEq for StrWithWidth<'a>
Source§impl<'a> PartialOrd for StrWithWidth<'a>
impl<'a> PartialOrd for StrWithWidth<'a>
impl<'a> Eq for StrWithWidth<'a>
impl<'a> StructuralPartialEq for StrWithWidth<'a>
Auto Trait Implementations§
impl<'a> Freeze for StrWithWidth<'a>
impl<'a> RefUnwindSafe for StrWithWidth<'a>
impl<'a> Send for StrWithWidth<'a>
impl<'a> Sync for StrWithWidth<'a>
impl<'a> Unpin for StrWithWidth<'a>
impl<'a> UnwindSafe for StrWithWidth<'a>
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