#[repr(C)]pub struct TextLabelAttachmentData {
pub player_id: i32,
pub vehicle_id: i32,
}Expand description
TextLabelAttachmentData in Server/Components/TextLabels/textlabels.hpp.
Fields§
§player_id: i32playerID.
vehicle_id: i32vehicleID.
Trait Implementations§
Source§impl Clone for TextLabelAttachmentData
impl Clone for TextLabelAttachmentData
Source§fn clone(&self) -> TextLabelAttachmentData
fn clone(&self) -> TextLabelAttachmentData
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 TextLabelAttachmentData
Source§impl Debug for TextLabelAttachmentData
impl Debug for TextLabelAttachmentData
Source§impl Default for TextLabelAttachmentData
impl Default for TextLabelAttachmentData
Source§fn default() -> TextLabelAttachmentData
fn default() -> TextLabelAttachmentData
The C++ struct’s own defaults.
Source§impl PartialEq for TextLabelAttachmentData
impl PartialEq for TextLabelAttachmentData
impl StructuralPartialEq for TextLabelAttachmentData
Source§impl VirtualReturn for TextLabelAttachmentData
impl VirtualReturn for TextLabelAttachmentData
Source§type Raw = TextLabelAttachmentData
type Raw = TextLabelAttachmentData
The type the foreign function is declared to return.
Source§fn from_raw(raw: TextLabelAttachmentData) -> TextLabelAttachmentData
fn from_raw(raw: TextLabelAttachmentData) -> TextLabelAttachmentData
The value the caller sees.
Auto Trait Implementations§
impl Freeze for TextLabelAttachmentData
impl RefUnwindSafe for TextLabelAttachmentData
impl Send for TextLabelAttachmentData
impl Sync for TextLabelAttachmentData
impl Unpin for TextLabelAttachmentData
impl UnsafeUnpin for TextLabelAttachmentData
impl UnwindSafe for TextLabelAttachmentData
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