[−][src]Struct outils::types::NodeIndex
Newtype to be used as a type-safe tree node identifier
Implementations
impl<Ix> NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
Trait Implementations
impl<Ix: Clone> Clone for NodeIndex<Ix>
[src]
impl<Ix: Copy> Copy for NodeIndex<Ix>
[src]
impl<Ix: Debug> Debug for NodeIndex<Ix>
[src]
impl<Ix: Default> Default for NodeIndex<Ix>
[src]
impl<Ix: Eq> Eq for NodeIndex<Ix>
[src]
impl<Ix> From<Ix> for NodeIndex<Ix> where
Ix: IndexType,
[src]
Ix: IndexType,
impl<Ix: Hash> Hash for NodeIndex<Ix>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<V> Index<NodeIndex<usize>> for AaForest<V> where
V: ValueType,
[src]
V: ValueType,
impl<K, V> Index<NodeIndex<usize>> for AaTree<K, V> where
K: KeyType,
V: ValueType,
[src]
K: KeyType,
V: ValueType,
impl<V, W> Index<NodeIndex<usize>> for WeightedAaForest<V, W> where
V: ValueType,
W: WeightType,
[src]
V: ValueType,
W: WeightType,
impl<K, V, W> Index<NodeIndex<usize>> for WeightedAaTree<K, V, W> where
K: KeyType,
V: ValueType,
W: WeightType,
[src]
K: KeyType,
V: ValueType,
W: WeightType,
impl<V> Index<NodeIndex<usize>> for Forest<V> where
V: ValueType,
[src]
V: ValueType,
impl<V> IndexMut<NodeIndex<usize>> for AaForest<V> where
V: ValueType,
[src]
V: ValueType,
impl<K, V> IndexMut<NodeIndex<usize>> for AaTree<K, V> where
K: KeyType,
V: ValueType,
[src]
K: KeyType,
V: ValueType,
impl<V, W> IndexMut<NodeIndex<usize>> for WeightedAaForest<V, W> where
V: ValueType,
W: WeightType,
[src]
V: ValueType,
W: WeightType,
impl<K, V, W> IndexMut<NodeIndex<usize>> for WeightedAaTree<K, V, W> where
K: KeyType,
V: ValueType,
W: WeightType,
[src]
K: KeyType,
V: ValueType,
W: WeightType,
impl<V> IndexMut<NodeIndex<usize>> for Forest<V> where
V: ValueType,
[src]
V: ValueType,
impl<Ix: Ord> Ord for NodeIndex<Ix>
[src]
fn cmp(&self, other: &NodeIndex<Ix>) -> 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<Ix: PartialEq> PartialEq<NodeIndex<Ix>> for NodeIndex<Ix>
[src]
impl<Ix: PartialOrd> PartialOrd<NodeIndex<Ix>> for NodeIndex<Ix>
[src]
fn partial_cmp(&self, other: &NodeIndex<Ix>) -> Option<Ordering>
[src]
fn lt(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn le(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn gt(&self, other: &NodeIndex<Ix>) -> bool
[src]
fn ge(&self, other: &NodeIndex<Ix>) -> bool
[src]
impl<Ix> StructuralEq for NodeIndex<Ix>
[src]
impl<Ix> StructuralPartialEq for NodeIndex<Ix>
[src]
Auto Trait Implementations
impl<Ix> RefUnwindSafe for NodeIndex<Ix> where
Ix: RefUnwindSafe,
Ix: RefUnwindSafe,
impl<Ix> Send for NodeIndex<Ix> where
Ix: Send,
Ix: Send,
impl<Ix> Sync for NodeIndex<Ix> where
Ix: Sync,
Ix: Sync,
impl<Ix> Unpin for NodeIndex<Ix> where
Ix: Unpin,
Ix: Unpin,
impl<Ix> UnwindSafe for NodeIndex<Ix> where
Ix: UnwindSafe,
Ix: UnwindSafe,
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> From<T> for T
[src]
impl<T> IndexType for T where
T: Default + Debug + Copy + Eq + Ord,
[src]
T: Default + Debug + Copy + Eq + Ord,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> KeyType for T where
T: Default + Debug + Copy + Eq + Ord + Hash,
[src]
T: Default + Debug + Copy + Eq + Ord + Hash,
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>,
fn vzip(self) -> V
impl<T> ValueType for T where
T: Default + Debug,
[src]
T: Default + Debug,