pub struct AtcDisplay {
pub name: String,
pub center: GeoPoint,
pub screen_height: Length,
pub rotation: Angle,
pub display_items: Vec<AtcDisplayItem>,
pub display_type: String,
}Fields§
§name: String§center: GeoPoint§screen_height: Length§rotation: Angle§display_items: Vec<AtcDisplayItem>§display_type: StringImplementations§
Source§impl AtcDisplay
impl AtcDisplay
pub fn from_es_asr( default_sector_id: String, display_type: String, value: EsAsr, ) -> Self
pub fn from_crc_twr_asdex( display_type: String, display_name: String, twr_cfg: &TowerCabConfig, ) -> AtcDisplay
pub fn from_crc_stars( stars_cfg: &StarsConfiguration, map_refs: &HashMap<String, CrcVideoMapRef>, ) -> Vec<AtcDisplay>
pub fn from_crc_eram( eram_cfg: &EramConfig, map_refs: &HashMap<String, CrcVideoMapRef>, ) -> Vec<AtcDisplay>
Trait Implementations§
Source§impl Clone for AtcDisplay
impl Clone for AtcDisplay
Source§fn clone(&self) -> AtcDisplay
fn clone(&self) -> AtcDisplay
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AtcDisplay
impl Debug for AtcDisplay
Source§impl Default for AtcDisplay
impl Default for AtcDisplay
Source§fn default() -> AtcDisplay
fn default() -> AtcDisplay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AtcDisplay
impl<'de> Deserialize<'de> for AtcDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AtcDisplay
impl RefUnwindSafe for AtcDisplay
impl Send for AtcDisplay
impl Sync for AtcDisplay
impl Unpin for AtcDisplay
impl UnwindSafe for AtcDisplay
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