Trait Format

Source
pub trait Format<T> {
    const FORMAT: T;
}
Expand description

A trait for tables that have multiple possible formats.

Required Associated Constants§

Source

const FORMAT: T

The format value for this table.

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.

Implementors§

Source§

impl<U, T: Format<U>> Format<U> for TableRef<'_, T>

Source§

const FORMAT: U = T::FORMAT