Trait domain::bits::compose::Composable[][src]

pub trait Composable {
    fn compose<C: AsMut<Composer>>(&self, target: C) -> ComposeResult<()>;
}

A trait allowing types to compose themselves.

Required Methods

Append the wire-format representation of self to a composer.

The method is generic over AsMut<Composer> because it may either receive a Composer or ComposeSnapshot. This means that when using target, you’ll have to call target.as_mut().

Implementations on Foreign Types

impl Composable for [u8]
[src]

impl Composable for u8
[src]

impl Composable for u16
[src]

impl Composable for u32
[src]

Implementors