Enum hobo_css::properties::BorderImageWidth
source · pub enum BorderImageWidth {
Initial,
Inherit,
Unset,
Auto,
Raw(String),
}
Variants§
Trait Implementations§
source§impl AppendProperty for BorderImageWidth
impl AppendProperty for BorderImageWidth
fn append_property(self, decls: &mut Vec<Property>)
source§impl Clone for BorderImageWidth
impl Clone for BorderImageWidth
source§fn clone(&self) -> BorderImageWidth
fn clone(&self) -> BorderImageWidth
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 BorderImageWidth
impl Debug for BorderImageWidth
source§impl Display for BorderImageWidth
impl Display for BorderImageWidth
source§impl From<BorderImageWidth> for Property
impl From<BorderImageWidth> for Property
source§fn from(x: BorderImageWidth) -> Self
fn from(x: BorderImageWidth) -> Self
Converts to this type from the input type.
source§impl Hash for BorderImageWidth
impl Hash for BorderImageWidth
source§impl Ord for BorderImageWidth
impl Ord for BorderImageWidth
source§fn cmp(&self, other: &BorderImageWidth) -> Ordering
fn cmp(&self, other: &BorderImageWidth) -> 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<BorderImageWidth> for BorderImageWidth
impl PartialEq<BorderImageWidth> for BorderImageWidth
source§fn eq(&self, other: &BorderImageWidth) -> bool
fn eq(&self, other: &BorderImageWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BorderImageWidth> for BorderImageWidth
impl PartialOrd<BorderImageWidth> for BorderImageWidth
source§fn partial_cmp(&self, other: &BorderImageWidth) -> Option<Ordering>
fn partial_cmp(&self, other: &BorderImageWidth) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BorderImageWidth
impl StructuralEq for BorderImageWidth
impl StructuralPartialEq for BorderImageWidth
Auto Trait Implementations§
impl RefUnwindSafe for BorderImageWidth
impl Send for BorderImageWidth
impl Sync for BorderImageWidth
impl Unpin for BorderImageWidth
impl UnwindSafe for BorderImageWidth
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