pub struct Align {
pub fx: f32,
pub fy: f32,
}
Fields§
§fx: f32
§fy: f32
Implementations§
Source§impl Align
impl Align
pub fn left_top() -> Align
pub fn center_top() -> Align
pub fn right_top() -> Align
pub fn left_center() -> Align
pub fn center() -> Align
pub fn right_center() -> Align
pub fn left_bottom() -> Align
pub fn center_bottom() -> Align
pub fn right_bottom() -> Align
Trait Implementations§
impl Copy for Align
Auto Trait Implementations§
impl Freeze for Align
impl RefUnwindSafe for Align
impl Send for Align
impl Sync for Align
impl Unpin for Align
impl UnwindSafe for Align
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more