Struct capnp::Word
[−]
[src]
pub struct Word {
// some 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
fn allocate_zeroed_vec(length: usize) -> Vec<Word>
Does this, but faster:
::std::iter::repeat(Word(0)).take(length).collect()