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

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

Required methods

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

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

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

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