pub struct DependencyList { /* private fields */ }Expand description
Deterministic list of explicit node dependencies.
Implementations§
Source§impl DependencyList
impl DependencyList
Sourcepub fn new(nodes: impl IntoIterator<Item = NodeId>) -> GraphResult<Self>
pub fn new(nodes: impl IntoIterator<Item = NodeId>) -> GraphResult<Self>
Creates a dependency list, rejecting duplicate node ids.
Trait Implementations§
Source§impl Clone for DependencyList
impl Clone for DependencyList
Source§fn clone(&self) -> DependencyList
fn clone(&self) -> DependencyList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyList
impl Debug for DependencyList
Source§impl Default for DependencyList
impl Default for DependencyList
Source§fn default() -> DependencyList
fn default() -> DependencyList
Returns the “default value” for a type. Read more
impl Eq for DependencyList
Source§impl IntoIterator for DependencyList
impl IntoIterator for DependencyList
Source§impl PartialEq for DependencyList
impl PartialEq for DependencyList
Source§fn eq(&self, other: &DependencyList) -> bool
fn eq(&self, other: &DependencyList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DependencyList
Auto Trait Implementations§
impl Freeze for DependencyList
impl RefUnwindSafe for DependencyList
impl Send for DependencyList
impl Sync for DependencyList
impl Unpin for DependencyList
impl UnsafeUnpin for DependencyList
impl UnwindSafe for DependencyList
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