pub trait HasLinkedItemGraph {
// Required methods
fn linked_item_graph(&self) -> &LinkedItemGraph;
fn with_linked_item_graph(self, graph: Rc<LinkedItemGraph>) -> Self;
}Expand description
Getter and setter for LinkedItemGraph, useful for printers.
Required Methods§
Sourcefn linked_item_graph(&self) -> &LinkedItemGraph
fn linked_item_graph(&self) -> &LinkedItemGraph
Get a reference of the LinkedItemGraph.
Sourcefn with_linked_item_graph(self, graph: Rc<LinkedItemGraph>) -> Self
fn with_linked_item_graph(self, graph: Rc<LinkedItemGraph>) -> Self
Set a LinkedItemGraph.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.