[−][src]Struct obj::raw::object::RawObj
Low-level Rust binding for .obj format.
Fields
name: Option<String>Name of the object.
material_libraries: Vec<String>.mtl files which required by this object.
positions: Vec<(f32, f32, f32, f32)>Position vectors of each vertex.
tex_coords: Vec<(f32, f32, f32)>Texture coordinates of each vertex.
normals: Vec<(f32, f32, f32)>Normal vectors of each vertex.
param_vertices: Vec<(f32, f32, f32)>Parametric vertices.
points: Vec<Point>Points which stores the index data of position vectors.
lines: Vec<Line>Lines which store the index data of vectors.
polygons: Vec<Polygon>Polygons which store the index data of vectors.
groups: HashMap<String, Group>Groups of multiple geometries.
meshes: HashMap<String, Group>Geometries which consist in a same material.
smoothing_groups: VecMap<Group>Smoothing groups.
merging_groups: VecMap<Group>Merging groups.
Auto Trait Implementations
impl RefUnwindSafe for RawObj
impl Send for RawObj
impl Sync for RawObj
impl Unpin for RawObj
impl UnwindSafe for RawObj
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,