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