pub struct LandingRequest { /* private fields */ }Expand description
A request for the landing at one end of a flight or run.
The candidates are the objects that may carry it, the rule’s selection (slabs, landings, floors): sorted, deduplicated and without the subject. A service may also take a ramp’s own level faces as its landing, never a flight’s own treads.
Implementations§
Source§impl LandingRequest
impl LandingRequest
Sourcepub fn new(
subject: ObjectId,
end: WalkingEnd,
candidates: impl IntoIterator<Item = ObjectId>,
) -> Self
pub fn new( subject: ObjectId, end: WalkingEnd, candidates: impl IntoIterator<Item = ObjectId>, ) -> Self
The landing at end of subject among candidates.
Sourcepub fn end(&self) -> WalkingEnd
pub fn end(&self) -> WalkingEnd
Which end.
Sourcepub fn candidates(&self) -> &[ObjectId]
pub fn candidates(&self) -> &[ObjectId]
The objects that may carry the landing.
Trait Implementations§
Source§impl Clone for LandingRequest
impl Clone for LandingRequest
Source§impl Debug for LandingRequest
impl Debug for LandingRequest
impl Eq for LandingRequest
Source§impl PartialEq for LandingRequest
impl PartialEq for LandingRequest
impl StructuralPartialEq for LandingRequest
Auto Trait Implementations§
impl Freeze for LandingRequest
impl RefUnwindSafe for LandingRequest
impl Send for LandingRequest
impl Sync for LandingRequest
impl Unpin for LandingRequest
impl UnsafeUnpin for LandingRequest
impl UnwindSafe for LandingRequest
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