Trait yrs::updates::encoder::Encode[][src]

pub trait Encode {
    fn encode<E: Encoder>(&self, encoder: &mut E);

    fn encode_v1(&self) -> Vec<u8> { ... }
}
Expand description

A trait that can be implemented by any other type in order to support lib0 encoding capability.

Required methods

Provided methods

Helper function for encoding 1st version of lib0 encoding.

Implementations on Foreign Types

Implementors