pub trait TruncateFrom<T> {
// Required method
fn truncate_from(unbound: T) -> Self;
}
Expand description
Create an object through truncation.
Required Methods§
Sourcefn truncate_from(unbound: T) -> Self
fn truncate_from(unbound: T) -> Self
Create an object through truncation.
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.