pub struct ReferenceFrame {
pub kind: ReferenceFrameKind,
pub transform_style: TransformStyle,
pub transform: ReferenceTransformBinding,
pub id: SpatialId,
}
Fields§
§kind: ReferenceFrameKind
§transform_style: TransformStyle
§transform: ReferenceTransformBinding
The transform matrix, either the perspective matrix or the transform matrix.
id: SpatialId
Trait Implementations§
Source§impl Clone for ReferenceFrame
impl Clone for ReferenceFrame
Source§fn clone(&self) -> ReferenceFrame
fn clone(&self) -> ReferenceFrame
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 ReferenceFrame
impl Debug for ReferenceFrame
Source§impl Default for ReferenceFrame
impl Default for ReferenceFrame
Source§fn default() -> ReferenceFrame
fn default() -> ReferenceFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReferenceFrame
impl<'de> Deserialize<'de> for ReferenceFrame
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 for ReferenceFrame
impl PartialEq for ReferenceFrame
Source§impl Peek for ReferenceFrame
impl Peek for ReferenceFrame
Source§impl Poke for ReferenceFrame
impl Poke for ReferenceFrame
Source§impl Serialize for ReferenceFrame
impl Serialize for ReferenceFrame
impl Copy for ReferenceFrame
impl StructuralPartialEq for ReferenceFrame
Auto Trait Implementations§
impl Freeze for ReferenceFrame
impl RefUnwindSafe for ReferenceFrame
impl Send for ReferenceFrame
impl Sync for ReferenceFrame
impl Unpin for ReferenceFrame
impl UnwindSafe for ReferenceFrame
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