Struct mutiny_core::nodemanager::NodeStorage
source · pub struct NodeStorage {
pub nodes: HashMap<String, NodeIndex>,
pub version: u32,
}Fields§
§nodes: HashMap<String, NodeIndex>§version: u32Trait Implementations§
source§impl Clone for NodeStorage
impl Clone for NodeStorage
source§fn clone(&self) -> NodeStorage
fn clone(&self) -> NodeStorage
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 NodeStorage
impl Debug for NodeStorage
source§impl Default for NodeStorage
impl Default for NodeStorage
source§fn default() -> NodeStorage
fn default() -> NodeStorage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeStorage
impl<'de> Deserialize<'de> for NodeStorage
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 PartialEq for NodeStorage
impl PartialEq for NodeStorage
source§fn eq(&self, other: &NodeStorage) -> bool
fn eq(&self, other: &NodeStorage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NodeStorage
impl Serialize for NodeStorage
impl Eq for NodeStorage
impl StructuralEq for NodeStorage
impl StructuralPartialEq for NodeStorage
Auto Trait Implementations§
impl RefUnwindSafe for NodeStorage
impl Send for NodeStorage
impl Sync for NodeStorage
impl Unpin for NodeStorage
impl UnwindSafe for NodeStorage
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.