pub struct ReprC;Expand description
repr(C), the fixed-layout encoding of ADR-0020 decision 1.
Trait Implementations§
impl Copy for ReprC
Source§impl Encoding for ReprC
impl Encoding for ReprC
Source§const NAME: &'static str = "repr-c"
const NAME: &'static str = "repr-c"
The encoding’s name, spelled as its cargo feature is spelled.
Source§fn max_size(sizes: &EncodedSizes) -> Option<u32>
fn max_size(sizes: &EncodedSizes) -> Option<u32>
This encoding’s field of
sizes: a payload’s largest encoded size in
this encoding, or None when the toolchain cannot size it
(EncodedSizes). Read moreimpl Eq for ReprC
impl StructuralPartialEq for ReprC
Auto Trait Implementations§
impl Freeze for ReprC
impl RefUnwindSafe for ReprC
impl Send for ReprC
impl Sync for ReprC
impl Unpin for ReprC
impl UnsafeUnpin for ReprC
impl UnwindSafe for ReprC
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