Struct linkspace_pkt::point_ptr::PointPtr
source · #[repr(C, align(4))]pub struct PointPtr { /* private fields */ }Implementations§
Trait Implementations§
source§impl Point for PointPtr
impl Point for PointPtr
fn data(&self) -> &[u8] ⓘ
fn tail(&self) -> Option<Tail<'_>>
fn keypoint_header(&self) -> Option<&KeyPointHeader>
source§fn linkpoint_header(&self) -> Option<&LinkPointHeader>
fn linkpoint_header(&self) -> Option<&LinkPointHeader>
Return a LinkPointHeader, works for both key and link points.
source§fn parts(&self) -> PointParts<'_> ⓘ
fn parts(&self) -> PointParts<'_> ⓘ
The rusty enum repr of a point.
fn point_header_ref(&self) -> &PointHeader
source§fn pkt_segments(&self) -> ByteSegments<'_> ⓘ
fn pkt_segments(&self) -> ByteSegments<'_> ⓘ
A utility function to translate this format into bytes for hashing & io