pub struct VoidState(/* private fields */);Expand description
Struct using for storing Void (i.e. absent) state
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VoidState
impl<'de> Deserialize<'de> for VoidState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VoidState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VoidState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ExposedState for VoidState
impl ExposedState for VoidState
fn state_type(&self) -> StateType
fn state_data(&self) -> RevealedState
Source§impl From<VoidState> for AllocatedState
impl From<VoidState> for AllocatedState
Source§fn from(v: VoidState) -> AllocatedState
fn from(v: VoidState) -> AllocatedState
Converts to this type from the input type.
Source§impl KnownState for VoidState
impl KnownState for VoidState
const IS_FUNGIBLE: bool = false
Source§impl Ord for VoidState
impl Ord for VoidState
Source§impl PartialOrd for VoidState
impl PartialOrd for VoidState
Source§impl Serialize for VoidState
impl Serialize for VoidState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for VoidState
impl StrictDecode for VoidState
fn strict_decode(reader: &mut impl TypedRead) -> Result<VoidState, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictEncode for VoidState
impl StrictEncode for VoidState
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictTuple for VoidState
impl StrictTuple for VoidState
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for VoidState
impl StrictType for VoidState
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
impl Copy for VoidState
impl DefaultBasedStrictDumb for VoidState
impl Eq for VoidState
impl StrictProduct for VoidState
impl StructuralPartialEq for VoidState
Auto Trait Implementations§
impl Freeze for VoidState
impl RefUnwindSafe for VoidState
impl Send for VoidState
impl Sync for VoidState
impl Unpin for VoidState
impl UnwindSafe for VoidState
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.