#[repr(C)]#[repr(align(4))]pub struct StdVideoEncodeH264SliceHeaderFlags {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Fields
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
__bindgen_padding_0: [u8; 3]
Implementations
sourceimpl StdVideoEncodeH264SliceHeaderFlags
impl StdVideoEncodeH264SliceHeaderFlags
pub fn idr_flag(&self) -> u32
pub fn set_idr_flag(&mut self, val: u32)
pub fn is_reference_flag(&self) -> u32
pub fn set_is_reference_flag(&mut self, val: u32)
pub fn num_ref_idx_active_override_flag(&self) -> u32
pub fn set_num_ref_idx_active_override_flag(&mut self, val: u32)
pub fn no_output_of_prior_pics_flag(&self) -> u32
pub fn set_no_output_of_prior_pics_flag(&mut self, val: u32)
pub fn long_term_reference_flag(&self) -> u32
pub fn set_long_term_reference_flag(&mut self, val: u32)
pub fn adaptive_ref_pic_marking_mode_flag(&self) -> u32
pub fn set_adaptive_ref_pic_marking_mode_flag(&mut self, val: u32)
pub fn no_prior_references_available_flag(&self) -> u32
pub fn set_no_prior_references_available_flag(&mut self, val: u32)
pub fn new_bitfield_1(
idr_flag: u32,
is_reference_flag: u32,
num_ref_idx_active_override_flag: u32,
no_output_of_prior_pics_flag: u32,
long_term_reference_flag: u32,
adaptive_ref_pic_marking_mode_flag: u32,
no_prior_references_available_flag: u32
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
sourceimpl Clone for StdVideoEncodeH264SliceHeaderFlags
impl Clone for StdVideoEncodeH264SliceHeaderFlags
sourcefn clone(&self) -> StdVideoEncodeH264SliceHeaderFlags
fn clone(&self) -> StdVideoEncodeH264SliceHeaderFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for StdVideoEncodeH264SliceHeaderFlags
Auto Trait Implementations
impl RefUnwindSafe for StdVideoEncodeH264SliceHeaderFlags
impl Send for StdVideoEncodeH264SliceHeaderFlags
impl Sync for StdVideoEncodeH264SliceHeaderFlags
impl Unpin for StdVideoEncodeH264SliceHeaderFlags
impl UnwindSafe for StdVideoEncodeH264SliceHeaderFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more