#[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 · 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 SpectateType
impl Debug for SpectateType
Source§impl PartialEq for SpectateType
impl PartialEq for SpectateType
impl Copy for SpectateType
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 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