pub struct Alignment { /* private fields */ }
Expand description
Alignment as defined by sFlutter.
Implementations§
Source§impl Alignment
impl Alignment
Sourcepub fn top_center() -> Self
pub fn top_center() -> Self
The center point along the top edge.
Sourcepub fn center_left() -> Self
pub fn center_left() -> Self
The center point along the left edge.
Sourcepub fn center_right() -> Self
pub fn center_right() -> Self
The center point along the right edge.
Sourcepub fn bottom_left() -> Self
pub fn bottom_left() -> Self
The bottom left corner.
Sourcepub fn bottom_center() -> Self
pub fn bottom_center() -> Self
The center point along the bottom edge.
Sourcepub fn bottom_right() -> Self
pub fn bottom_right() -> Self
The bottom right corner.
Trait Implementations§
impl Copy for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)