pub struct Bitmask(pub u64);
Tuple Fields§
§0: u64
Implementations§
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bitmask
impl<'de> Deserialize<'de> for Bitmask
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> FromValue<'a> for Bitmask
impl<'a> FromValue<'a> for Bitmask
§type Checker = GenericValueTypeChecker<Bitmask>
type Checker = GenericValueTypeChecker<Bitmask>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl PartialEq for Bitmask
impl PartialEq for Bitmask
source§impl StaticType for Bitmask
impl StaticType for Bitmask
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for Bitmask
impl Eq for Bitmask
impl StructuralPartialEq for Bitmask
Auto Trait Implementations§
impl RefUnwindSafe for Bitmask
impl Send for Bitmask
impl Sync for Bitmask
impl Unpin for Bitmask
impl UnwindSafe for Bitmask
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> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.