gausplat_loader::function::encode

Trait Encoder

source
pub trait Encoder: Sized {
    type Err;

    // Required method
    fn encode(&self, writer: &mut impl Write) -> Result<(), Self::Err>;
}
Expand description

Encoding function.

Required Associated Types§

source

type Err

Error type.

Required Methods§

source

fn encode(&self, writer: &mut impl Write) -> Result<(), Self::Err>

Encode bytes to the writer.

Object Safety§

This trait is not object safe.

Implementors§