pub enum NodeStorageRef<'a> {
Mem(NodePtr<'a>),
}Variants§
Implementations§
Source§impl<'a> NodeStorageRef<'a>
impl<'a> NodeStorageRef<'a>
Trait Implementations§
Source§impl<'a> Clone for NodeStorageRef<'a>
impl<'a> Clone for NodeStorageRef<'a>
Source§fn clone(&self) -> NodeStorageRef<'a>
fn clone(&self) -> NodeStorageRef<'a>
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 moreSource§impl<'a> Debug for NodeStorageRef<'a>
impl<'a> Debug for NodeStorageRef<'a>
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<NodePtr<'a>> for NodeStorageRef<'a>
impl<'a> From<NodePtr<'a>> for NodeStorageRef<'a>
Source§impl<'a> NodeStorageOps<'a> for NodeStorageRef<'a>
impl<'a> NodeStorageOps<'a> for NodeStorageRef<'a>
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>)>
impl<'a> Copy for NodeStorageRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeStorageRef<'a>
impl<'a> RefUnwindSafe for NodeStorageRef<'a>
impl<'a> Send for NodeStorageRef<'a>
impl<'a> Sync for NodeStorageRef<'a>
impl<'a> Unpin for NodeStorageRef<'a>
impl<'a> UnsafeUnpin for NodeStorageRef<'a>
impl<'a> UnwindSafe for NodeStorageRef<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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