Enum respo::CssBackgroundSize
source · pub enum CssBackgroundSize {
Cover,
Contain,
Wh(f32, f32),
}
Variants§
Trait Implementations§
source§impl Clone for CssBackgroundSize
impl Clone for CssBackgroundSize
source§fn clone(&self) -> CssBackgroundSize
fn clone(&self) -> CssBackgroundSize
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 CssBackgroundSize
impl Debug for CssBackgroundSize
source§impl Display for CssBackgroundSize
impl Display for CssBackgroundSize
source§impl PartialEq<CssBackgroundSize> for CssBackgroundSize
impl PartialEq<CssBackgroundSize> for CssBackgroundSize
source§fn eq(&self, other: &CssBackgroundSize) -> bool
fn eq(&self, other: &CssBackgroundSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CssBackgroundSize
Auto Trait Implementations§
impl RefUnwindSafe for CssBackgroundSize
impl Send for CssBackgroundSize
impl Sync for CssBackgroundSize
impl Unpin for CssBackgroundSize
impl UnwindSafe for CssBackgroundSize
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