pub enum EncodingMethod {
Auto,
Sequential,
Edgebreaker,
}Available on crate feature
gltf-writer only.Expand description
Draco mesh encoding method selection.
Variants§
Auto
Let the encoder choose based on the geometry and speed settings.
Sequential
Force the sequential mesh encoder.
Edgebreaker
Force the EdgeBreaker mesh encoder.
Trait Implementations§
Source§impl Clone for EncodingMethod
impl Clone for EncodingMethod
Source§fn clone(&self) -> EncodingMethod
fn clone(&self) -> EncodingMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EncodingMethod
Source§impl Debug for EncodingMethod
impl Debug for EncodingMethod
Source§impl Default for EncodingMethod
impl Default for EncodingMethod
Source§fn default() -> EncodingMethod
fn default() -> EncodingMethod
Returns the “default value” for a type. Read more
impl Eq for EncodingMethod
Source§impl PartialEq for EncodingMethod
impl PartialEq for EncodingMethod
impl StructuralPartialEq for EncodingMethod
Auto Trait Implementations§
impl Freeze for EncodingMethod
impl RefUnwindSafe for EncodingMethod
impl Send for EncodingMethod
impl Sync for EncodingMethod
impl Unpin for EncodingMethod
impl UnsafeUnpin for EncodingMethod
impl UnwindSafe for EncodingMethod
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