pub struct AtcMap {
pub name: String,
pub data: AtcMapData,
}Fields§
§name: String§data: AtcMapDataImplementations§
Source§impl AtcMap
impl AtcMap
pub fn try_from_es_line_group( sector_file_id: String, item_type: String, value: LineGroup<ColouredLine>, ) -> Result<Self>
pub fn try_from_es_region_group( sector_file_id: String, item_type: String, value: RegionGroup, ) -> Result<Self>
pub fn try_from_es_labels_group( sector_file_id: String, item_type: String, value: LabelGroup, ) -> Result<Self>
pub fn try_from_es_freetext_group( sector_file_id: String, item_type: String, value: FreeTextGroup, ) -> Result<Self>
pub fn try_from_crc_video_map( map_ref: &CrcVideoMapRef, facility_file_path: impl AsRef<Path>, facility_name: String, ) -> Result<AtcMap>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtcMap
impl<'de> Deserialize<'de> for AtcMap
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 AtcMap
impl RefUnwindSafe for AtcMap
impl Send for AtcMap
impl Sync for AtcMap
impl Unpin for AtcMap
impl UnwindSafe for AtcMap
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