Struct hevc_parser::hevc::sei::SeiMessage
source · pub struct SeiMessage {
pub msg_offset: usize,
pub payload_type: u8,
pub payload_offset: usize,
pub payload_size: usize,
/* private fields */
}
Fields§
§msg_offset: usize
§payload_type: u8
§payload_offset: usize
§payload_size: usize
Implementations§
source§impl SeiMessage
impl SeiMessage
sourcepub fn parse_sei_rbsp(data: &[u8]) -> Result<Vec<SeiMessage>>
pub fn parse_sei_rbsp(data: &[u8]) -> Result<Vec<SeiMessage>>
Assumes the data does not contain any emulation_prevention_three_byte
s
Trait Implementations§
source§impl Clone for SeiMessage
impl Clone for SeiMessage
source§fn clone(&self) -> SeiMessage
fn clone(&self) -> SeiMessage
Returns a copy of the value. Read more
1.0.0 · 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 SeiMessage
impl Debug for SeiMessage
source§impl Default for SeiMessage
impl Default for SeiMessage
source§fn default() -> SeiMessage
fn default() -> SeiMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SeiMessage
impl Send for SeiMessage
impl Sync for SeiMessage
impl Unpin for SeiMessage
impl UnwindSafe for SeiMessage
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