Trait InspectableInstant

Source
pub trait InspectableInstant {
    // Required method
    fn record<I: Inspector>(&self, name: InstantPropertyName, inspector: &mut I);
}
Expand description

A trait that marks a type as an inspectable representation of an instant in time.

Required Methods§

Source

fn record<I: Inspector>(&self, name: InstantPropertyName, inspector: &mut I)

Records this value into inspector.

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 InspectableInstant for MonotonicInstant

Source§

fn record<I: Inspector>(&self, name: InstantPropertyName, inspector: &mut I)

Implementors§