#[repr(C)]pub struct StyleTransformTranslate2D {
pub x: PixelValue,
pub y: PixelValue,
}Expand description
Represents a CSS translate(x, y) 2D translation.
Fields§
§x: PixelValue§y: PixelValueTrait Implementations§
Source§impl Clone for StyleTransformTranslate2D
impl Clone for StyleTransformTranslate2D
Source§fn clone(&self) -> StyleTransformTranslate2D
fn clone(&self) -> StyleTransformTranslate2D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StyleTransformTranslate2D
impl Debug for StyleTransformTranslate2D
Source§impl Hash for StyleTransformTranslate2D
impl Hash for StyleTransformTranslate2D
Source§impl Ord for StyleTransformTranslate2D
impl Ord for StyleTransformTranslate2D
Source§fn cmp(&self, other: &StyleTransformTranslate2D) -> Ordering
fn cmp(&self, other: &StyleTransformTranslate2D) -> Ordering
1.21.0 (const: unstable) · 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 for StyleTransformTranslate2D
impl PartialEq for StyleTransformTranslate2D
Source§fn eq(&self, other: &StyleTransformTranslate2D) -> bool
fn eq(&self, other: &StyleTransformTranslate2D) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleTransformTranslate2D
impl PartialOrd for StyleTransformTranslate2D
impl Copy for StyleTransformTranslate2D
impl Eq for StyleTransformTranslate2D
impl StructuralPartialEq for StyleTransformTranslate2D
Auto Trait Implementations§
impl Freeze for StyleTransformTranslate2D
impl RefUnwindSafe for StyleTransformTranslate2D
impl Send for StyleTransformTranslate2D
impl Sync for StyleTransformTranslate2D
impl Unpin for StyleTransformTranslate2D
impl UnsafeUnpin for StyleTransformTranslate2D
impl UnwindSafe for StyleTransformTranslate2D
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