#[repr(u32)]pub enum Space {
World,
Local,
}Expand description
Used with add_force / add_force_at.
Variants§
Trait Implementations§
source§impl 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.source§fn 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.source§impl 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§
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