Enum capnp::private::layout::ElementSize   
source · #[repr(u8)]pub enum ElementSize {
    Void,
    Bit,
    Byte,
    TwoBytes,
    FourBytes,
    EightBytes,
    Pointer,
    InlineComposite,
}Variants§
Trait Implementations§
source§impl Clone for ElementSize
 
impl Clone for ElementSize
source§fn clone(&self) -> ElementSize
 
fn clone(&self) -> ElementSize
Returns a copy 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 ElementSize
 
impl Debug for ElementSize
source§impl PartialEq<ElementSize> for ElementSize
 
impl PartialEq<ElementSize> for ElementSize
source§fn eq(&self, other: &ElementSize) -> bool
 
fn eq(&self, other: &ElementSize) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for ElementSize
impl StructuralPartialEq for ElementSize
Auto Trait Implementations§
impl RefUnwindSafe for ElementSize
impl Send for ElementSize
impl Sync for ElementSize
impl Unpin for ElementSize
impl UnwindSafe for ElementSize
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