#[repr(C)]pub struct PageLocalEdge {
pub src_node_idx: u16,
pub _pad1: [u8; 6],
pub dst_node_id: u64,
pub weight: f32,
pub flags: u32,
}Expand description
Edge record stored locally within a page. src_node_idx is page-local; dst_node_id is global.
Fields§
§src_node_idx: u16§_pad1: [u8; 6]§dst_node_id: u64§weight: f32§flags: u32Trait Implementations§
Source§impl Clone for PageLocalEdge
impl Clone for PageLocalEdge
Source§fn clone(&self) -> PageLocalEdge
fn clone(&self) -> PageLocalEdge
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 moreSource§impl Debug for PageLocalEdge
impl Debug for PageLocalEdge
impl Copy for PageLocalEdge
impl Pod for PageLocalEdge
Auto Trait Implementations§
impl Freeze for PageLocalEdge
impl RefUnwindSafe for PageLocalEdge
impl Send for PageLocalEdge
impl Sync for PageLocalEdge
impl Unpin for PageLocalEdge
impl UnsafeUnpin for PageLocalEdge
impl UnwindSafe for PageLocalEdge
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.