Struct capnp::Word [] [src]

#[repr(C)]
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.

Methods

impl Word
[src]

[src]

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

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Word
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Word
[src]

impl Debug for Word
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Word
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Word
[src]