pub struct ByteLit<B: Buffer> { /* private fields */ }
Expand description
A (single) byte literal, e.g. b'k'
or b'!'
.
See the reference for more information.
Implementations§
Trait Implementations§
impl<B: Copy + Buffer> Copy for ByteLit<B>
impl<B: Eq + Buffer> Eq for ByteLit<B>
impl<B: Buffer> StructuralPartialEq for ByteLit<B>
Auto Trait Implementations§
impl<B> Freeze for ByteLit<B>where
B: Freeze,
impl<B> RefUnwindSafe for ByteLit<B>where
B: RefUnwindSafe,
impl<B> Send for ByteLit<B>where
B: Send,
impl<B> Sync for ByteLit<B>where
B: Sync,
impl<B> Unpin for ByteLit<B>where
B: Unpin,
impl<B> UnwindSafe for ByteLit<B>where
B: 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