Struct Bullseye
pub struct Bullseye {
pub cot: CursorOnTarget,
/* private fields */
}Expand description
Bullseye object
uid- Unique identifiercallsign- Callsignpoint- Pointtitle- Titleedge_to_center- Edge to centermils- Milshas_range_rings- Has range ringsring_dist- Ring distancering_num- Ring numberrange_ring_visible- Range ring visibledistance- Distancebullseye_uid- Bullseye unique identifierbearing_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