pub trait FormattedValue:
Copy
+ Clone
+ Sized
+ Into<GenericFormattedValue>
+ 'static {
type FullRange: FormattedValueFullRange + From<Self>;
// Required methods
fn default_format() -> Format;
fn format(&self) -> Format;
fn is_some(&self) -> bool;
unsafe fn into_raw_value(self) -> i64;
// Provided method
fn is_none(&self) -> bool { ... }
}
Required Associated Types§
Sourcetype FullRange: FormattedValueFullRange + From<Self>
type FullRange: FormattedValueFullRange + From<Self>
Type which allows building a FormattedValue
of this format from any raw value.
Required Methods§
fn default_format() -> Format
fn format(&self) -> Format
unsafe fn into_raw_value(self) -> i64
Provided Methods§
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.