pub enum ImageAlignment {
TopStart,
TopCenter,
TopEnd,
CenterStart,
Center,
CenterEnd,
BottomStart,
BottomCenter,
BottomEnd,
}Variants§
Trait Implementations§
Source§impl Clone for ImageAlignment
impl Clone for ImageAlignment
Source§fn clone(&self) -> ImageAlignment
fn clone(&self) -> ImageAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageAlignment
Source§impl Debug for ImageAlignment
impl Debug for ImageAlignment
Source§impl Default for ImageAlignment
impl Default for ImageAlignment
Source§fn default() -> ImageAlignment
fn default() -> ImageAlignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageAlignment
impl<'de> Deserialize<'de> for ImageAlignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ImageAlignment
Source§impl Hash for ImageAlignment
impl Hash for ImageAlignment
Source§impl PartialEq for ImageAlignment
impl PartialEq for ImageAlignment
Source§fn eq(&self, other: &ImageAlignment) -> bool
fn eq(&self, other: &ImageAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImageAlignment
impl Serialize for ImageAlignment
impl StructuralPartialEq for ImageAlignment
Auto Trait Implementations§
impl Freeze for ImageAlignment
impl RefUnwindSafe for ImageAlignment
impl Send for ImageAlignment
impl Sync for ImageAlignment
impl Unpin for ImageAlignment
impl UnsafeUnpin for ImageAlignment
impl UnwindSafe for ImageAlignment
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