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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".