pub struct SpatialMetadata {
pub frame_id: FrameId,
pub timestamp: Timestamp,
pub sensor_origin: Option<Vec3<f32>>,
pub unit: String,
}Expand description
Spatial metadata attached to point clouds and maps.
Fields§
§frame_id: FrameIdCoordinate frame identifier.
timestamp: TimestampCapture or observation timestamp.
sensor_origin: Option<Vec3<f32>>Sensor origin in the frame.
unit: StringLength unit, defaulting to meters.
Implementations§
Trait Implementations§
Source§impl Clone for SpatialMetadata
impl Clone for SpatialMetadata
Source§fn clone(&self) -> SpatialMetadata
fn clone(&self) -> SpatialMetadata
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 SpatialMetadata
impl Debug for SpatialMetadata
Source§impl Default for SpatialMetadata
impl Default for SpatialMetadata
Source§fn default() -> SpatialMetadata
fn default() -> SpatialMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpatialMetadata
impl<'de> Deserialize<'de> for SpatialMetadata
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 SpatialMetadata
impl PartialEq for SpatialMetadata
Source§impl Serialize for SpatialMetadata
impl Serialize for SpatialMetadata
impl StructuralPartialEq for SpatialMetadata
Auto Trait Implementations§
impl Freeze for SpatialMetadata
impl RefUnwindSafe for SpatialMetadata
impl Send for SpatialMetadata
impl Sync for SpatialMetadata
impl Unpin for SpatialMetadata
impl UnsafeUnpin for SpatialMetadata
impl UnwindSafe for SpatialMetadata
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