pub struct PerspectiveOriginStyleValue(pub Position);Expand description
Represents the style value for perspective-origin 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:
<position>Tuple Fields§
§0: PositionTrait Implementations§
Source§impl Clone for PerspectiveOriginStyleValue
impl Clone for PerspectiveOriginStyleValue
Source§fn clone(&self) -> PerspectiveOriginStyleValue
fn clone(&self) -> PerspectiveOriginStyleValue
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 PerspectiveOriginStyleValue
impl Debug for PerspectiveOriginStyleValue
Source§impl Hash for PerspectiveOriginStyleValue
impl Hash for PerspectiveOriginStyleValue
Source§impl Ord for PerspectiveOriginStyleValue
impl Ord for PerspectiveOriginStyleValue
Source§fn cmp(&self, other: &PerspectiveOriginStyleValue) -> Ordering
fn cmp(&self, other: &PerspectiveOriginStyleValue) -> 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 PerspectiveOriginStyleValue
impl<'a> Parse<'a> for PerspectiveOriginStyleValue
Source§impl PartialOrd for PerspectiveOriginStyleValue
impl PartialOrd for PerspectiveOriginStyleValue
Source§impl<'a> Peek<'a> for PerspectiveOriginStyleValue
impl<'a> Peek<'a> for PerspectiveOriginStyleValue
Source§impl ToCursors for PerspectiveOriginStyleValue
impl ToCursors for PerspectiveOriginStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for PerspectiveOriginStyleValue
impl StructuralPartialEq for PerspectiveOriginStyleValue
Auto Trait Implementations§
impl Freeze for PerspectiveOriginStyleValue
impl RefUnwindSafe for PerspectiveOriginStyleValue
impl Send for PerspectiveOriginStyleValue
impl Sync for PerspectiveOriginStyleValue
impl Unpin for PerspectiveOriginStyleValue
impl UnwindSafe for PerspectiveOriginStyleValue
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