pub struct Landmark {
pub lm_id: String,
pub map_id: String,
pub p: [f64; 3],
pub has_cov: bool,
pub cov: [f64; 9],
pub desc: Vec<u8>,
pub desc_type: String,
pub stamp: Time,
pub source_id: String,
pub seq: u64,
}Fields§
§lm_id: String§map_id: String§p: [f64; 3]§has_cov: bool§cov: [f64; 9]§desc: Vec<u8>§desc_type: String§stamp: Time§source_id: String§seq: u64Implementations§
Source§impl Landmark
impl Landmark
pub fn encode(&self, w: &mut Writer) -> Result<(), WireError>
pub fn decode(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_holder_be(&self) -> Result<Vec<u8>, WireError>
pub fn key_from_holder_be(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_hash(&self) -> Result<[u8; 16], WireError>
Trait Implementations§
impl StructuralPartialEq for Landmark
Auto Trait Implementations§
impl Freeze for Landmark
impl RefUnwindSafe for Landmark
impl Send for Landmark
impl Sync for Landmark
impl Unpin for Landmark
impl UnsafeUnpin for Landmark
impl UnwindSafe for Landmark
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