pub struct EmbeddedImmutable(pub StateTy);Tuple Fields§
§0: StateTyTrait Implementations§
Source§impl Clone for EmbeddedImmutable
impl Clone for EmbeddedImmutable
Source§fn clone(&self) -> EmbeddedImmutable
fn clone(&self) -> EmbeddedImmutable
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 EmbeddedImmutable
impl Debug for EmbeddedImmutable
Source§impl<'de> Deserialize<'de> for EmbeddedImmutable
impl<'de> Deserialize<'de> for EmbeddedImmutable
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 Hash for EmbeddedImmutable
impl Hash for EmbeddedImmutable
Source§impl Ord for EmbeddedImmutable
impl Ord for EmbeddedImmutable
Source§fn cmp(&self, other: &EmbeddedImmutable) -> Ordering
fn cmp(&self, other: &EmbeddedImmutable) -> 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 EmbeddedImmutable
impl PartialEq for EmbeddedImmutable
Source§impl PartialOrd for EmbeddedImmutable
impl PartialOrd for EmbeddedImmutable
Source§impl Serialize for EmbeddedImmutable
impl Serialize for EmbeddedImmutable
Source§impl StateAdaptor for EmbeddedImmutable
impl StateAdaptor for EmbeddedImmutable
fn convert_immutable( &self, sem_id: SemId, raw_sem_id: SemId, data: &StateData, sys: &TypeSystem, ) -> Option<StateAtom>
fn convert_destructible( &self, sem_id: SemId, value: StateValue, sys: &TypeSystem, ) -> Option<StrictVal>
fn build_immutable(&self, value: ConfinedBlob<0, TOTAL_BYTES>) -> StateValue
fn build_destructible(&self, value: ConfinedBlob<0, TOTAL_BYTES>) -> StateValue
fn build_state( &self, sem_id: SemId, value: StrictVal, sys: &TypeSystem, ) -> StateValue
Source§impl StrictDecode for EmbeddedImmutable
impl StrictDecode for EmbeddedImmutable
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for EmbeddedImmutable
impl StrictDumb for EmbeddedImmutable
fn strict_dumb() -> Self
Source§impl StrictEncode for EmbeddedImmutable
impl StrictEncode for EmbeddedImmutable
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictTuple for EmbeddedImmutable
impl StrictTuple for EmbeddedImmutable
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for EmbeddedImmutable
impl StrictType for EmbeddedImmutable
const STRICT_LIB_NAME: &'static str = LIB_NAME_SONIC
fn strict_name() -> Option<TypeName>
impl Copy for EmbeddedImmutable
impl Eq for EmbeddedImmutable
impl StrictProduct for EmbeddedImmutable
impl StructuralPartialEq for EmbeddedImmutable
Auto Trait Implementations§
impl Freeze for EmbeddedImmutable
impl RefUnwindSafe for EmbeddedImmutable
impl Send for EmbeddedImmutable
impl Sync for EmbeddedImmutable
impl Unpin for EmbeddedImmutable
impl UnwindSafe for EmbeddedImmutable
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.