pub enum ForceID {
Other,
Friendly,
Opposing,
Neutral,
}
Expand description
Enum to represent the Force the entity is part of during the simulation.
Variants
Other
Friendly
Opposing
Neutral
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ForceID
impl<'de> Deserialize<'de> for ForceID
sourcefn 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 RefUnwindSafe for ForceID
impl Send for ForceID
impl Sync for ForceID
impl Unpin for ForceID
impl UnwindSafe for ForceID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more