pub struct OpacityMapMeasure {
pub levels: Vec<u8>,
pub sources: Vec<u32>,
pub omm_indices: Vec<i32>,
}Expand description
Output of upstream meshopt_opacityMapMeasure.
Fields§
§levels: Vec<u8>Subdivision level for each unique entry.
sources: Vec<u32>Source triangle for each unique entry.
omm_indices: Vec<i32>Entry index for each input triangle.
Trait Implementations§
Source§impl Clone for OpacityMapMeasure
impl Clone for OpacityMapMeasure
Source§impl Debug for OpacityMapMeasure
impl Debug for OpacityMapMeasure
Source§impl PartialEq for OpacityMapMeasure
impl PartialEq for OpacityMapMeasure
impl StructuralPartialEq for OpacityMapMeasure
Auto Trait Implementations§
impl Forget for OpacityMapMeasure
impl Freeze for OpacityMapMeasure
impl Move for OpacityMapMeasure
impl RefUnwindSafe for OpacityMapMeasure
impl Send for OpacityMapMeasure
impl Sync for OpacityMapMeasure
impl Unpin for OpacityMapMeasure
impl UnsafeUnpin for OpacityMapMeasure
impl UnwindSafe for OpacityMapMeasure
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