#[repr(C, packed(1))]pub struct InlineBytes<T = u16> { /* private fields */ }Implementations§
Source§impl InlineBytes<u8>
impl InlineBytes<u8>
Source§impl InlineBytes<u16>
impl InlineBytes<u16>
Source§impl InlineBytes<u32>
impl InlineBytes<u32>
Source§impl InlineBytes<u64>
impl InlineBytes<u64>
Trait Implementations§
Source§impl Debug for InlineBytes<u16>
impl Debug for InlineBytes<u16>
Source§impl Debug for InlineBytes<u32>
impl Debug for InlineBytes<u32>
Source§impl Debug for InlineBytes<u64>
impl Debug for InlineBytes<u64>
Source§impl Debug for InlineBytes<u8>
impl Debug for InlineBytes<u8>
Source§impl Debug for InlineBytes<usize>
impl Debug for InlineBytes<usize>
Source§impl Display for InlineBytes<u16>
impl Display for InlineBytes<u16>
Source§impl Display for InlineBytes<u32>
impl Display for InlineBytes<u32>
Source§impl Display for InlineBytes<u64>
impl Display for InlineBytes<u64>
Source§impl Display for InlineBytes<u8>
impl Display for InlineBytes<u8>
Auto Trait Implementations§
impl<T> Freeze for InlineBytes<T>where
T: Freeze,
impl<T> RefUnwindSafe for InlineBytes<T>where
T: RefUnwindSafe,
impl<T> Send for InlineBytes<T>where
T: Send,
impl<T> Sync for InlineBytes<T>where
T: Sync,
impl<T> Unpin for InlineBytes<T>where
T: Unpin,
impl<T> UnwindSafe for InlineBytes<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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more