pub trait DisplayableInTimeline {
    // Required method
    fn fmt(&self, timeline: Option<&Timeline>, f: &mut Formatter<'_>) -> Result;

    // Provided method
    fn display<'a>(
        &'a self,
        timeline: Option<&'a Timeline>
    ) -> DisplayInTimeline<'a, Self> { ... }
}

Required Methods§

source

fn fmt(&self, timeline: Option<&Timeline>, f: &mut Formatter<'_>) -> Result

Provided Methods§

source

fn display<'a>( &'a self, timeline: Option<&'a Timeline> ) -> DisplayInTimeline<'a, Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DisplayableInTimeline for Timestamp

source§

fn fmt(&self, timeline: Option<&Timeline>, f: &mut Formatter<'_>) -> Result

Implementors§