#[non_exhaustive]pub struct VisibleMeshGeneric<I: Index = u32> {
pub indices: Vec<I>,
pub report: HiddenReport,
}Expand description
Filtered mesh in original triangle order. Not in C++ meshoptimizer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.indices: Vec<I>Original indices of retained triangles; positions are unchanged.
report: HiddenReportDisjoint removal counts.
Trait Implementations§
impl<I: Eq + Index> Eq for VisibleMeshGeneric<I>
Source§impl From<VisibleMesh> for VisibleMeshGeneric<u32>
impl From<VisibleMesh> for VisibleMeshGeneric<u32>
Source§fn from(value: VisibleMesh) -> Self
fn from(value: VisibleMesh) -> Self
Converts to this type from the input type.
Source§impl From<VisibleMeshGeneric> for VisibleMesh
impl From<VisibleMeshGeneric> for VisibleMesh
Source§fn from(value: VisibleMeshGeneric<u32>) -> Self
fn from(value: VisibleMeshGeneric<u32>) -> Self
Converts to this type from the input type.
impl<I: PartialEq + Index> StructuralPartialEq for VisibleMeshGeneric<I>
Auto Trait Implementations§
impl<I> Forget for VisibleMeshGeneric<I>
impl<I> Freeze for VisibleMeshGeneric<I>
impl<I> Move for VisibleMeshGeneric<I>
impl<I> RefUnwindSafe for VisibleMeshGeneric<I>where
Vec<I>: RefUnwindSafe,
impl<I> Send for VisibleMeshGeneric<I>
impl<I> Sync for VisibleMeshGeneric<I>
impl<I> Unpin for VisibleMeshGeneric<I>
impl<I> UnsafeUnpin for VisibleMeshGeneric<I>where
Vec<I>: UnsafeUnpin,
impl<I> UnwindSafe for VisibleMeshGeneric<I>where
Vec<I>: UnwindSafe,
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