pub enum BackgroundPosition {
    Bottom,
    Center,
    Left,
    LeftBottom,
    LeftTop,
    Right,
    RightBottom,
    RightTop,
    Top,
}Expand description
Background position values
Variants§
Bottom
Bottom position
Center
Center position
Left
Left position
LeftBottom
Left bottom position
LeftTop
Left top position
Right
Right position
RightBottom
Right bottom position
RightTop
Right top position
Top
Top position
Implementations§
Source§impl BackgroundPosition
 
impl BackgroundPosition
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
Trait Implementations§
Source§impl Clone for BackgroundPosition
 
impl Clone for BackgroundPosition
Source§fn clone(&self) -> BackgroundPosition
 
fn clone(&self) -> BackgroundPosition
Returns a duplicate 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 BackgroundPosition
 
impl Debug for BackgroundPosition
Source§impl<'de> Deserialize<'de> for BackgroundPosition
 
impl<'de> Deserialize<'de> for BackgroundPosition
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
Source§impl Display for BackgroundPosition
 
impl Display for BackgroundPosition
Source§impl Hash for BackgroundPosition
 
impl Hash for BackgroundPosition
Source§impl PartialEq for BackgroundPosition
 
impl PartialEq for BackgroundPosition
Source§impl Serialize for BackgroundPosition
 
impl Serialize for BackgroundPosition
impl Copy for BackgroundPosition
impl Eq for BackgroundPosition
impl StructuralPartialEq for BackgroundPosition
Auto Trait Implementations§
impl Freeze for BackgroundPosition
impl RefUnwindSafe for BackgroundPosition
impl Send for BackgroundPosition
impl Sync for BackgroundPosition
impl Unpin for BackgroundPosition
impl UnwindSafe for BackgroundPosition
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§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.