pub struct GraphNodeBlockInput<'a> {
pub codes: &'a [u8],
pub factors: Bit4Factors,
pub flags: u8,
pub neighbors: &'a [u32],
}Expand description
Borrowed values written into one fixed-stride node block.
Fields§
§codes: &'a [u8]Existing frozen MSB-first packed Bit4 row, including zero padding.
factors: Bit4FactorsPersisted Bit4 factor fields in their frozen declaration order.
flags: u8Bit 0 marks an entry seed; bit 1 marks a hub.
neighbors: &'a [u32]Dense segment-local neighbour row ids.
Trait Implementations§
Source§impl<'a> Clone for GraphNodeBlockInput<'a>
impl<'a> Clone for GraphNodeBlockInput<'a>
Source§fn clone(&self) -> GraphNodeBlockInput<'a>
fn clone(&self) -> GraphNodeBlockInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for GraphNodeBlockInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for GraphNodeBlockInput<'a>
impl<'a> RefUnwindSafe for GraphNodeBlockInput<'a>
impl<'a> Send for GraphNodeBlockInput<'a>
impl<'a> Sync for GraphNodeBlockInput<'a>
impl<'a> Unpin for GraphNodeBlockInput<'a>
impl<'a> UnsafeUnpin for GraphNodeBlockInput<'a>
impl<'a> UnwindSafe for GraphNodeBlockInput<'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