HasLinkedItemGraph

Trait HasLinkedItemGraph 

Source
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§

Source

fn linked_item_graph(&self) -> &LinkedItemGraph

Get a reference of the LinkedItemGraph.

Source

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.

Implementors§