pub struct AttributeMetadata { /* private fields */ }Expand description
Metadata associated with one geometry attribute unique id.
Implementations§
Source§impl AttributeMetadata
impl AttributeMetadata
Sourcepub fn new(attribute_unique_id: u32, metadata: Metadata) -> Self
pub fn new(attribute_unique_id: u32, metadata: Metadata) -> Self
Creates metadata for one attribute unique id.
Sourcepub fn attribute_unique_id(&self) -> u32
pub fn attribute_unique_id(&self) -> u32
Returns the Draco attribute unique id.
Sourcepub fn metadata_mut(&mut self) -> &mut Metadata
pub fn metadata_mut(&mut self) -> &mut Metadata
Returns the mutable metadata payload.
Trait Implementations§
Source§impl Clone for AttributeMetadata
impl Clone for AttributeMetadata
Source§fn clone(&self) -> AttributeMetadata
fn clone(&self) -> AttributeMetadata
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 AttributeMetadata
impl Debug for AttributeMetadata
impl Eq for AttributeMetadata
Source§impl PartialEq for AttributeMetadata
impl PartialEq for AttributeMetadata
Source§fn eq(&self, other: &AttributeMetadata) -> bool
fn eq(&self, other: &AttributeMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributeMetadata
Auto Trait Implementations§
impl Freeze for AttributeMetadata
impl RefUnwindSafe for AttributeMetadata
impl Send for AttributeMetadata
impl Sync for AttributeMetadata
impl Unpin for AttributeMetadata
impl UnsafeUnpin for AttributeMetadata
impl UnwindSafe for AttributeMetadata
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