pub struct LandingExtent { /* private fields */ }Expand description
The rectangle of a landing along the direction leaving the flight or
run: the position of its far side and of its two sides along across
that direction. A service states it only where the landing’s level
surface fills that rectangle.
Implementations§
Source§impl LandingExtent
impl LandingExtent
Sourcepub fn try_new(
far: ElevationInterval,
left: ElevationInterval,
right: ElevationInterval,
) -> Result<Self, WalkingSurfaceError>
pub fn try_new( far: ElevationInterval, left: ElevationInterval, right: ElevationInterval, ) -> Result<Self, WalkingSurfaceError>
A landing reaching far along the leaving direction, between the
sides left and right across it.
Sourcepub fn far(&self) -> ElevationInterval
pub fn far(&self) -> ElevationInterval
Position of the landing’s far side along the leaving direction.
Sourcepub fn sides(&self) -> (ElevationInterval, ElevationInterval)
pub fn sides(&self) -> (ElevationInterval, ElevationInterval)
Positions of the landing’s sides across the leaving direction.
Trait Implementations§
Source§impl Clone for LandingExtent
impl Clone for LandingExtent
impl Copy for LandingExtent
Source§impl Debug for LandingExtent
impl Debug for LandingExtent
Source§impl PartialEq for LandingExtent
impl PartialEq for LandingExtent
impl StructuralPartialEq for LandingExtent
Auto Trait Implementations§
impl Freeze for LandingExtent
impl RefUnwindSafe for LandingExtent
impl Send for LandingExtent
impl Sync for LandingExtent
impl Unpin for LandingExtent
impl UnsafeUnpin for LandingExtent
impl UnwindSafe for LandingExtent
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