[−][src]Trait embedded_layout::Align
This trait enables alignment operations of embedded-graphics
primitives
Required methods
fn align_to<D, H, V>(self, reference: D, horizontal: H, vertical: V) -> Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
fn align_to_mut<D, H, V>(
&mut self,
reference: D,
horizontal: H,
vertical: V
) -> &mut Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
&mut self,
reference: D,
horizontal: H,
vertical: V
) -> &mut Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
Implementors
impl<T> Align for T where
T: Dimensions + Transform,
[src]
T: Dimensions + Transform,
fn align_to<D, H, V>(self, reference: D, horizontal: H, vertical: V) -> Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
[src]
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
fn align_to_mut<D, H, V>(
&mut self,
reference: D,
horizontal: H,
vertical: V
) -> &mut Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,
[src]
&mut self,
reference: D,
horizontal: H,
vertical: V
) -> &mut Self where
D: Dimensions,
H: HorizontalAlignment,
V: VerticalAlignment,