pub struct TransformOrigin {
pub x: DefiniteLength,
pub y: DefiniteLength,
pub z: Points,
}Expand description
transformOrigin: the point transforms rotate and scale around.
Fields§
§x: DefiniteLengthHorizontal position: from the left edge, or a fraction of the width.
y: DefiniteLengthVertical position: from the top edge, or a fraction of the height.
z: PointsDepth.
Implementations§
Trait Implementations§
Source§impl Clone for TransformOrigin
impl Clone for TransformOrigin
impl Copy for TransformOrigin
Source§impl Debug for TransformOrigin
impl Debug for TransformOrigin
Source§impl Default for TransformOrigin
impl Default for TransformOrigin
Source§impl PartialEq for TransformOrigin
impl PartialEq for TransformOrigin
impl StructuralPartialEq for TransformOrigin
Auto Trait Implementations§
impl Forget for TransformOrigin
impl Freeze for TransformOrigin
impl Move for TransformOrigin
impl RefUnwindSafe for TransformOrigin
impl Send for TransformOrigin
impl Sync for TransformOrigin
impl Unpin for TransformOrigin
impl UnsafeUnpin for TransformOrigin
impl UnwindSafe for TransformOrigin
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