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