pub struct Graph<D, E> { /* private fields */ }
Expand description
グラフ
Implementations§
Trait Implementations§
Source§impl<E: EdgeTrait + Clone> Extend<E> for Graph<Directed, E>
impl<E: EdgeTrait + Clone> Extend<E> for Graph<Directed, E>
Source§fn extend<T: IntoIterator<Item = E>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = E>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<E: EdgeTrait + Clone> Extend<E> for Graph<Undirected, E>
impl<E: EdgeTrait + Clone> Extend<E> for Graph<Undirected, E>
Source§fn extend<T: IntoIterator<Item = E>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = E>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl<D, E> Freeze for Graph<D, E>
impl<D, E> RefUnwindSafe for Graph<D, E>where
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for Graph<D, E>
impl<D, E> Sync for Graph<D, E>
impl<D, E> Unpin for Graph<D, E>
impl<D, E> UnwindSafe for Graph<D, E>where
D: UnwindSafe,
E: UnwindSafe,
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