#[repr(C)]pub struct ObjectAttachmentSlotData {
pub model: i32,
pub bone: i32,
pub offset: Vector3,
pub rotation: Vector3,
pub scale: Vector3,
pub colour1: Colour,
pub colour2: Colour,
}Expand description
ObjectAttachmentSlotData in Server/Components/Objects/objects.hpp.
Fields§
§model: i32model.
bone: i32bone.
offset: Vector3offset.
rotation: Vector3rotation.
scale: Vector3scale.
colour1: Colourcolour1.
colour2: Colourcolour2.
Trait Implementations§
Source§impl Clone for ObjectAttachmentSlotData
impl Clone for ObjectAttachmentSlotData
Source§fn clone(&self) -> ObjectAttachmentSlotData
fn clone(&self) -> ObjectAttachmentSlotData
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 moreimpl Copy for ObjectAttachmentSlotData
Source§impl Debug for ObjectAttachmentSlotData
impl Debug for ObjectAttachmentSlotData
Source§impl Default for ObjectAttachmentSlotData
impl Default for ObjectAttachmentSlotData
Source§fn default() -> ObjectAttachmentSlotData
fn default() -> ObjectAttachmentSlotData
The C++ struct’s own defaults.
Source§impl PartialEq for ObjectAttachmentSlotData
impl PartialEq for ObjectAttachmentSlotData
impl StructuralPartialEq for ObjectAttachmentSlotData
Source§impl VirtualReturn for ObjectAttachmentSlotData
impl VirtualReturn for ObjectAttachmentSlotData
Source§type Raw = ObjectAttachmentSlotData
type Raw = ObjectAttachmentSlotData
The type the foreign function is declared to return.
Source§fn from_raw(raw: ObjectAttachmentSlotData) -> ObjectAttachmentSlotData
fn from_raw(raw: ObjectAttachmentSlotData) -> ObjectAttachmentSlotData
The value the caller sees.
Auto Trait Implementations§
impl Freeze for ObjectAttachmentSlotData
impl RefUnwindSafe for ObjectAttachmentSlotData
impl Send for ObjectAttachmentSlotData
impl Sync for ObjectAttachmentSlotData
impl Unpin for ObjectAttachmentSlotData
impl UnsafeUnpin for ObjectAttachmentSlotData
impl UnwindSafe for ObjectAttachmentSlotData
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