Struct capnp::Word [] [src]

pub struct Word { /* fields omitted */ }

Eight bytes of memory with opaque interior. Use capnp_word!() to construct one of these.

This type is used to ensure that the data of a message is properly aligned.


impl Word

Does this, but faster: ::std::iter::repeat(Word(0)).take(length).collect()

Trait Implementations

impl Clone for Word

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Word

impl Debug for Word

Formats the value using the given formatter.

impl PartialEq for Word

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Word