gausplat_loader::function::decode

Trait DecoderWith

source
pub trait DecoderWith<T>
where Self: Sized,
{ type Err; // Required method fn decode_with(reader: &mut impl Read, init: T) -> Result<Self, Self::Err>; }
Expand description

Decoding function with an initial state.

Required Associated Types§

source

type Err

Error during decoding.

Required Methods§

source

fn decode_with(reader: &mut impl Read, init: T) -> Result<Self, Self::Err>

Decoding from the reader with the init state.

Object Safety§

This trait is not object safe.

Implementors§