Skip to main content

ToLinks

Trait ToLinks 

Source
pub trait ToLinks {
    // Required method
    fn to_links(&self, encoder: &mut LinksEncoder) -> LinkId;
}
Expand description

Encodes a Rust value into links.

Required Methods§

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".

Implementations on Foreign Types§

Implementors§