mz_adapter::coord::timestamp_selection

Trait DisplayableInTimeline

Source
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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§