fn align_layout(&mut self) {
        if matches!(self.options.alignment, metrics::anchor::X::Left) {
            return;
        }
        self.layout.offset_mut(
            self.options.alignment.offset(self.layout.bounds().size.w),
            0,
        );
    }
/// Adjusts the string layout if this is not left-aligned text.
Adjusts the string layout if this is not left-aligned text.
Adjusts the string layout if this is not left - aligned text .
fn align_layout(&mut self) {
        if matches!(self.options.alignment, metrics::anchor::X::Left) {
            return;
        }
        self.layout.offset_mut(
            self.options.alignment.offset(self.layout.bounds().size.w),
            0,
        );
    }
fn align_layout ( & mut self ) { if matches ! ( self options alignment metrics anchor X Left ) { return ; } self . layout . offset_mut ( self . options . alignment . offset ( self . layout . bounds ( ) . size . w ) , 0 , ) ; }
Adjusts the string layout if this is not left-aligned text.
Adjusts the string layout if this is not left - aligned text .
&mut self