Struct Bullseye
pub struct Bullseye {
    pub cot: CursorOnTarget,
    /* private fields */
}Expand description
Bullseye object
- uid- Unique identifier
- callsign- Callsign
- point- Point
- title- Title
- edge_to_center- Edge to center
- mils- Mils
- has_range_rings- Has range rings
- ring_dist- Ring distance
- ring_num- Ring number
- range_ring_visible- Range ring visible
- distance- Distance
- bullseye_uid- Bullseye unique identifier
- bearing_ref- Bearing reference
Fields§
§cot: CursorOnTargetImplementations§
§impl Bullseye
 
impl Bullseye
pub fn new( cot: CursorOnTarget, callsign: String, title: String, edge_to_center: bool, mils: bool, has_range_rings: bool, ring_dist: f64, ring_num: i32, range_ring_visible: bool, distance: f64, bullseye_uid: String, bearing_ref: String, ) -> Bullseye
pub fn get_xml(&mut self) -> String
pub fn get_xml_bytes(&mut self) -> Vec<u8> ⓘ
Trait Implementations§
§impl Sendable for Bullseye
 
impl Sendable for Bullseye
fn update_xml(&mut self)
fn modify_field(&mut self, field: &str, value: &str)
fn get_cot(&self) -> CursorOnTarget
Auto Trait Implementations§
impl Freeze for Bullseye
impl RefUnwindSafe for Bullseye
impl Send for Bullseye
impl Sync for Bullseye
impl Unpin for Bullseye
impl UnwindSafe for Bullseye
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