Itemable

Trait Itemable 

Source
pub trait Itemable {
    // Required method
    fn to_item(&self, documents: &Documents) -> Result<Item>;
}
Expand description

Something that can be converted into an Item using a [Document]

This can be an item, but also a DocumentHandle

Required Methods§

Source

fn to_item(&self, documents: &Documents) -> Result<Item>

Convert this itemable into an Item

Implementations on Foreign Types§

Source§

impl Itemable for Node

Source§

fn to_item(&self, _documents: &Documents) -> Result<Item>

Implementors§