LazyField

Trait LazyField 

Source
pub trait LazyField:
    Send
    + Sync
    + Clone {
    // Required method
    fn get<const I: usize>(
        index: usize,
        reader: &mut LazyFileReader<I>,
    ) -> Result<Self, ReadError>
       where Self: Sized;
}

Required Methods§

Source

fn get<const I: usize>( index: usize, reader: &mut LazyFileReader<I>, ) -> Result<Self, ReadError>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Decode<()> + Clone + Send + Sync> LazyField for T