Struct gdnative_bindings::base_button::ActionMode
source · pub struct ActionMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl ActionMode
impl ActionMode
pub const PRESS: ActionMode = _
pub const RELEASE: ActionMode = _
Trait Implementations§
source§impl Clone for ActionMode
impl Clone for ActionMode
source§fn clone(&self) -> ActionMode
fn clone(&self) -> ActionMode
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 Debug for ActionMode
impl Debug for ActionMode
source§impl From<ActionMode> for i64
impl From<ActionMode> for i64
source§fn from(v: ActionMode) -> Self
fn from(v: ActionMode) -> Self
Converts to this type from the input type.
source§impl From<i64> for ActionMode
impl From<i64> for ActionMode
source§impl FromVariant for ActionMode
impl FromVariant for ActionMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for ActionMode
impl Hash for ActionMode
source§impl Ord for ActionMode
impl Ord for ActionMode
source§fn cmp(&self, other: &ActionMode) -> Ordering
fn cmp(&self, other: &ActionMode) -> 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<ActionMode> for ActionMode
impl PartialEq<ActionMode> for ActionMode
source§fn eq(&self, other: &ActionMode) -> bool
fn eq(&self, other: &ActionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ActionMode> for ActionMode
impl PartialOrd<ActionMode> for ActionMode
source§fn partial_cmp(&self, other: &ActionMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ActionMode) -> 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 ActionMode
impl Eq for ActionMode
impl StructuralEq for ActionMode
impl StructuralPartialEq for ActionMode
Auto Trait Implementations§
impl RefUnwindSafe for ActionMode
impl Send for ActionMode
impl Sync for ActionMode
impl Unpin for ActionMode
impl UnwindSafe for ActionMode
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.