pub trait Slicer<'a, H, D, Directive> {
// Required method
fn slice(h: &'a H) -> Self;
}Expand description
Represents a type that can construct itself by rearranging the fields of the original type H.
Required 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.