pub struct KeyframeFeatures {
pub node_id: String,
pub camera_id: String,
pub desc_type: String,
pub desc_len: u32,
pub row_major: bool,
pub keypoints: Vec<Feature2D>,
pub descriptors: Vec<u8>,
pub stamp: Time,
pub source_id: String,
pub seq: u64,
}Fields§
§node_id: String§camera_id: String§desc_type: String§desc_len: u32§row_major: bool§keypoints: Vec<Feature2D>§descriptors: Vec<u8>§stamp: Time§source_id: String§seq: u64Implementations§
Source§impl KeyframeFeatures
impl KeyframeFeatures
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§
Source§impl Clone for KeyframeFeatures
impl Clone for KeyframeFeatures
Source§impl Debug for KeyframeFeatures
impl Debug for KeyframeFeatures
Source§impl Default for KeyframeFeatures
impl Default for KeyframeFeatures
Source§impl PartialEq for KeyframeFeatures
impl PartialEq for KeyframeFeatures
impl StructuralPartialEq for KeyframeFeatures
Auto Trait Implementations§
impl Freeze for KeyframeFeatures
impl RefUnwindSafe for KeyframeFeatures
impl Send for KeyframeFeatures
impl Sync for KeyframeFeatures
impl Unpin for KeyframeFeatures
impl UnsafeUnpin for KeyframeFeatures
impl UnwindSafe for KeyframeFeatures
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