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.