pub struct UndirectedEdge;Expand description
Represents an undirected edge type.
Trait Implementations§
Source§impl EdgeDir for UndirectedEdge
For documentation about each function checkout EdgeDir trait.
impl EdgeDir for UndirectedEdge
For documentation about each function checkout EdgeDir trait.
Source§fn is_directed() -> bool
fn is_directed() -> bool
§Complexity
O(1)
Source§fn is_undirected() -> bool
fn is_undirected() -> bool
§Complexity
O(1)
Auto Trait Implementations§
impl Freeze for UndirectedEdge
impl RefUnwindSafe for UndirectedEdge
impl Send for UndirectedEdge
impl Sync for UndirectedEdge
impl Unpin for UndirectedEdge
impl UnwindSafe for UndirectedEdge
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