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