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 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 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 for BitmaskMode
impl PartialEq for BitmaskMode
Source§impl PartialOrd for BitmaskMode
impl PartialOrd for BitmaskMode
impl Copy for BitmaskMode
impl Eq for BitmaskMode
impl StructuralPartialEq for BitmaskMode
Auto Trait Implementations§
impl Freeze for BitmaskMode
impl RefUnwindSafe for BitmaskMode
impl Send for BitmaskMode
impl Sync for BitmaskMode
impl Unpin for BitmaskMode
impl UnwindSafe for BitmaskMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.