pub struct AttributeCount {
pub solid_vertices: usize,
pub solids: usize,
pub gradient_vertices: usize,
pub gradients: usize,
pub indices: usize,
}Expand description
The result of counting the attributes of a set of meshes.
Fields§
§solid_vertices: usizeThe total amount of solid vertices.
solids: usizeThe total amount of solid meshes.
gradient_vertices: usizeThe total amount of gradient vertices.
gradients: usizeThe total amount of gradient meshes.
indices: usizeThe total amount of indices.
Trait Implementations§
Source§impl Clone for AttributeCount
impl Clone for AttributeCount
Source§fn clone(&self) -> AttributeCount
fn clone(&self) -> AttributeCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeCount
impl Debug for AttributeCount
Source§impl Default for AttributeCount
impl Default for AttributeCount
Source§fn default() -> AttributeCount
fn default() -> AttributeCount
Returns the “default value” for a type. Read more
impl Copy for AttributeCount
Auto Trait Implementations§
impl Freeze for AttributeCount
impl RefUnwindSafe for AttributeCount
impl Send for AttributeCount
impl Sync for AttributeCount
impl Unpin for AttributeCount
impl UnwindSafe for AttributeCount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().