pub struct UndirectedEdge {
pub a: usize,
pub b: usize,
}Fields§
§a: usize§b: usizeImplementations§
Trait Implementations§
Source§impl Clone for UndirectedEdge
impl Clone for UndirectedEdge
Source§fn clone(&self) -> UndirectedEdge
fn clone(&self) -> UndirectedEdge
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 UndirectedEdge
impl Debug for UndirectedEdge
Source§impl Hash for UndirectedEdge
impl Hash for UndirectedEdge
Source§impl PartialEq for UndirectedEdge
impl PartialEq for UndirectedEdge
Source§fn eq(&self, other: &UndirectedEdge) -> bool
fn eq(&self, other: &UndirectedEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UndirectedEdge
impl Eq for UndirectedEdge
impl StructuralPartialEq for UndirectedEdge
Auto Trait Implementations§
impl Freeze for UndirectedEdge
impl RefUnwindSafe for UndirectedEdge
impl Send for UndirectedEdge
impl Sync for UndirectedEdge
impl Unpin for UndirectedEdge
impl UnsafeUnpin 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