#[repr(C)]pub struct ObjectAttachmentData {
pub attachment_type: ObjectAttachmentType,
pub syncRotation: bool,
pub ID: i32,
pub offset: Vector3,
pub rotation: Vector3,
}Expand description
Data information of attachment
Fields§
§attachment_type: ObjectAttachmentTypeType of attachement
syncRotation: boolthe sync rotation of the object
ID: i32ID of the object (use from_id methods to create an instance of these)
offset: Vector3Attachement offset
rotation: Vector3Attachement rotation
Trait Implementations§
Source§impl Clone for ObjectAttachmentData
impl Clone for ObjectAttachmentData
Source§fn clone(&self) -> ObjectAttachmentData
fn clone(&self) -> ObjectAttachmentData
Returns a duplicate 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 ObjectAttachmentData
impl Debug for ObjectAttachmentData
Source§impl Default for ObjectAttachmentData
impl Default for ObjectAttachmentData
Source§fn default() -> ObjectAttachmentData
fn default() -> ObjectAttachmentData
Returns the “default value” for a type. Read more
impl Copy for ObjectAttachmentData
Auto Trait Implementations§
impl Freeze for ObjectAttachmentData
impl RefUnwindSafe for ObjectAttachmentData
impl Send for ObjectAttachmentData
impl Sync for ObjectAttachmentData
impl Unpin for ObjectAttachmentData
impl UnwindSafe for ObjectAttachmentData
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