pub trait NodeDescriptor {
    fn describe_node(
        &mut self,
        glyphs: &Glyphs,
        object: &NodeObject<'_>
    ) -> Result<Option<StyledString>>; }
Expand description

Interface to display information about a node in the smartlog.

Required methods

Provide a description of the given commit.

A return value of None indicates that this commit descriptor was inapplicable for the provided commit.

Implementors