[][src]Trait capnp::private::layout::PrimitiveElement

pub trait PrimitiveElement: Endian {
    fn get(list_reader: &ListReader, index: ElementCount32) -> Self { ... }
fn get_from_builder(
        list_builder: &ListBuilder,
        index: ElementCount32
    ) -> Self { ... }
fn set(list_builder: &ListBuilder, index: ElementCount32, value: Self) { ... }
fn element_size() -> ElementSize { ... } }

Provided methods

fn get(list_reader: &ListReader, index: ElementCount32) -> Self

fn get_from_builder(list_builder: &ListBuilder, index: ElementCount32) -> Self

fn set(list_builder: &ListBuilder, index: ElementCount32, value: Self)

fn element_size() -> ElementSize

Loading content...

Implementations on Foreign Types

impl PrimitiveElement for u8[src]

impl PrimitiveElement for u16[src]

impl PrimitiveElement for u32[src]

impl PrimitiveElement for u64[src]

impl PrimitiveElement for i8[src]

impl PrimitiveElement for i16[src]

impl PrimitiveElement for i32[src]

impl PrimitiveElement for i64[src]

impl PrimitiveElement for f32[src]

impl PrimitiveElement for f64[src]

impl PrimitiveElement for bool[src]

impl PrimitiveElement for ()[src]

Loading content...

Implementors

Loading content...