#[repr(C)]struct InlineVariant {
payload: StackString<CAPACITY>,
pad: Padding<INLINE_PAD_SIZE>,
tag: Tag,
}Fields§
§payload: StackString<CAPACITY>§pad: Padding<INLINE_PAD_SIZE>§tag: TagImplementations§
Source§impl InlineVariant
impl InlineVariant
const fn new(payload: StackString<CAPACITY>) -> Self
Trait Implementations§
Source§impl Clone for InlineVariant
impl Clone for InlineVariant
Source§fn clone(&self) -> InlineVariant
fn clone(&self) -> InlineVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineVariant
impl Debug for InlineVariant
impl Copy for InlineVariant
Auto Trait Implementations§
impl Freeze for InlineVariant
impl RefUnwindSafe for InlineVariant
impl Send for InlineVariant
impl Sync for InlineVariant
impl Unpin for InlineVariant
impl UnwindSafe for InlineVariant
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