[−][src]Struct zamm_yang::node_wrappers::InheritanceNode
Implementation for a node wrapper that offers inheritance of nodes.
Implementations
impl InheritanceNode
[src]
pub fn new() -> InheritanceNode
[src]
Create a new node.
pub fn new_with_inheritance(type_id: usize) -> InheritanceNode
[src]
Create a new node with an inheritance relation.
pub fn base_wrapper(&self) -> &BaseNode
[src]
Leak base-level functionality.
Trait Implementations
impl BaseNodeTrait<InheritanceNode> for InheritanceNode
[src]
pub fn set_value(&mut self, value: Rc<dyn KBValue + 'static>)
[src]
pub fn value(&self) -> Option<Rc<dyn KBValue + 'static>>
[src]
pub fn add_flag(&mut self, flag_type: usize)
[src]
pub fn has_flag(&self, flag_type: usize) -> bool
[src]
pub fn add_outgoing(&mut self, edge_type: usize, to: &InheritanceNode)
[src]
pub fn add_incoming(&mut self, edge_type: usize, from: &InheritanceNode)
[src]
pub fn has_outgoing(&self, edge_type: usize, to: &InheritanceNode) -> bool
[src]
pub fn has_incoming(&self, edge_type: usize, from: &InheritanceNode) -> bool
[src]
pub fn outgoing_nodes(&self, edge_type: usize) -> Vec<InheritanceNode, Global>
[src]
pub fn incoming_nodes(&self, edge_type: usize) -> Vec<InheritanceNode, Global>
[src]
impl Clone for InheritanceNode
[src]
pub fn clone(&self) -> InheritanceNode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InheritanceNode
[src]
impl Debug for InheritanceNode
[src]
impl Eq for InheritanceNode
[src]
impl From<BaseNode> for InheritanceNode
[src]
pub fn from(b: BaseNode) -> InheritanceNode
[src]
impl From<InheritanceNode> for FinalNode
[src]
pub fn from(b: InheritanceNode) -> FinalNode
[src]
impl From<usize> for InheritanceNode
[src]
pub fn from(id: usize) -> InheritanceNode
[src]
impl Hash for InheritanceNode
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl InheritanceNodeTrait<InheritanceNode> for InheritanceNode
[src]
pub fn inheritance_nodes(&self) -> Vec<InheritanceNode, Global>
[src]
impl Ord for InheritanceNode
[src]
pub fn cmp(&self, other: &InheritanceNode) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<InheritanceNode> for InheritanceNode
[src]
pub fn eq(&self, other: &InheritanceNode) -> bool
[src]
pub fn ne(&self, other: &InheritanceNode) -> bool
[src]
impl PartialOrd<InheritanceNode> for InheritanceNode
[src]
pub fn partial_cmp(&self, other: &InheritanceNode) -> Option<Ordering>
[src]
pub fn lt(&self, other: &InheritanceNode) -> bool
[src]
pub fn le(&self, other: &InheritanceNode) -> bool
[src]
pub fn gt(&self, other: &InheritanceNode) -> bool
[src]
pub fn ge(&self, other: &InheritanceNode) -> bool
[src]
impl StructuralEq for InheritanceNode
[src]
impl StructuralPartialEq for InheritanceNode
[src]
impl<'a> TryFrom<&'a str> for InheritanceNode
[src]
type Error = String
The type returned in the event of a conversion error.
pub fn try_from(
name: &'a str
) -> Result<InheritanceNode, <InheritanceNode as TryFrom<&'a str>>::Error>
[src]
name: &'a str
) -> Result<InheritanceNode, <InheritanceNode as TryFrom<&'a str>>::Error>
impl Wrapper for InheritanceNode
[src]
type BaseType = BaseNode
The type that the implementing type is a wrapper for. Read more
pub fn essence(&self) -> &<InheritanceNode as Wrapper>::BaseType
[src]
pub fn essence_mut(&mut self) -> &mut <InheritanceNode as Wrapper>::BaseType
[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,
pub 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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,