#[non_exhaustive]pub enum MeshoptExtension {
Ext,
Khr,
}Expand description
Which meshopt extension compress_with writes.
Non-exhaustive: later meshopt extensions may be added.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ext
EXT_meshopt_compression: attribute codec version 0 and no COLOR filter, so every
meshopt-aware reader takes it.
Khr
KHR_meshopt_compression: attribute codec version 1, which compresses attributes
better, and the COLOR filter. Only newer readers take it.
Implementations§
Trait Implementations§
Source§impl Clone for MeshoptExtension
impl Clone for MeshoptExtension
impl Copy for MeshoptExtension
Source§impl Debug for MeshoptExtension
impl Debug for MeshoptExtension
Source§impl Default for MeshoptExtension
impl Default for MeshoptExtension
Source§impl Display for MeshoptExtension
impl Display for MeshoptExtension
impl Eq for MeshoptExtension
Source§impl Hash for MeshoptExtension
impl Hash for MeshoptExtension
Source§impl PartialEq for MeshoptExtension
impl PartialEq for MeshoptExtension
impl StructuralPartialEq for MeshoptExtension
Auto Trait Implementations§
impl Forget for MeshoptExtension
impl Freeze for MeshoptExtension
impl Move for MeshoptExtension
impl RefUnwindSafe for MeshoptExtension
impl Send for MeshoptExtension
impl Sync for MeshoptExtension
impl Unpin for MeshoptExtension
impl UnsafeUnpin for MeshoptExtension
impl UnwindSafe for MeshoptExtension
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.