Enum omp_gdk::objects::ObjectAttachmentType
source · #[repr(C)]pub enum ObjectAttachmentType {
None = 0,
Vehicle = 1,
Object = 2,
Player = 3,
}Variants§
Trait Implementations§
source§impl Default for ObjectAttachmentType
impl Default for ObjectAttachmentType
source§fn default() -> ObjectAttachmentType
fn default() -> ObjectAttachmentType
Returns the “default value” for a type. Read more
source§impl PartialEq for ObjectAttachmentType
impl PartialEq for ObjectAttachmentType
source§fn eq(&self, other: &ObjectAttachmentType) -> bool
fn eq(&self, other: &ObjectAttachmentType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ObjectAttachmentType
Auto Trait Implementations§
impl Freeze for ObjectAttachmentType
impl RefUnwindSafe for ObjectAttachmentType
impl Send for ObjectAttachmentType
impl Sync for ObjectAttachmentType
impl Unpin for ObjectAttachmentType
impl UnwindSafe for ObjectAttachmentType
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