Struct lu_formats::common::Transform3
source · pub struct Transform3 {
pub position: Vector3,
pub rotation: Quaternion,
}
Expand description
Fields§
§position: Vector3
§rotation: Quaternion
Trait Implementations§
source§impl Clone for Transform3
impl Clone for Transform3
source§fn clone(&self) -> Transform3
fn clone(&self) -> Transform3
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 Transform3
impl Debug for Transform3
source§impl<'de> Deserialize<'de> for Transform3
impl<'de> Deserialize<'de> for Transform3
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Transform3> for Transform3
impl PartialEq<Transform3> for Transform3
source§fn eq(&self, other: &Transform3) -> bool
fn eq(&self, other: &Transform3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Transform3
impl Serialize for Transform3
impl StructuralPartialEq for Transform3
Auto Trait Implementations§
impl RefUnwindSafe for Transform3
impl Send for Transform3
impl Sync for Transform3
impl Unpin for Transform3
impl UnwindSafe for Transform3
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