pub enum ChangeCrewRoleEventRole {
Idle,
FireCon,
FighterCon,
OnFoot,
Helm,
}
Expand description
The new role the current player has changed to.
Variants§
Idle
The player has gone idle.
FireCon
The player has changed to fire controls.
FighterCon
The player has changed to ship launched fighter controls.
OnFoot
The player has exited the ship and is currently on-foot.
Helm
The player has taken control of the helm.
Trait Implementations§
Source§impl Clone for ChangeCrewRoleEventRole
impl Clone for ChangeCrewRoleEventRole
Source§fn clone(&self) -> ChangeCrewRoleEventRole
fn clone(&self) -> ChangeCrewRoleEventRole
Returns a copy 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 ChangeCrewRoleEventRole
impl Debug for ChangeCrewRoleEventRole
Source§impl<'de> Deserialize<'de> for ChangeCrewRoleEventRole
impl<'de> Deserialize<'de> for ChangeCrewRoleEventRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChangeCrewRoleEventRole
impl PartialEq for ChangeCrewRoleEventRole
Source§impl Serialize for ChangeCrewRoleEventRole
impl Serialize for ChangeCrewRoleEventRole
impl StructuralPartialEq for ChangeCrewRoleEventRole
Auto Trait Implementations§
impl Freeze for ChangeCrewRoleEventRole
impl RefUnwindSafe for ChangeCrewRoleEventRole
impl Send for ChangeCrewRoleEventRole
impl Sync for ChangeCrewRoleEventRole
impl Unpin for ChangeCrewRoleEventRole
impl UnwindSafe for ChangeCrewRoleEventRole
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