pub struct TransformOrigin {
pub x_offset: Length,
pub y_offset: Length,
pub z_offset: Length,
}
Expand description
Representation of the <transform-origin>
type.
Fields§
§x_offset: Length
The x offset of the transform origin.
y_offset: Length
The y offset of the transform origin.
z_offset: Length
The z offset of the transform origin.
Implementations§
Trait Implementations§
source§impl Clone for TransformOrigin
impl Clone for TransformOrigin
source§fn clone(&self) -> TransformOrigin
fn clone(&self) -> TransformOrigin
Returns a copy 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 TransformOrigin
impl Debug for TransformOrigin
source§impl FromStr for TransformOrigin
impl FromStr for TransformOrigin
source§impl PartialEq for TransformOrigin
impl PartialEq for TransformOrigin
impl Copy for TransformOrigin
impl StructuralPartialEq for TransformOrigin
Auto Trait Implementations§
impl Freeze for TransformOrigin
impl RefUnwindSafe for TransformOrigin
impl Send for TransformOrigin
impl Sync for TransformOrigin
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)