pub struct TurnRestriction {
pub node: NodeId,
pub from_edge: EdgeId,
pub to_edge: EdgeId,
pub prohibited: bool,
}Expand description
Turn restriction type
Fields§
§node: NodeIdNode where turn restriction applies
from_edge: EdgeIdIncoming edge
to_edge: EdgeIdOutgoing edge
prohibited: boolWhether this turn is prohibited
Trait Implementations§
Source§impl Clone for TurnRestriction
impl Clone for TurnRestriction
Source§fn clone(&self) -> TurnRestriction
fn clone(&self) -> TurnRestriction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TurnRestriction
impl RefUnwindSafe for TurnRestriction
impl Send for TurnRestriction
impl Sync for TurnRestriction
impl Unpin for TurnRestriction
impl UnsafeUnpin for TurnRestriction
impl UnwindSafe for TurnRestriction
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