pub enum VerticalConnectorKind {
Lift,
Ramp,
Stair,
}Expand description
What kind of vertical connector joins walkable regions on different levels.
The kind is the rule’s (or its source’s) classification, carried in the
request, never inferred from geometry. A rule forbids a kind by routing
with WalkabilitySnapshot::route_between_avoiding, so a route that
needs a stair is unreachable for it.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VerticalConnectorKind
impl Clone for VerticalConnectorKind
impl Copy for VerticalConnectorKind
Source§impl Debug for VerticalConnectorKind
impl Debug for VerticalConnectorKind
impl Eq for VerticalConnectorKind
Source§impl Hash for VerticalConnectorKind
impl Hash for VerticalConnectorKind
Source§impl Ord for VerticalConnectorKind
impl Ord for VerticalConnectorKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VerticalConnectorKind
impl PartialEq for VerticalConnectorKind
Source§impl PartialOrd for VerticalConnectorKind
impl PartialOrd for VerticalConnectorKind
impl StructuralPartialEq for VerticalConnectorKind
Auto Trait Implementations§
impl Freeze for VerticalConnectorKind
impl RefUnwindSafe for VerticalConnectorKind
impl Send for VerticalConnectorKind
impl Sync for VerticalConnectorKind
impl Unpin for VerticalConnectorKind
impl UnsafeUnpin for VerticalConnectorKind
impl UnwindSafe for VerticalConnectorKind
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