pub trait ToLinks {
// Required method
fn to_links(&self, encoder: &mut LinksEncoder) -> LinkId;
}Expand description
Encodes a Rust value into links.
Required Methods§
Sourcefn to_links(&self, encoder: &mut LinksEncoder) -> LinkId
fn to_links(&self, encoder: &mut LinksEncoder) -> LinkId
Inserts links for this value and returns the root link id.