pub enum PositionKeywordX {
Left,
Center,
Right,
}Expand description
Horizontal keywords for background-position.
Variants§
Trait Implementations§
Source§impl Clone for PositionKeywordX
impl Clone for PositionKeywordX
Source§fn clone(&self) -> PositionKeywordX
fn clone(&self) -> PositionKeywordX
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 PositionKeywordX
Source§impl Debug for PositionKeywordX
impl Debug for PositionKeywordX
Source§impl PartialEq for PositionKeywordX
impl PartialEq for PositionKeywordX
Source§fn eq(&self, other: &PositionKeywordX) -> bool
fn eq(&self, other: &PositionKeywordX) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PositionKeywordX
Auto Trait Implementations§
impl Freeze for PositionKeywordX
impl RefUnwindSafe for PositionKeywordX
impl Send for PositionKeywordX
impl Sync for PositionKeywordX
impl Unpin for PositionKeywordX
impl UnsafeUnpin for PositionKeywordX
impl UnwindSafe for PositionKeywordX
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