Skip to main content

Segment

Type Alias Segment 

Source
pub type Segment = FixedVec<u8, SegmentLen>;
Expand description

A segment of data.

Aliased Type§

pub struct Segment(/* private fields */);

Implementations§

Source§

impl Segment

Source

pub fn as_array(&self) -> &[u8; 4104]

Trait Implementations§

Source§

impl AsRef<[u8; 4104]> for Segment

Source§

fn as_ref(&self) -> &[u8; 4104]

Converts this type into a shared reference of the (usually inferred) input type.