#[repr(transparent)]pub struct OnlyOctal<T: Octal>(pub T);Expand description
Only implements the Octal formatting trait despite any other trait being implemented on T.
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for OnlyOctal<T>where
T: Freeze,
impl<T> RefUnwindSafe for OnlyOctal<T>where
T: RefUnwindSafe,
impl<T> Send for OnlyOctal<T>where
T: Send,
impl<T> Sync for OnlyOctal<T>where
T: Sync,
impl<T> Unpin for OnlyOctal<T>where
T: Unpin,
impl<T> UnsafeUnpin for OnlyOctal<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for OnlyOctal<T>where
T: UnwindSafe,
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