pub struct Graph<N> { /* private fields */ }Implementations§
Source§impl<N> Graph<N>
impl<N> Graph<N>
pub fn new() -> Self
pub fn with<F: for<'any> FnOnce(GraphGuard<'any, N>) -> R, R>( &self, func: F, ) -> R
pub unsafe fn with_unchecked<'gg, 'slf>(&'slf self) -> GraphGuard<'gg, N>where
'slf: 'gg,
Auto Trait Implementations§
impl<N> !Freeze for Graph<N>
impl<N> !RefUnwindSafe for Graph<N>
impl<N> Send for Graph<N>where
N: Send,
impl<N> !Sync for Graph<N>
impl<N> Unpin for Graph<N>where
N: Unpin,
impl<N> UnwindSafe for Graph<N>where
N: 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