#[repr(u32)]pub enum ImageVerticalAlignment {
Center = 0,
Top = 1,
Bottom = 2,
}
Expand description
This enum specifies the vertical alignment of the source image.
Variants§
Center = 0
Aligns the source image at the center of the Image
element.
Top = 1
Aligns the source image at the top of the Image
element.
Bottom = 2
Aligns the source image at the bottom of the Image
element.
Trait Implementations§
Source§impl Clone for ImageVerticalAlignment
impl Clone for ImageVerticalAlignment
Source§fn clone(&self) -> ImageVerticalAlignment
fn clone(&self) -> ImageVerticalAlignment
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageVerticalAlignment
impl Debug for ImageVerticalAlignment
Source§impl Default for ImageVerticalAlignment
impl Default for ImageVerticalAlignment
Source§impl Display for ImageVerticalAlignment
impl Display for ImageVerticalAlignment
Source§impl FromStr for ImageVerticalAlignment
impl FromStr for ImageVerticalAlignment
Source§impl Hash for ImageVerticalAlignment
impl Hash for ImageVerticalAlignment
Source§impl PartialEq for ImageVerticalAlignment
impl PartialEq for ImageVerticalAlignment
Source§impl TryFrom<&str> for ImageVerticalAlignment
impl TryFrom<&str> for ImageVerticalAlignment
impl Copy for ImageVerticalAlignment
impl Eq for ImageVerticalAlignment
impl StructuralPartialEq for ImageVerticalAlignment
Auto Trait Implementations§
impl Freeze for ImageVerticalAlignment
impl RefUnwindSafe for ImageVerticalAlignment
impl Send for ImageVerticalAlignment
impl Sync for ImageVerticalAlignment
impl Unpin for ImageVerticalAlignment
impl UnwindSafe for ImageVerticalAlignment
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,
Converts the given value to a
SharedString
.