pub struct NodeConnection<T: NodeDefinition> {
pub from_node: NodeId<T>,
pub to_node: NodeId<T>,
pub from_pin: String,
pub to_pin: String,
}
Fields§
§from_node: NodeId<T>
§to_node: NodeId<T>
§from_pin: String
§to_pin: String
Implementations§
Source§impl<T: NodeDefinition> NodeConnection<T>
impl<T: NodeDefinition> NodeConnection<T>
Trait Implementations§
Source§impl<T: Clone + NodeDefinition> Clone for NodeConnection<T>
impl<T: Clone + NodeDefinition> Clone for NodeConnection<T>
Source§fn clone(&self) -> NodeConnection<T>
fn clone(&self) -> NodeConnection<T>
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<T: NodeDefinition> Debug for NodeConnection<T>
impl<T: NodeDefinition> Debug for NodeConnection<T>
Source§impl<'de, T> Deserialize<'de> for NodeConnection<T>where
T: Deserialize<'de> + NodeDefinition,
impl<'de, T> Deserialize<'de> for NodeConnection<T>where
T: Deserialize<'de> + NodeDefinition,
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<T: NodeDefinition> Hash for NodeConnection<T>
impl<T: NodeDefinition> Hash for NodeConnection<T>
Source§impl<T: NodeDefinition> PartialEq for NodeConnection<T>
impl<T: NodeDefinition> PartialEq for NodeConnection<T>
Source§impl<T> Serialize for NodeConnection<T>where
T: Serialize + NodeDefinition,
impl<T> Serialize for NodeConnection<T>where
T: Serialize + NodeDefinition,
impl<T: NodeDefinition> Eq for NodeConnection<T>
Auto Trait Implementations§
impl<T> Freeze for NodeConnection<T>
impl<T> RefUnwindSafe for NodeConnection<T>
impl<T> Send for NodeConnection<T>
impl<T> Sync for NodeConnection<T>
impl<T> Unpin for NodeConnection<T>
impl<T> UnwindSafe for NodeConnection<T>
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.