pub struct EdgeRef<'a, NK, EK, S>{ /* private fields */ }
Implementations§
Source§impl<'a, NK, EK, S> EdgeRef<'a, NK, EK, S>
impl<'a, NK, EK, S> EdgeRef<'a, NK, EK, S>
pub fn get_weight(&self) -> &'a S::E
pub fn get_weight_downcast<E>(&self) -> SchemaResult<&'a E, NK, EK, S>
pub fn get_source(&self) -> NK
pub fn get_target(&self) -> NK
pub fn get_type(&self) -> <S::E as Typed>::Type
pub fn get_outer(&self) -> NK
pub fn get_inner(&self) -> NK
pub fn get_direction(&self) -> Direction
Trait Implementations§
Auto Trait Implementations§
impl<'a, NK, EK, S> Freeze for EdgeRef<'a, NK, EK, S>where
NK: Freeze,
impl<'a, NK, EK, S> RefUnwindSafe for EdgeRef<'a, NK, EK, S>
impl<'a, NK, EK, S> Send for EdgeRef<'a, NK, EK, S>
impl<'a, NK, EK, S> Sync for EdgeRef<'a, NK, EK, S>
impl<'a, NK, EK, S> Unpin for EdgeRef<'a, NK, EK, S>where
NK: Unpin,
impl<'a, NK, EK, S> UnwindSafe for EdgeRef<'a, NK, EK, S>
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