pub trait FromRawVertex<I>: Sized {
// Required method
fn process(
vertices: Vec<(f32, f32, f32, f32)>,
normals: Vec<(f32, f32, f32)>,
tex_coords: Vec<(f32, f32, f32)>,
polygons: Vec<Polygon>,
) -> ObjResult<(Vec<Self>, Vec<I>)>;
}Expand description
Conversion from RawObj’s raw data.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".