pub struct Slice<'a> {
pub header: SliceHeader,
pub nalu: Nalu<'a>,
}
Expand description
A H265 slice. An integer number of macroblocks or macroblock pairs ordered consecutively in the raster scan within a particular slice group
Fields§
§header: SliceHeader
The slice header.
nalu: Nalu<'a>
The NAL unit backing this slice.
Implementations§
Source§impl<'a> Slice<'a>
impl<'a> Slice<'a>
Sourcepub fn replace_header(&mut self, header: SliceHeader) -> Result<(), String>
pub fn replace_header(&mut self, header: SliceHeader) -> Result<(), String>
Sets the header for dependent slices by copying from an independent slice.
Auto Trait Implementations§
impl<'a> Freeze for Slice<'a>
impl<'a> RefUnwindSafe for Slice<'a>
impl<'a> Send for Slice<'a>
impl<'a> Sync for Slice<'a>
impl<'a> Unpin for Slice<'a>
impl<'a> UnwindSafe for Slice<'a>
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