pub trait ConcreteReadableShape: ConcreteShape {
    // Required method
    fn read_shape_content<T: Read>(
        source: &mut T,
        record_size: i32
    ) -> Result<Self, Error>;
}

Required Methods§

source

fn read_shape_content<T: Read>( source: &mut T, record_size: i32 ) -> Result<Self, Error>

Function that actually reads the ActualShape from the source and returns it

Object Safety§

This trait is not object safe.

Implementors§