Enum tfm::format::WidthIndex
source · pub enum WidthIndex {
Invalid,
Valid(NonZeroU8),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for WidthIndex
impl Clone for WidthIndex
source§fn clone(&self) -> WidthIndex
fn clone(&self) -> WidthIndex
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 moresource§impl Debug for WidthIndex
impl Debug for WidthIndex
source§impl PartialEq<WidthIndex> for WidthIndex
impl PartialEq<WidthIndex> for WidthIndex
source§fn eq(&self, other: &WidthIndex) -> bool
fn eq(&self, other: &WidthIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WidthIndex
impl Eq for WidthIndex
impl StructuralEq for WidthIndex
impl StructuralPartialEq for WidthIndex
Auto Trait Implementations§
impl RefUnwindSafe for WidthIndex
impl Send for WidthIndex
impl Sync for WidthIndex
impl Unpin for WidthIndex
impl UnwindSafe for WidthIndex
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