#[repr(C, u8)]pub enum BackgroundPositionVertical {
Top,
Center,
Bottom,
Exact(PixelValue),
}Variants§
Implementations§
Source§impl BackgroundPositionVertical
impl BackgroundPositionVertical
pub fn scale_for_dpi(&mut self, scale_factor: f32)
Trait Implementations§
Source§impl Clone for BackgroundPositionVertical
impl Clone for BackgroundPositionVertical
Source§fn clone(&self) -> BackgroundPositionVertical
fn clone(&self) -> BackgroundPositionVertical
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 BackgroundPositionVertical
impl Debug for BackgroundPositionVertical
Source§impl Hash for BackgroundPositionVertical
impl Hash for BackgroundPositionVertical
Source§impl Ord for BackgroundPositionVertical
impl Ord for BackgroundPositionVertical
Source§fn cmp(&self, other: &BackgroundPositionVertical) -> Ordering
fn cmp(&self, other: &BackgroundPositionVertical) -> 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 PartialOrd for BackgroundPositionVertical
impl PartialOrd for BackgroundPositionVertical
impl Copy for BackgroundPositionVertical
impl Eq for BackgroundPositionVertical
impl StructuralPartialEq for BackgroundPositionVertical
Auto Trait Implementations§
impl Freeze for BackgroundPositionVertical
impl RefUnwindSafe for BackgroundPositionVertical
impl Send for BackgroundPositionVertical
impl Sync for BackgroundPositionVertical
impl Unpin for BackgroundPositionVertical
impl UnwindSafe for BackgroundPositionVertical
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