pub struct Edge<T, E> { /* private fields */ }Expand description
T 为边上容量的类型
E 为边上费用的类型
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for Edge<T, E>
impl<T, E> RefUnwindSafe for Edge<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for Edge<T, E>
impl<T, E> Sync for Edge<T, E>
impl<T, E> Unpin for Edge<T, E>
impl<T, E> UnwindSafe for Edge<T, E>where
T: 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