pub struct ProcessedState {
pub global: BTreeMap<VariantName, BTreeMap<CellAddr, StateAtom>>,
pub owned: BTreeMap<VariantName, BTreeMap<CellAddr, StrictVal>>,
pub aggregated: BTreeMap<VariantName, StrictVal>,
pub invalid_global: BTreeMap<CellAddr, StateData>,
pub invalid_owned: BTreeMap<CellAddr, StateValue>,
}Fields§
§global: BTreeMap<VariantName, BTreeMap<CellAddr, StateAtom>>§owned: BTreeMap<VariantName, BTreeMap<CellAddr, StrictVal>>§aggregated: BTreeMap<VariantName, StrictVal>§invalid_global: BTreeMap<CellAddr, StateData>§invalid_owned: BTreeMap<CellAddr, StateValue>Implementations§
Source§impl ProcessedState
impl ProcessedState
pub fn with(raw: &RawState, api: &Api, sys: &TypeSystem) -> ProcessedState
pub fn global( &self, name: &VariantName, ) -> Option<&BTreeMap<CellAddr, StateAtom>>
pub fn owned( &self, name: &VariantName, ) -> Option<&BTreeMap<CellAddr, StrictVal>>
Trait Implementations§
Source§impl Clone for ProcessedState
impl Clone for ProcessedState
Source§fn clone(&self) -> ProcessedState
fn clone(&self) -> ProcessedState
Returns a duplicate 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 ProcessedState
impl Debug for ProcessedState
Source§impl Default for ProcessedState
impl Default for ProcessedState
Source§fn default() -> ProcessedState
fn default() -> ProcessedState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessedState
impl<'de> Deserialize<'de> for ProcessedState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessedState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessedState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProcessedState
impl PartialEq for ProcessedState
Source§impl Serialize for ProcessedState
impl Serialize for ProcessedState
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
impl Eq for ProcessedState
impl StructuralPartialEq for ProcessedState
Auto Trait Implementations§
impl Freeze for ProcessedState
impl RefUnwindSafe for ProcessedState
impl Send for ProcessedState
impl Sync for ProcessedState
impl Unpin for ProcessedState
impl UnwindSafe for ProcessedState
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> 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.