Enum capnp::private::layout::ElementSize
source · #[repr(u8)]
pub enum ElementSize {
Void,
Bit,
Byte,
TwoBytes,
FourBytes,
EightBytes,
Pointer,
InlineComposite,
}
Variants
Void
Bit
Byte
TwoBytes
FourBytes
EightBytes
Pointer
InlineComposite
Trait Implementations
sourceimpl Clone for ElementSize
impl Clone for ElementSize
sourcefn clone(&self) -> ElementSize
fn clone(&self) -> ElementSize
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ElementSize
impl Debug for ElementSize
sourceimpl PartialEq<ElementSize> for ElementSize
impl PartialEq<ElementSize> for ElementSize
sourcefn eq(&self, other: &ElementSize) -> bool
fn eq(&self, other: &ElementSize) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more