sct_reader::sector

Struct Sector

Source
pub struct Sector {
Show 17 fields pub sector_info: SectorInfo, pub colours: HashMap<String, Colour>, pub airports: Vec<Airport>, pub vors: Vec<Vor>, pub ndbs: Vec<Ndb>, pub fixes: Vec<Fix>, pub artcc_entries: Vec<LineGroup<ColouredLine>>, pub artcc_low_entries: Vec<LineGroup<ColouredLine>>, pub artcc_high_entries: Vec<LineGroup<ColouredLine>>, pub low_airways: Vec<LineGroup<ColouredLine>>, pub high_airways: Vec<LineGroup<ColouredLine>>, pub sid_entries: Vec<LineGroup<ColouredLine>>, pub star_entries: Vec<LineGroup<ColouredLine>>, pub geo_entries: Vec<LineGroup<ColouredLine>>, pub regions: Vec<RegionGroup>, pub labels: Vec<LabelGroup>, pub non_critical_errors: Vec<(usize, String, Error)>,
}

Fields§

§sector_info: SectorInfo§colours: HashMap<String, Colour>§airports: Vec<Airport>§vors: Vec<Vor>§ndbs: Vec<Ndb>§fixes: Vec<Fix>§artcc_entries: Vec<LineGroup<ColouredLine>>§artcc_low_entries: Vec<LineGroup<ColouredLine>>§artcc_high_entries: Vec<LineGroup<ColouredLine>>§low_airways: Vec<LineGroup<ColouredLine>>§high_airways: Vec<LineGroup<ColouredLine>>§sid_entries: Vec<LineGroup<ColouredLine>>§star_entries: Vec<LineGroup<ColouredLine>>§geo_entries: Vec<LineGroup<ColouredLine>>§regions: Vec<RegionGroup>§labels: Vec<LabelGroup>§non_critical_errors: Vec<(usize, String, Error)>

Trait Implementations§

Source§

impl Debug for Sector

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Sector

§

impl RefUnwindSafe for Sector

§

impl Send for Sector

§

impl Sync for Sector

§

impl Unpin for Sector

§

impl UnwindSafe for Sector

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.