Struct ruzstd::blocks::sequence_section::SequencesHeader
source · pub struct SequencesHeader {
pub num_sequences: u32,
pub modes: Option<CompressionModes>,
}
Fields§
§num_sequences: u32
§modes: Option<CompressionModes>
Implementations§
source§impl SequencesHeader
impl SequencesHeader
pub fn new() -> SequencesHeader
pub fn parse_from_header( &mut self, source: &[u8] ) -> Result<u8, SequencesHeaderParseError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SequencesHeader
impl Send for SequencesHeader
impl Sync for SequencesHeader
impl Unpin for SequencesHeader
impl UnwindSafe for SequencesHeader
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