[][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]

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]

impl PrimitiveElement for u16[src]

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]

impl PrimitiveElement for u32[src]

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]

impl PrimitiveElement for u64[src]

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]

impl PrimitiveElement for i8[src]

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]

impl PrimitiveElement for i16[src]

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]

impl PrimitiveElement for i32[src]

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]

impl PrimitiveElement for i64[src]

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]

impl PrimitiveElement for f32[src]

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]

impl PrimitiveElement for f64[src]

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]

impl PrimitiveElement for bool[src]

impl PrimitiveElement for ()[src]

fn element_size() -> ElementSize[src]

Loading content...

Implementors

Loading content...