[−][src]Struct zamm_yin::node_wrappers::FinalNode
Final node wrapper that offers a stable API for all concept abstractions dependent on it.
Implementations
impl FinalNode
[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.
pub fn inheritance_wrapper(&self) -> &InheritanceNode
[src]
Leak inheritance-level functionality.
pub fn base_wrapper(&self) -> &BaseNode
[src]
Leak base-level functionality.
Trait Implementations
impl BaseNodeTrait<FinalNode> for FinalNode
[src]
pub fn set_value(&mut self, value: Rc<dyn KBValue>)
[src]
pub fn value(&self) -> Option<Rc<dyn KBValue>>
[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: &FinalNode)
[src]
pub fn add_incoming(&mut self, edge_type: usize, from: &FinalNode)
[src]
pub fn has_outgoing(&self, edge_type: usize, to: &FinalNode) -> bool
[src]
pub fn has_incoming(&self, edge_type: usize, from: &FinalNode) -> bool
[src]
pub fn outgoing_nodes(&self, edge_type: usize) -> Vec<FinalNode>
[src]
pub fn incoming_nodes(&self, edge_type: usize) -> Vec<FinalNode>
[src]
impl Clone for FinalNode
[src]
impl Copy for FinalNode
[src]
impl Debug for FinalNode
[src]
impl Eq for FinalNode
[src]
impl From<BaseNode> for FinalNode
[src]
impl From<FinalNode> for Archetype
[src]
impl From<FinalNode> for AttributeArchetype
[src]
impl From<FinalNode> for OwnerArchetype
[src]
impl From<FinalNode> for Owner
[src]
impl From<FinalNode> for ValueArchetype
[src]
impl From<FinalNode> for Value
[src]
impl From<FinalNode> for Flag
[src]
impl From<FinalNode> for Relation
[src]
impl From<FinalNode> for Tao
[src]
impl From<FinalNode> for Data
[src]
impl From<FinalNode> for Number
[src]
impl From<FinalNode> for StringConcept
[src]
impl From<FinalNode> for Form
[src]
impl From<FinalNode> for Attribute
[src]
impl From<FinalNode> for DefaultValue
[src]
impl From<FinalNode> for HasProperty
[src]
impl From<FinalNode> for Inherits
[src]
impl From<InheritanceNode> for FinalNode
[src]
pub fn from(b: InheritanceNode) -> Self
[src]
impl From<usize> for FinalNode
[src]
impl Hash for FinalNode
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl InheritanceNodeTrait<FinalNode> for FinalNode
[src]
pub fn inheritance_nodes(&self) -> Vec<FinalNode>
[src]
impl Ord for FinalNode
[src]
pub fn cmp(&self, other: &FinalNode) -> 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
[src]
impl PartialEq<FinalNode> for FinalNode
[src]
impl PartialOrd<FinalNode> for FinalNode
[src]
pub fn partial_cmp(&self, other: &FinalNode) -> Option<Ordering>
[src]
pub fn lt(&self, other: &FinalNode) -> bool
[src]
pub fn le(&self, other: &FinalNode) -> bool
[src]
pub fn gt(&self, other: &FinalNode) -> bool
[src]
pub fn ge(&self, other: &FinalNode) -> bool
[src]
impl StructuralEq for FinalNode
[src]
impl StructuralPartialEq for FinalNode
[src]
impl<'a> TryFrom<&'a str> for FinalNode
[src]
type Error = String
The type returned in the event of a conversion error.
pub fn try_from(name: &'a str) -> Result<Self, Self::Error>
[src]
impl Wrapper for FinalNode
[src]
type BaseType = InheritanceNode
The type that the implementing type is a wrapper for. Read more
pub fn essence(&self) -> &Self::BaseType
[src]
pub fn essence_mut(&mut self) -> &mut Self::BaseType
[src]
Auto Trait Implementations
impl RefUnwindSafe for FinalNode
impl Send for FinalNode
impl Sync for FinalNode
impl Unpin for FinalNode
impl UnwindSafe for FinalNode
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<T> CommonNodeTrait for T where
T: Wrapper,
<T as Wrapper>::BaseType: CommonNodeTrait,
[src]
T: Wrapper,
<T as Wrapper>::BaseType: CommonNodeTrait,
pub fn id(&Self) -> usize
[src]
pub fn set_internal_name_str(&mut Self, &str)
[src]
pub fn internal_name_str(&Self) -> Option<Rc<str>>
[src]
pub fn set_internal_name(&mut Self, String)
[src]
pub fn internal_name(&Self) -> Option<Rc<String>>
[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,