pub trait FixAlignment {
// Required method
fn fix(self, dir: Dir) -> FixedAlignment;
}Expand description
Alignment on this axis can be fixed to an absolute direction.
Required Methods§
Sourcefn fix(self, dir: Dir) -> FixedAlignment
fn fix(self, dir: Dir) -> FixedAlignment
Resolve to the absolute alignment.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".