Trait capnp::private::layout::PrimitiveElement [−][src]
Required methods
fn get(list_reader: &ListReader<'_>, index: ElementCount32) -> Self
[src]
fn get_from_builder(
list_builder: &ListBuilder<'_>,
index: ElementCount32
) -> Self
[src]
list_builder: &ListBuilder<'_>,
index: ElementCount32
) -> Self
fn set(list_builder: &ListBuilder<'_>, index: ElementCount32, value: Self)
[src]
fn element_size() -> ElementSize
[src]
Implementations on Foreign Types
impl PrimitiveElement for bool
[src]
fn get(list: &ListReader<'_>, index: ElementCount32) -> bool
[src]
fn get_from_builder(list: &ListBuilder<'_>, index: ElementCount32) -> bool
[src]
fn set(list: &ListBuilder<'_>, index: ElementCount32, value: bool)
[src]
fn element_size() -> ElementSize
[src]
impl PrimitiveElement for ()
[src]
fn get(_list: &ListReader<'_>, _index: ElementCount32)
[src]
fn get_from_builder(_list: &ListBuilder<'_>, _index: ElementCount32)
[src]
fn set(_list: &ListBuilder<'_>, _index: ElementCount32, _value: ())
[src]
fn element_size() -> ElementSize
[src]
Implementors
impl<T: Primitive> PrimitiveElement for T
[src]
fn get(list_reader: &ListReader<'_>, index: ElementCount32) -> Self
[src]
fn get_from_builder(
list_builder: &ListBuilder<'_>,
index: ElementCount32
) -> Self
[src]
list_builder: &ListBuilder<'_>,
index: ElementCount32
) -> Self