Enum rustc_std_workspace_core::num::fmt::Part
source · pub enum Part<'a> {
Zero(usize),
Num(u16),
Copy(&'a [u8]),
}
🔬This is a nightly-only experimental API. (
numfmt
)Expand description
Formatted parts.
Variants§
Zero(usize)
🔬This is a nightly-only experimental API. (
numfmt
)Given number of zero digits.
Num(u16)
🔬This is a nightly-only experimental API. (
numfmt
)A literal number up to 5 digits.
Copy(&'a [u8])
🔬This is a nightly-only experimental API. (
numfmt
)A verbatim copy of given bytes.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Part<'a>
impl<'a> Send for Part<'a>
impl<'a> Sync for Part<'a>
impl<'a> Unpin for Part<'a>
impl<'a> UnwindSafe for Part<'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