pub struct StyleBackgroundPosition {
pub horizontal: BackgroundPositionHorizontal,
pub vertical: BackgroundPositionVertical,
}
Expand description
Represents a background-position
attribute
Fields§
§horizontal: BackgroundPositionHorizontal
§vertical: BackgroundPositionVertical
Trait Implementations§
Source§impl Clone for StyleBackgroundPosition
impl Clone for StyleBackgroundPosition
Source§fn clone(&self) -> StyleBackgroundPosition
fn clone(&self) -> StyleBackgroundPosition
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 StyleBackgroundPosition
impl Debug for StyleBackgroundPosition
Source§impl Default for StyleBackgroundPosition
impl Default for StyleBackgroundPosition
Source§impl From<StyleBackgroundPosition> for CssProperty
impl From<StyleBackgroundPosition> for CssProperty
Source§fn from(e: StyleBackgroundPosition) -> Self
fn from(e: StyleBackgroundPosition) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleBackgroundPosition
impl Hash for StyleBackgroundPosition
Source§impl Ord for StyleBackgroundPosition
impl Ord for StyleBackgroundPosition
Source§fn cmp(&self, other: &StyleBackgroundPosition) -> Ordering
fn cmp(&self, other: &StyleBackgroundPosition) -> 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 StyleBackgroundPosition
impl PartialEq for StyleBackgroundPosition
Source§impl PartialOrd for StyleBackgroundPosition
impl PartialOrd for StyleBackgroundPosition
impl Copy for StyleBackgroundPosition
impl Eq for StyleBackgroundPosition
impl StructuralPartialEq for StyleBackgroundPosition
Auto Trait Implementations§
impl Freeze for StyleBackgroundPosition
impl RefUnwindSafe for StyleBackgroundPosition
impl Send for StyleBackgroundPosition
impl Sync for StyleBackgroundPosition
impl Unpin for StyleBackgroundPosition
impl UnwindSafe for StyleBackgroundPosition
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
)