#[repr(u32)]pub enum ImageHorizontalAlignment {
Center = 0,
Left = 1,
Right = 2,
}
Expand description
This enum specifies the horizontal alignment of the source image.
Variants§
Center = 0
Aligns the source image at the center of the Image
element.
Left = 1
Aligns the source image at the left of the Image
element.
Right = 2
Aligns the source image at the right of the Image
element.
Trait Implementations§
Source§impl Clone for ImageHorizontalAlignment
impl Clone for ImageHorizontalAlignment
Source§fn clone(&self) -> ImageHorizontalAlignment
fn clone(&self) -> ImageHorizontalAlignment
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 ImageHorizontalAlignment
impl Debug for ImageHorizontalAlignment
Source§impl Default for ImageHorizontalAlignment
impl Default for ImageHorizontalAlignment
Source§impl Display for ImageHorizontalAlignment
impl Display for ImageHorizontalAlignment
Source§impl FromStr for ImageHorizontalAlignment
impl FromStr for ImageHorizontalAlignment
Source§impl Hash for ImageHorizontalAlignment
impl Hash for ImageHorizontalAlignment
Source§impl PartialEq for ImageHorizontalAlignment
impl PartialEq for ImageHorizontalAlignment
Source§impl TryFrom<&str> for ImageHorizontalAlignment
impl TryFrom<&str> for ImageHorizontalAlignment
impl Copy for ImageHorizontalAlignment
impl Eq for ImageHorizontalAlignment
impl StructuralPartialEq for ImageHorizontalAlignment
Auto Trait Implementations§
impl Freeze for ImageHorizontalAlignment
impl RefUnwindSafe for ImageHorizontalAlignment
impl Send for ImageHorizontalAlignment
impl Sync for ImageHorizontalAlignment
impl Unpin for ImageHorizontalAlignment
impl UnwindSafe for ImageHorizontalAlignment
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
.