[−][src]Struct zamm_yang::codegen::template::concept::auto_init_kb::Link
Represents a binary relation between two nodes.
Fields
from: StructConfig
The struct name of the from-node.
link_type: StructConfig
The struct name of the link type.
to: StructConfig
The struct name of the to-node.
Implementations
impl Link
[src]
pub fn as_tuple(&self) -> (&str, &str, &str)
[src]
Get the relationship as a 3-tuple of concept names.
Trait Implementations
impl Debug for Link
[src]
impl Default for Link
[src]
impl Eq for Link
[src]
impl PartialEq<Link> for Link
[src]
impl StructuralEq for Link
[src]
impl StructuralPartialEq for Link
[src]
Auto Trait Implementations
impl RefUnwindSafe for Link
[src]
impl Send for Link
[src]
impl Sync for Link
[src]
impl Unpin for Link
[src]
impl UnwindSafe for Link
[src]
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<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,