#[repr(C)]pub struct StyleTransformTranslate2D {
pub x: PixelValue,
pub y: PixelValue,
}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 · 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 · 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 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 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