gausplat_trainer::dataset::sparse_view::colmap::image

Trait Decoder

source
pub trait Decoder: Sized {
    type Err;

    // Required method
    fn decode(reader: &mut impl Read) -> Result<Self, Self::Err>;
}
Expand description

Decoding function.

Required Associated Types§

source

type Err

Error during decoding.

Required Methods§

source

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

Decoding from the reader.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Decoder for Vec<Point>

source§

type Err = Error

source§

fn decode( reader: &mut impl Read, ) -> Result<Vec<Point>, <Vec<Point> as Decoder>::Err>

Implementors§