pub struct VertexData<EID: MemGraphId, N> {
pub first_outbound_edge: Option<EID>,
pub first_inbound_edge: Option<EID>,
pub node: N,
}Fields§
§first_outbound_edge: Option<EID>§first_inbound_edge: Option<EID>§node: NImplementations§
Source§impl<EID: MemGraphId + Copy, N> VertexData<EID, N>
impl<EID: MemGraphId + Copy, N> VertexData<EID, N>
pub fn new(n: N) -> Self
pub fn get_first_outbound_edge(&self) -> Option<EID>
pub fn get_first_inbound_edge(&self) -> Option<EID>
Trait Implementations§
Source§impl<EID: Clone + MemGraphId, N: Clone> Clone for VertexData<EID, N>
impl<EID: Clone + MemGraphId, N: Clone> Clone for VertexData<EID, N>
Source§fn clone(&self) -> VertexData<EID, N>
fn clone(&self) -> VertexData<EID, N>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<EID, N> Freeze for VertexData<EID, N>
impl<EID, N> RefUnwindSafe for VertexData<EID, N>where
N: RefUnwindSafe,
EID: RefUnwindSafe,
impl<EID, N> Send for VertexData<EID, N>
impl<EID, N> Sync for VertexData<EID, N>
impl<EID, N> Unpin for VertexData<EID, N>
impl<EID, N> UnwindSafe for VertexData<EID, N>where
N: UnwindSafe,
EID: 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