pub struct Station {
pub label: String,
pub coords: Point,
pub index: NodeIndex,
pub lrud: LRUD,
pub surface: bool,
pub underground: bool,
pub entrance: bool,
pub exported: bool,
pub fixed: bool,
pub anonymous: bool,
pub wall: bool,
}
Expand description
Represents a survey station in a Survex file. To retrieve a station, use the helper methods provided by the StationManager. To retrieve a station’s connections to other stations, use the graph provided by the StationManager.
Fields§
§label: String
§coords: Point
§index: NodeIndex
§lrud: LRUD
§surface: bool
§underground: bool
§entrance: bool
§exported: bool
§fixed: bool
§anonymous: bool
§wall: bool
Implementations§
Trait Implementations§
source§impl PartialEq<Station> for Station
impl PartialEq<Station> for Station
impl StructuralPartialEq for Station
Auto Trait Implementations§
impl RefUnwindSafe for Station
impl Send for Station
impl Sync for Station
impl Unpin for Station
impl UnwindSafe for Station
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