Skip to main content

FixAlignment

Trait FixAlignment 

Source
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§

Source

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".

Implementors§