pub struct EncodedMeshInfo {
pub encoding_method: i32,
pub num_encoded_faces: usize,
pub num_encoded_points: usize,
pub attributes: Vec<EncodedAttributeInfo>,
}Available on crate feature
encoder only.Expand description
Geometry shape and attribute metadata produced by a successful mesh encode.
Fields§
§encoding_method: i32Numeric Draco mesh encoding method used for the output.
num_encoded_faces: usizeNumber of faces encoded into the bitstream.
num_encoded_points: usizeNumber of points encoded into the bitstream.
attributes: Vec<EncodedAttributeInfo>Per-attribute information captured during encoding.
Trait Implementations§
Source§impl Clone for EncodedMeshInfo
impl Clone for EncodedMeshInfo
Source§fn clone(&self) -> EncodedMeshInfo
fn clone(&self) -> EncodedMeshInfo
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 moreSource§impl Debug for EncodedMeshInfo
impl Debug for EncodedMeshInfo
Source§impl PartialEq for EncodedMeshInfo
impl PartialEq for EncodedMeshInfo
Source§fn eq(&self, other: &EncodedMeshInfo) -> bool
fn eq(&self, other: &EncodedMeshInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncodedMeshInfo
Auto Trait Implementations§
impl Freeze for EncodedMeshInfo
impl RefUnwindSafe for EncodedMeshInfo
impl Send for EncodedMeshInfo
impl Sync for EncodedMeshInfo
impl Unpin for EncodedMeshInfo
impl UnsafeUnpin for EncodedMeshInfo
impl UnwindSafe for EncodedMeshInfo
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