pub struct SliceParameterBufferVP8(/* private fields */);Expand description
Wrapper over the VASliceParameterBufferVP8 FFI type.
Implementations§
Source§impl SliceParameterBufferVP8
impl SliceParameterBufferVP8
Sourcepub fn new(
slice_data_size: u32,
slice_data_offset: u32,
slice_data_flag: u32,
macroblock_offset: u32,
num_of_partitions: u8,
partition_size: [u32; 9],
) -> Self
pub fn new( slice_data_size: u32, slice_data_offset: u32, slice_data_flag: u32, macroblock_offset: u32, num_of_partitions: u8, partition_size: [u32; 9], ) -> Self
Creates the wrapper.
Sourcepub fn inner(&self) -> &VASliceParameterBufferVP8
pub fn inner(&self) -> &VASliceParameterBufferVP8
Returns the inner FFI type. Useful for testing purposes.
Auto Trait Implementations§
impl Freeze for SliceParameterBufferVP8
impl RefUnwindSafe for SliceParameterBufferVP8
impl Send for SliceParameterBufferVP8
impl Sync for SliceParameterBufferVP8
impl Unpin for SliceParameterBufferVP8
impl UnsafeUnpin for SliceParameterBufferVP8
impl UnwindSafe for SliceParameterBufferVP8
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