Enum rusty_spine::AttachmentType
source · pub enum AttachmentType {
Region = 0,
BoundingBox = 1,
Mesh = 2,
LinkedMesh = 3,
Path = 4,
Point = 5,
Clipping = 6,
Unknown = 99,
}
Expand description
The type variants of an Attachment
.
Variants§
Trait Implementations§
source§impl Clone for AttachmentType
impl Clone for AttachmentType
source§fn clone(&self) -> AttachmentType
fn clone(&self) -> AttachmentType
Returns a copy of the value. Read more
1.0.0 · 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 AttachmentType
impl Debug for AttachmentType
source§impl From<u32> for AttachmentType
impl From<u32> for AttachmentType
source§fn from(attachment_type: spAttachmentType) -> Self
fn from(attachment_type: spAttachmentType) -> Self
Converts to this type from the input type.
source§impl PartialEq for AttachmentType
impl PartialEq for AttachmentType
source§fn eq(&self, other: &AttachmentType) -> bool
fn eq(&self, other: &AttachmentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttachmentType
impl Eq for AttachmentType
impl StructuralPartialEq for AttachmentType
Auto Trait Implementations§
impl Freeze for AttachmentType
impl RefUnwindSafe for AttachmentType
impl Send for AttachmentType
impl Sync for AttachmentType
impl Unpin for AttachmentType
impl UnwindSafe for AttachmentType
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