pub trait AlignableOpInterface: Op {
// Provided methods
fn alignment(&self, ctx: &Context) -> Option<u32>
where Self: Sized { ... }
fn set_alignment(&self, ctx: &Context, alignment: u32)
where Self: Sized { ... }
}Expand description
Ops that can have an alignment set.
Provided Methods§
Trait Implementations§
impl OpInterfaceMarker for dyn AlignableOpInterface
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".