pub struct FormatBits<'a, T: MutBits + ?Sized>(pub &'a mut T);Expand description
Wraps a borrowed MutBits, providing an implementation of core::fmt::Write to permit the
use of the core::write! macro with a target of &mutMutBits
Tuple Fields§
§0: &'a mut TImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for FormatBits<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for FormatBits<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for FormatBits<'a, T>
impl<'a, T> Sync for FormatBits<'a, T>
impl<'a, T> Unpin for FormatBits<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for FormatBits<'a, T>
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