Struct nobject_rs::Face
source · pub struct Face {
pub elements: Vec<FaceElement>,
pub smoothing_group: i32,
}
Expand description
The primary purpose is to store the collection of elements (vertices/normals/texture coordinates) that compose a face. This also contains a smoothing group identifier, as specified by the obj file.
Fields§
§elements: Vec<FaceElement>
Collection of FaceElement
.
smoothing_group: i32
The smoothing group identifier.
Implementations§
Trait Implementations§
source§impl PartialEq for Face
impl PartialEq for Face
impl StructuralPartialEq for Face
Auto Trait Implementations§
impl Freeze for Face
impl RefUnwindSafe for Face
impl Send for Face
impl Sync for Face
impl Unpin for Face
impl UnwindSafe for Face
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more