#[repr(C)]pub enum SpectateType {
None = 0,
Vehicle = 1,
Player = 2,
}Variants§
Trait Implementations§
Source§impl Clone for SpectateType
impl Clone for SpectateType
Source§fn clone(&self) -> SpectateType
fn clone(&self) -> SpectateType
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 SpectateType
Source§impl Debug for SpectateType
impl Debug for SpectateType
Source§impl PartialEq for SpectateType
impl PartialEq for SpectateType
Source§fn eq(&self, other: &SpectateType) -> bool
fn eq(&self, other: &SpectateType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpectateType
Auto Trait Implementations§
impl Freeze for SpectateType
impl RefUnwindSafe for SpectateType
impl Send for SpectateType
impl Sync for SpectateType
impl Unpin for SpectateType
impl UnsafeUnpin for SpectateType
impl UnwindSafe for SpectateType
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