Struct dot_vox::ShapeModel
source · [−]Expand description
A model reference in a shape node.
Fields
model_id: u32ID of the model.
attributes: DictAttributes of the model in this shape node.
Implementations
sourceimpl ShapeModel
impl ShapeModel
sourcepub fn frame_index(&self) -> Option<u32>
pub fn frame_index(&self) -> Option<u32>
The keyframe index that this model is assigned to for the Shape node.
Trait Implementations
sourceimpl Clone for ShapeModel
impl Clone for ShapeModel
sourcefn clone(&self) -> ShapeModel
fn clone(&self) -> ShapeModel
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ShapeModel
impl Debug for ShapeModel
sourceimpl PartialEq<ShapeModel> for ShapeModel
impl PartialEq<ShapeModel> for ShapeModel
sourcefn eq(&self, other: &ShapeModel) -> bool
fn eq(&self, other: &ShapeModel) -> bool
impl Eq for ShapeModel
impl StructuralEq for ShapeModel
impl StructuralPartialEq for ShapeModel
Auto Trait Implementations
impl RefUnwindSafe for ShapeModel
impl Send for ShapeModel
impl Sync for ShapeModel
impl Unpin for ShapeModel
impl UnwindSafe for ShapeModel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more