[−][src]Struct zamm_yin::node_wrappers::InheritanceNode
Implementation for a node wrapper that offers inheritance of nodes.
Implementations
impl InheritanceNode
[src]
pub fn new() -> Self
[src]
Create a new node.
pub fn new_with_inheritance(type_id: usize) -> Self
[src]
Create a new node with an inheritance relation.
Trait Implementations
impl BaseNodeTrait<InheritanceNode> for InheritanceNode
[src]
fn set_value(&mut self, value: Box<dyn KBValue>)
[src]
fn value(&self) -> Option<Rc<Box<dyn KBValue>>>
[src]
fn add_outgoing(&mut self, edge_type: usize, to: &InheritanceNode)
[src]
fn add_incoming(&mut self, edge_type: usize, from: &InheritanceNode)
[src]
fn has_outgoing(&self, edge_type: usize, to: &InheritanceNode) -> bool
[src]
fn has_incoming(&self, edge_type: usize, from: &InheritanceNode) -> bool
[src]
fn outgoing_nodes(&self, edge_type: usize) -> Vec<InheritanceNode>
[src]
fn incoming_nodes(&self, edge_type: usize) -> Vec<InheritanceNode>
[src]
impl Clone for InheritanceNode
[src]
fn clone(&self) -> InheritanceNode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CommonNodeTrait for InheritanceNode
[src]
fn id(&self) -> usize
[src]
fn set_internal_name(&mut self, name: String)
[src]
fn internal_name(&self) -> Option<Rc<String>>
[src]
impl Copy for InheritanceNode
[src]
impl Debug for InheritanceNode
[src]
impl Eq for InheritanceNode
[src]
impl From<BaseNode> for InheritanceNode
[src]
impl From<InheritanceNode> for FinalNode
[src]
fn from(b: InheritanceNode) -> Self
[src]
impl From<usize> for InheritanceNode
[src]
impl Hash for InheritanceNode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl InheritanceNodeTrait<InheritanceNode> for InheritanceNode
[src]
fn inheritance_nodes(&self) -> Vec<InheritanceNode>
[src]
impl Ord for InheritanceNode
[src]
fn cmp(&self, other: &InheritanceNode) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<InheritanceNode> for InheritanceNode
[src]
fn eq(&self, other: &InheritanceNode) -> bool
[src]
fn ne(&self, other: &InheritanceNode) -> bool
[src]
impl PartialOrd<InheritanceNode> for InheritanceNode
[src]
fn partial_cmp(&self, other: &InheritanceNode) -> Option<Ordering>
[src]
fn lt(&self, other: &InheritanceNode) -> bool
[src]
fn le(&self, other: &InheritanceNode) -> bool
[src]
fn gt(&self, other: &InheritanceNode) -> bool
[src]
fn ge(&self, other: &InheritanceNode) -> bool
[src]
impl StructuralEq for InheritanceNode
[src]
impl StructuralPartialEq for InheritanceNode
[src]
Auto Trait Implementations
impl RefUnwindSafe for InheritanceNode
impl Send for InheritanceNode
impl Sync for InheritanceNode
impl Unpin for InheritanceNode
impl UnwindSafe for InheritanceNode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,