pub struct NodeStorage { /* private fields */ }Implementations§
Source§impl NodeStorage
impl NodeStorage
Source§impl NodeStorage
impl NodeStorage
pub fn read_lock(&self) -> ReadLockedStorage
pub fn write_lock(&self) -> WriteLockedNodes<'_>
pub fn new(n_locks: usize) -> Self
pub fn push( &self, value: NodeStore, ) -> UninitialisedEntry<'_, NodeStore, NodeSlot>
pub fn set(&self, value: NodeStore)
pub fn entry(&self, index: VID) -> NodeEntry<'_>
pub fn entry_mut( &self, index: VID, ) -> EntryMut<'_, RwLockWriteGuard<'_, NodeSlot>>
pub fn prop_entry_mut( &self, index: VID, ) -> impl DerefMut<Target = TColumns> + '_
pub fn pair_entry_mut(&self, i: VID, j: VID) -> PairEntryMut<'_>
👎Deprecated: use loop_pair_entry_mut instead
pub fn loop_pair_entry_mut(&self, i: VID, j: VID) -> PairEntryMut<'_>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn next_id(&self) -> VID
Trait Implementations§
Source§impl Debug for NodeStorage
impl Debug for NodeStorage
Source§impl<'de> Deserialize<'de> for NodeStorage
impl<'de> Deserialize<'de> for NodeStorage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodeStorage
impl PartialEq for NodeStorage
Auto Trait Implementations§
impl !Freeze for NodeStorage
impl !RefUnwindSafe for NodeStorage
impl Send for NodeStorage
impl Sync for NodeStorage
impl Unpin for NodeStorage
impl !UnwindSafe for NodeStorage
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