Skip to main content

Metadata

Trait Metadata 

Source
pub trait Metadata {
    // Required method
    fn record(&self, node: &Node);

    // Provided method
    fn record_with_parent(&self, node: &Node) { ... }
}

Required Methods§

Source

fn record(&self, node: &Node)

Provided Methods§

Source

fn record_with_parent(&self, node: &Node)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Metadata for ()

Source§

fn record(&self, _: &Node)

Implementors§

Source§

impl Metadata for BitsetIndex

Source§

impl<I, F> Metadata for DenseBitsetMap<I, F>
where I: Iterator, I::Item: Into<BitLabel>, F: Fn() -> I,