pub struct CoverageStatistics {
pub coverage: [f32; 3],
pub extent: f32,
}Expand description
Result of meshopt_analyzeCoverage.
Fields§
§coverage: [f32; 3]Covered viewport fraction along X, Y and Z.
extent: f32Largest axis extent in mesh coordinates.
Trait Implementations§
Source§impl Clone for CoverageStatistics
impl Clone for CoverageStatistics
impl Copy for CoverageStatistics
Source§impl Debug for CoverageStatistics
impl Debug for CoverageStatistics
Source§impl Default for CoverageStatistics
impl Default for CoverageStatistics
Source§impl PartialEq for CoverageStatistics
impl PartialEq for CoverageStatistics
impl StructuralPartialEq for CoverageStatistics
Auto Trait Implementations§
impl Forget for CoverageStatistics
impl Freeze for CoverageStatistics
impl RefUnwindSafe for CoverageStatistics
impl Send for CoverageStatistics
impl Sync for CoverageStatistics
impl Unpin for CoverageStatistics
impl UnsafeUnpin for CoverageStatistics
impl UnwindSafe for CoverageStatistics
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