#[repr(C)]struct SingletonVariant {
payload: &'static str,
pad: Padding<PAYLOAD_PAD_SIZE>,
tag: Tag,
}Fields§
§payload: &'static str§pad: Padding<PAYLOAD_PAD_SIZE>§tag: TagImplementations§
Trait Implementations§
Source§impl Clone for SingletonVariant
impl Clone for SingletonVariant
Source§fn clone(&self) -> SingletonVariant
fn clone(&self) -> SingletonVariant
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 SingletonVariant
impl Debug for SingletonVariant
impl Copy for SingletonVariant
Auto Trait Implementations§
impl Freeze for SingletonVariant
impl RefUnwindSafe for SingletonVariant
impl Send for SingletonVariant
impl Sync for SingletonVariant
impl Unpin for SingletonVariant
impl UnwindSafe for SingletonVariant
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