Skip to main content

Relationship

Trait Relationship 

Source
pub trait Relationship: Object {
    // Provided methods
    fn subject(&self) -> Node<Self::Object> { ... }
    fn relationship(&self) -> Option<&str> { ... }
    fn relationship_object(&self) -> Node<Self::Object> { ... }
}

Provided Methods§

Source

fn subject(&self) -> Node<Self::Object>

Source

fn relationship(&self) -> Option<&str>

Source

fn relationship_object(&self) -> Node<Self::Object>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§