pub struct MemGlobalState { /* private fields */ }Implementations§
Source§impl MemGlobalState
impl MemGlobalState
Sourcepub fn known(
&self,
) -> &Confined<BTreeMap<GlobalOut, RevealedData>, amplify::::collection::confinement::LargeOrdMap::{constant#0}, amplify::::collection::confinement::LargeOrdMap::{constant#1}>
pub fn known( &self, ) -> &Confined<BTreeMap<GlobalOut, RevealedData>, amplify::::collection::confinement::LargeOrdMap::{constant#0}, amplify::::collection::confinement::LargeOrdMap::{constant#1}>
Method borrowing MemGlobalState::known field.
Sourcepub fn limit(&self) -> &u24
pub fn limit(&self) -> &u24
Method borrowing MemGlobalState::limit field.
Source§impl MemGlobalState
impl MemGlobalState
pub fn new(limit: u24) -> MemGlobalState
Trait Implementations§
Source§impl Clone for MemGlobalState
impl Clone for MemGlobalState
Source§fn clone(&self) -> MemGlobalState
fn clone(&self) -> MemGlobalState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemGlobalState
impl Debug for MemGlobalState
Source§impl<'de> Deserialize<'de> for MemGlobalState
impl<'de> Deserialize<'de> for MemGlobalState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemGlobalState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemGlobalState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemGlobalState
Source§impl PartialEq for MemGlobalState
impl PartialEq for MemGlobalState
Source§impl Serialize for MemGlobalState
impl Serialize for MemGlobalState
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 MemGlobalState
impl StrictDecode for MemGlobalState
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<MemGlobalState, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for MemGlobalState
impl StrictDumb for MemGlobalState
fn strict_dumb() -> MemGlobalState
Source§impl StrictEncode for MemGlobalState
impl StrictEncode for MemGlobalState
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
impl StrictProduct for MemGlobalState
Source§impl StrictStruct for MemGlobalState
impl StrictStruct for MemGlobalState
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for MemGlobalState
impl StrictType for MemGlobalState
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STORAGE
fn strict_name() -> Option<TypeName>
impl StructuralPartialEq for MemGlobalState
Auto Trait Implementations§
impl Freeze for MemGlobalState
impl RefUnwindSafe for MemGlobalState
impl Send for MemGlobalState
impl Sync for MemGlobalState
impl Unpin for MemGlobalState
impl UnsafeUnpin for MemGlobalState
impl UnwindSafe for MemGlobalState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.