pub struct PerspectiveStyleValue(pub NoneOr<Length>);Expand description
Represents the style value for perspective as defined in css-transforms-2.
The transform CSS property and its 3D transform functions allow rotations and other transforms in three dimensions, including perspective transforms.
The grammar is defined as:
none | <length [0,∞]>Tuple Fields§
§0: NoneOr<Length>Trait Implementations§
Source§impl Clone for PerspectiveStyleValue
impl Clone for PerspectiveStyleValue
Source§fn clone(&self) -> PerspectiveStyleValue
fn clone(&self) -> PerspectiveStyleValue
Returns a duplicate 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 PerspectiveStyleValue
impl Debug for PerspectiveStyleValue
Source§impl Hash for PerspectiveStyleValue
impl Hash for PerspectiveStyleValue
Source§impl Ord for PerspectiveStyleValue
impl Ord for PerspectiveStyleValue
Source§fn cmp(&self, other: &PerspectiveStyleValue) -> Ordering
fn cmp(&self, other: &PerspectiveStyleValue) -> 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<'a> Parse<'a> for PerspectiveStyleValue
impl<'a> Parse<'a> for PerspectiveStyleValue
Source§impl PartialEq for PerspectiveStyleValue
impl PartialEq for PerspectiveStyleValue
Source§impl PartialOrd for PerspectiveStyleValue
impl PartialOrd for PerspectiveStyleValue
Source§impl<'a> Peek<'a> for PerspectiveStyleValue
impl<'a> Peek<'a> for PerspectiveStyleValue
Source§impl ToCursors for PerspectiveStyleValue
impl ToCursors for PerspectiveStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PerspectiveStyleValue
impl StructuralPartialEq for PerspectiveStyleValue
Auto Trait Implementations§
impl Freeze for PerspectiveStyleValue
impl RefUnwindSafe for PerspectiveStyleValue
impl Send for PerspectiveStyleValue
impl Sync for PerspectiveStyleValue
impl Unpin for PerspectiveStyleValue
impl UnwindSafe for PerspectiveStyleValue
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