wdl_format

Trait Token

source
pub trait Token: Eq + PartialEq {
    // Required method
    fn display<'a>(&'a self, config: &'a Config) -> impl Display + 'a;
}
Expand description

Tokens that are streamable.

Required Methods§

source

fn display<'a>(&'a self, config: &'a Config) -> impl Display + 'a

Returns a displayable version of the token.

Object Safety§

This trait is not object safe.

Implementors§