Struct fere_resources::mesh::MeshData [−][src]
pub struct MeshData { pub name: String, pub pos: Vec<Vec3>, pub normal: Vec<Vec3>, pub uv: Vec<Vec2>, pub tan: Vec<Vec3>, pub minmax: Option<(Vec3, Vec3)>, }
Fields
name: String
pos: Vec<Vec3>
normal: Vec<Vec3>
uv: Vec<Vec2>
tan: Vec<Vec3>
minmax: Option<(Vec3, Vec3)>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MeshData
impl UnwindSafe for MeshData
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.