pub struct SpatialTransform {
pub layer: SpatialLayerId,
pub position: Position2,
pub heading: f64,
}Fields§
§layer: SpatialLayerId§position: Position2§heading: f64Trait Implementations§
Source§impl Clone for SpatialTransform
impl Clone for SpatialTransform
Source§fn clone(&self) -> SpatialTransform
fn clone(&self) -> SpatialTransform
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 SpatialTransform
impl Debug for SpatialTransform
Source§impl<'de> Deserialize<'de> for SpatialTransform
impl<'de> Deserialize<'de> for SpatialTransform
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 SpatialTransform
impl PartialEq for SpatialTransform
Source§impl Serialize for SpatialTransform
impl Serialize for SpatialTransform
impl Copy for SpatialTransform
impl StructuralPartialEq for SpatialTransform
Auto Trait Implementations§
impl Freeze for SpatialTransform
impl RefUnwindSafe for SpatialTransform
impl Send for SpatialTransform
impl Sync for SpatialTransform
impl Unpin for SpatialTransform
impl UnsafeUnpin for SpatialTransform
impl UnwindSafe for SpatialTransform
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