pub trait IntoTruncated {
// Required method
fn into_truncated<const N: u32>(self) -> BoundedString<N>;
}Required Methods§
Sourcefn into_truncated<const N: u32>(self) -> BoundedString<N>
fn into_truncated<const N: u32>(self) -> BoundedString<N>
Convert self into a BoundedString, truncating if necessary. In the case of truncation,
the discarded characters are replaced by “…”.
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.