pub enum ForceID {
Other = 0,
Friendly = 1,
Opposing = 2,
Neutral = 3,
}
Expand description
Enum to represent the Force the entity is part of during the simulation.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForceID
impl<'de> Deserialize<'de> for ForceID
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
impl Copy for ForceID
impl StructuralPartialEq for ForceID
Auto Trait Implementations§
impl Freeze for ForceID
impl RefUnwindSafe for ForceID
impl Send for ForceID
impl Sync for ForceID
impl Unpin for ForceID
impl UnwindSafe for ForceID
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