#[repr(u32)]pub enum TimestepMode {
Free = 0,
Fixed = 1,
}Variants§
Trait Implementations§
Source§impl CheckedBitPattern for TimestepMode
impl CheckedBitPattern for TimestepMode
Source§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: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl Clone for TimestepMode
impl Clone for TimestepMode
Source§fn clone(&self) -> TimestepMode
fn clone(&self) -> TimestepMode
Returns a duplicate 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 TimestepMode
impl Debug for TimestepMode
Source§impl From<TimestepMode> for u32
impl From<TimestepMode> for u32
Source§fn from(enum_value: TimestepMode) -> Self
fn from(enum_value: TimestepMode) -> Self
Converts to this type from the input type.
Source§impl Hash for TimestepMode
impl Hash for TimestepMode
Source§impl PartialEq for TimestepMode
impl PartialEq for TimestepMode
Source§impl TryFrom<u32> for TimestepMode
impl TryFrom<u32> for TimestepMode
Source§type Error = TryFromPrimitiveError<TimestepMode>
type Error = TryFromPrimitiveError<TimestepMode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TimestepMode
impl TryFromPrimitive for TimestepMode
impl Copy for TimestepMode
impl Eq for TimestepMode
impl NoUninit for TimestepMode
impl StructuralPartialEq for TimestepMode
Auto Trait Implementations§
impl Freeze for TimestepMode
impl RefUnwindSafe for TimestepMode
impl Send for TimestepMode
impl Sync for TimestepMode
impl Unpin for TimestepMode
impl UnwindSafe for TimestepMode
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