pub struct LocoSystemData {
pub anchor_ids: Vec<u8>,
pub active_anchor_ids: Vec<u8>,
pub anchors: HashMap<u8, LocoAnchorData>,
}Expand description
Complete snapshot of the Loco Positioning System state
Fields§
§anchor_ids: Vec<u8>List of configured anchor IDs
active_anchor_ids: Vec<u8>List of currently active anchor IDs
anchors: HashMap<u8, LocoAnchorData>Anchor position data, keyed by anchor ID
Trait Implementations§
Source§impl Clone for LocoSystemData
impl Clone for LocoSystemData
Source§fn clone(&self) -> LocoSystemData
fn clone(&self) -> LocoSystemData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LocoSystemData
impl RefUnwindSafe for LocoSystemData
impl Send for LocoSystemData
impl Sync for LocoSystemData
impl Unpin for LocoSystemData
impl UnsafeUnpin for LocoSystemData
impl UnwindSafe for LocoSystemData
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