Struct x264_framing::Unit [] [src]

pub struct Unit<'a> { /* fields omitted */ }

A unit of data, which corresponds to a NAL.

Really, I just wanted desperately to avoid creating a struct with a three-letter name. The alternative name isn't much better, though. Guess you'll just have to deal with it.


impl<'a> Unit<'a>

how important the unit is when it comes to decoding the video.

Trait Implementations

impl<'a> AsRef<[u8]> for Unit<'a>

Performs the conversion.