pub enum NodeStorageEntry<'a> {
Mem(NodePtr<'a>),
Unlocked(NodeEntry<'a>),
}Variants§
Implementations§
Source§impl<'a> NodeStorageEntry<'a>
impl<'a> NodeStorageEntry<'a>
pub fn as_ref(&self) -> NodeStorageRef<'_>
Source§impl<'b> NodeStorageEntry<'b>
impl<'b> NodeStorageEntry<'b>
pub fn into_edges_iter( self, layers: &LayerIds, dir: Direction, ) -> impl Iterator<Item = EdgeRef> + use<'b, '_>
pub fn metadata_ids(self) -> BoxedLIter<'b, usize>
pub fn temporal_prop_ids(self) -> Box<dyn Iterator<Item = usize> + 'b>
Trait Implementations§
Source§impl<'a, 'b: 'a> From<&'a NodeStorageEntry<'b>> for NodeStorageRef<'a>
impl<'a, 'b: 'a> From<&'a NodeStorageEntry<'b>> for NodeStorageRef<'a>
Source§fn from(value: &'a NodeStorageEntry<'b>) -> Self
fn from(value: &'a NodeStorageEntry<'b>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<NodeEntry<'a>> for NodeStorageEntry<'a>
impl<'a> From<NodeEntry<'a>> for NodeStorageEntry<'a>
Source§impl<'a> From<NodePtr<'a>> for NodeStorageEntry<'a>
impl<'a> From<NodePtr<'a>> for NodeStorageEntry<'a>
Source§impl<'a, 'b: 'a> NodeStorageOps<'a> for &'a NodeStorageEntry<'b>
impl<'a, 'b: 'a> NodeStorageOps<'a> for &'a NodeStorageEntry<'b>
fn degree(self, layers: &LayerIds, dir: Direction) -> usize
fn additions(self) -> NodeAdditions<'a>
fn tprop(self, prop_id: usize) -> impl TPropOps<'a>
fn edges_iter( self, layers: &LayerIds, dir: Direction, ) -> impl Iterator<Item = EdgeRef> + 'a
fn node_type_id(self) -> usize
fn vid(self) -> VID
fn id(self) -> GidRef<'a>
fn name(self) -> Option<Cow<'a, str>>
fn find_edge(self, dst: VID, layer_ids: &LayerIds) -> Option<EdgeRef>
fn prop(self, prop_id: usize) -> Option<Prop>
fn tprops(self) -> impl Iterator<Item = (usize, impl TPropOps<'a>)>
Auto Trait Implementations§
impl<'a> Freeze for NodeStorageEntry<'a>
impl<'a> !RefUnwindSafe for NodeStorageEntry<'a>
impl<'a> Send for NodeStorageEntry<'a>
impl<'a> Sync for NodeStorageEntry<'a>
impl<'a> Unpin for NodeStorageEntry<'a>
impl<'a> !UnwindSafe for NodeStorageEntry<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more