pub enum BackgroundPositionHorizontal {
Left,
Center,
Right,
Exact(PixelValue),
}
Variants§
Trait Implementations§
Source§impl Clone for BackgroundPositionHorizontal
impl Clone for BackgroundPositionHorizontal
Source§fn clone(&self) -> BackgroundPositionHorizontal
fn clone(&self) -> BackgroundPositionHorizontal
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 BackgroundPositionHorizontal
impl Debug for BackgroundPositionHorizontal
Source§impl Hash for BackgroundPositionHorizontal
impl Hash for BackgroundPositionHorizontal
Source§impl Ord for BackgroundPositionHorizontal
impl Ord for BackgroundPositionHorizontal
Source§fn cmp(&self, other: &BackgroundPositionHorizontal) -> Ordering
fn cmp(&self, other: &BackgroundPositionHorizontal) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BackgroundPositionHorizontal
impl PartialEq for BackgroundPositionHorizontal
Source§fn eq(&self, other: &BackgroundPositionHorizontal) -> bool
fn eq(&self, other: &BackgroundPositionHorizontal) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for BackgroundPositionHorizontal
impl PartialOrd for BackgroundPositionHorizontal
impl Copy for BackgroundPositionHorizontal
impl Eq for BackgroundPositionHorizontal
impl StructuralPartialEq for BackgroundPositionHorizontal
Auto Trait Implementations§
impl Freeze for BackgroundPositionHorizontal
impl RefUnwindSafe for BackgroundPositionHorizontal
impl Send for BackgroundPositionHorizontal
impl Sync for BackgroundPositionHorizontal
impl Unpin for BackgroundPositionHorizontal
impl UnwindSafe for BackgroundPositionHorizontal
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)