pub struct Bitmask(pub u64);
Tuple Fields§
§0: u64
Implementations§
Methods from Deref<Target = u64>§
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<Bitmask> for Bitmask
impl PartialEq<Bitmask> 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 StructuralEq 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> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
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 Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.