pub struct MovingPlatformApplyVelocityOnLeave(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl MovingPlatformApplyVelocityOnLeave
impl MovingPlatformApplyVelocityOnLeave
pub const ALWAYS: MovingPlatformApplyVelocityOnLeave = _
pub const UPWARD_ONLY: MovingPlatformApplyVelocityOnLeave = _
pub const NEVER: MovingPlatformApplyVelocityOnLeave = _
Trait Implementations§
source§impl Clone for MovingPlatformApplyVelocityOnLeave
impl Clone for MovingPlatformApplyVelocityOnLeave
source§fn clone(&self) -> MovingPlatformApplyVelocityOnLeave
fn clone(&self) -> MovingPlatformApplyVelocityOnLeave
Returns a copy 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 From<MovingPlatformApplyVelocityOnLeave> for i64
impl From<MovingPlatformApplyVelocityOnLeave> for i64
source§fn from(v: MovingPlatformApplyVelocityOnLeave) -> Self
fn from(v: MovingPlatformApplyVelocityOnLeave) -> Self
Converts to this type from the input type.
source§impl From<i64> for MovingPlatformApplyVelocityOnLeave
impl From<i64> for MovingPlatformApplyVelocityOnLeave
source§impl FromVariant for MovingPlatformApplyVelocityOnLeave
impl FromVariant for MovingPlatformApplyVelocityOnLeave
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Ord for MovingPlatformApplyVelocityOnLeave
impl Ord for MovingPlatformApplyVelocityOnLeave
source§fn cmp(&self, other: &MovingPlatformApplyVelocityOnLeave) -> Ordering
fn cmp(&self, other: &MovingPlatformApplyVelocityOnLeave) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MovingPlatformApplyVelocityOnLeave> for MovingPlatformApplyVelocityOnLeave
impl PartialEq<MovingPlatformApplyVelocityOnLeave> for MovingPlatformApplyVelocityOnLeave
source§fn eq(&self, other: &MovingPlatformApplyVelocityOnLeave) -> bool
fn eq(&self, other: &MovingPlatformApplyVelocityOnLeave) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MovingPlatformApplyVelocityOnLeave> for MovingPlatformApplyVelocityOnLeave
impl PartialOrd<MovingPlatformApplyVelocityOnLeave> for MovingPlatformApplyVelocityOnLeave
source§fn partial_cmp(
&self,
other: &MovingPlatformApplyVelocityOnLeave
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &MovingPlatformApplyVelocityOnLeave
) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MovingPlatformApplyVelocityOnLeave
impl Eq for MovingPlatformApplyVelocityOnLeave
impl StructuralEq for MovingPlatformApplyVelocityOnLeave
impl StructuralPartialEq for MovingPlatformApplyVelocityOnLeave
Auto Trait Implementations§
impl RefUnwindSafe for MovingPlatformApplyVelocityOnLeave
impl Send for MovingPlatformApplyVelocityOnLeave
impl Sync for MovingPlatformApplyVelocityOnLeave
impl Unpin for MovingPlatformApplyVelocityOnLeave
impl UnwindSafe for MovingPlatformApplyVelocityOnLeave
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.