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 ==
.