[][src]Trait capnp::private::endian::Endian

pub trait Endian: Sized {
    fn get(&self) -> Self;
fn set(&mut self, value: Self); }

Something that can appear in a WireValue.

Required Methods

Reads the value, swapping bytes on big-endian processors.

Writes the value, swapping bytes on big-endian processors.

Implementations on Foreign Types

impl Endian for ()
[src]

impl Endian for bool
[src]

impl Endian for u8
[src]

impl Endian for i8
[src]

impl Endian for u16
[src]

impl Endian for i16
[src]

impl Endian for u32
[src]

impl Endian for i32
[src]

impl Endian for u64
[src]

impl Endian for i64
[src]

impl Endian for f32
[src]

impl Endian for f64
[src]

Implementors