Trait runestick::IntoComponent[][src]

pub trait IntoComponent: Sized {
    fn as_component_ref(&self) -> ComponentRef<'_>;

    fn into_component(self) -> Component { ... }
fn write_component(self, output: &mut Vec<u8>) { ... }
fn hash_component<H>(self, hasher: &mut H)
    where
        H: Hasher
, { ... } }
Expand description

Trait for encoding the current type into a component.

Required methods

Convert into a component directly.

Provided methods

Convert into component.

Write a component directly to a buffer.

Hash the current component.

Implementations on Foreign Types

Implementors