#[repr(u32)]
pub enum Space {
World,
Local,
}
Expand description
Used with add_force
/ add_force_at
.
Variants
World
Local
Trait Implementations
sourceimpl CheckedBitPattern for Space
impl CheckedBitPattern for Space
type Bits = u32
type Bits = u32
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
. Read more
sourcefn is_valid_bit_pattern(bits: &<Space as CheckedBitPattern>::Bits) -> bool
fn is_valid_bit_pattern(bits: &<Space as CheckedBitPattern>::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits
as &Self
. Read more
sourceimpl PartialEq<Space> for Space
impl PartialEq<Space> for Space
impl Copy for Space
impl Eq for Space
impl NoUninit for Space
impl StructuralEq for Space
impl StructuralPartialEq for Space
Auto Trait Implementations
impl RefUnwindSafe for Space
impl Send for Space
impl Sync for Space
impl Unpin for Space
impl UnwindSafe for Space
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