[−][src]Enum map_model::PathConstraints
Variants
Implementations
impl PathConstraints
[src]
pub fn all() -> Vec<PathConstraints>
[src]
pub fn from_lt(lt: LaneType) -> PathConstraints
[src]
pub fn can_use(self, l: &Lane, map: &Map) -> bool
[src]
pub fn filter_lanes(
self,
lanes: impl Iterator<Item = LaneID>,
map: &Map
) -> Vec<LaneID>
[src]
self,
lanes: impl Iterator<Item = LaneID>,
map: &Map
) -> Vec<LaneID>
Trait Implementations
impl<O: Into<EnumSet<PathConstraints>>> BitAnd<O> for PathConstraints
[src]
type Output = EnumSet<PathConstraints>
The resulting type after applying the &
operator.
fn bitand(self, other: O) -> Self::Output
[src]
impl<O: Into<EnumSet<PathConstraints>>> BitOr<O> for PathConstraints
[src]
type Output = EnumSet<PathConstraints>
The resulting type after applying the |
operator.
fn bitor(self, other: O) -> Self::Output
[src]
impl<O: Into<EnumSet<PathConstraints>>> BitXor<O> for PathConstraints
[src]
type Output = EnumSet<PathConstraints>
The resulting type after applying the ^
operator.
fn bitxor(self, other: O) -> Self::Output
[src]
impl Clone for PathConstraints
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PathConstraints
[src]
impl Debug for PathConstraints
[src]
impl<'de> Deserialize<'de> for PathConstraints
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl EnumSetType for PathConstraints
[src]
impl EnumSetTypePrivate for PathConstraints
[src]
type Repr = u8
The underlying type used to store the bitset.
const ALL_BITS: Self::Repr
[src]
fn enum_into_u32(self) -> u32
[src]
unsafe fn enum_from_u32(val: u32) -> Self
[src]
fn serialize<S: Serializer>(
set: EnumSet<PathConstraints>,
ser: S
) -> Result<S::Ok, S::Error>
[src]
set: EnumSet<PathConstraints>,
ser: S
) -> Result<S::Ok, S::Error>
fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<PathConstraints>, D::Error>
[src]
de: D
) -> Result<EnumSet<PathConstraints>, D::Error>
impl Eq for PathConstraints
[src]
impl Not for PathConstraints
[src]
type Output = EnumSet<PathConstraints>
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
impl Ord for PathConstraints
[src]
fn cmp(&self, other: &PathConstraints) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<EnumSet<PathConstraints>> for PathConstraints
[src]
fn eq(&self, other: &EnumSet<PathConstraints>) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<PathConstraints> for PathConstraints
[src]
impl PartialOrd<PathConstraints> for PathConstraints
[src]
fn partial_cmp(&self, other: &PathConstraints) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for PathConstraints
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<O: Into<EnumSet<PathConstraints>>> Sub<O> for PathConstraints
[src]
type Output = EnumSet<PathConstraints>
The resulting type after applying the -
operator.
fn sub(self, other: O) -> Self::Output
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathConstraints
impl Send for PathConstraints
impl Sync for PathConstraints
impl Unpin for PathConstraints
impl UnwindSafe for PathConstraints
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,