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

pub trait PrimitiveElement {
    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; }

Required methods

fn get(list_reader: &ListReader<'_>, index: ElementCount32) -> Self[src]

fn get_from_builder(
    list_builder: &ListBuilder<'_>,
    index: ElementCount32
) -> Self
[src]

fn set(list_builder: &ListBuilder<'_>, index: ElementCount32, value: Self)[src]

fn element_size() -> ElementSize[src]

Loading content...

Implementations on Foreign Types

impl PrimitiveElement for bool[src]

impl PrimitiveElement for ()[src]

Loading content...

Implementors

impl<T: Primitive> PrimitiveElement for T[src]

Loading content...