pub enum GeometryEncoding {
Raw,
Draco(CompressionOptions),
}Expand description
Storage selected for newly written primitive geometry.
Variants§
Raw
Store geometry in ordinary tightly packed glTF accessors.
Draco(CompressionOptions)
Encode geometry with KHR_draco_mesh_compression.
Trait Implementations§
Source§impl Clone for GeometryEncoding
impl Clone for GeometryEncoding
Source§fn clone(&self) -> GeometryEncoding
fn clone(&self) -> GeometryEncoding
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 GeometryEncoding
Source§impl Debug for GeometryEncoding
impl Debug for GeometryEncoding
Source§impl Default for GeometryEncoding
impl Default for GeometryEncoding
Source§fn default() -> GeometryEncoding
fn default() -> GeometryEncoding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GeometryEncoding
impl RefUnwindSafe for GeometryEncoding
impl Send for GeometryEncoding
impl Sync for GeometryEncoding
impl Unpin for GeometryEncoding
impl UnsafeUnpin for GeometryEncoding
impl UnwindSafe for GeometryEncoding
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