Struct nvidia_video_codec_sdk::sys::nvcuvid::_CUVIDSOURCEDATAPACKET
source · #[repr(C)]pub struct _CUVIDSOURCEDATAPACKET {
pub flags: c_ulong,
pub payload_size: c_ulong,
pub payload: *const c_uchar,
pub timestamp: CUvideotimestamp,
}
Fields§
§flags: c_ulong
§payload_size: c_ulong
§payload: *const c_uchar
§timestamp: CUvideotimestamp
Trait Implementations§
source§impl Clone for _CUVIDSOURCEDATAPACKET
impl Clone for _CUVIDSOURCEDATAPACKET
source§fn clone(&self) -> _CUVIDSOURCEDATAPACKET
fn clone(&self) -> _CUVIDSOURCEDATAPACKET
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 _CUVIDSOURCEDATAPACKET
impl Debug for _CUVIDSOURCEDATAPACKET
source§impl Default for _CUVIDSOURCEDATAPACKET
impl Default for _CUVIDSOURCEDATAPACKET
source§impl Hash for _CUVIDSOURCEDATAPACKET
impl Hash for _CUVIDSOURCEDATAPACKET
source§impl Ord for _CUVIDSOURCEDATAPACKET
impl Ord for _CUVIDSOURCEDATAPACKET
source§fn cmp(&self, other: &_CUVIDSOURCEDATAPACKET) -> Ordering
fn cmp(&self, other: &_CUVIDSOURCEDATAPACKET) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<_CUVIDSOURCEDATAPACKET> for _CUVIDSOURCEDATAPACKET
impl PartialEq<_CUVIDSOURCEDATAPACKET> for _CUVIDSOURCEDATAPACKET
source§fn eq(&self, other: &_CUVIDSOURCEDATAPACKET) -> bool
fn eq(&self, other: &_CUVIDSOURCEDATAPACKET) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_CUVIDSOURCEDATAPACKET> for _CUVIDSOURCEDATAPACKET
impl PartialOrd<_CUVIDSOURCEDATAPACKET> for _CUVIDSOURCEDATAPACKET
source§fn partial_cmp(&self, other: &_CUVIDSOURCEDATAPACKET) -> Option<Ordering>
fn partial_cmp(&self, other: &_CUVIDSOURCEDATAPACKET) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for _CUVIDSOURCEDATAPACKET
impl Eq for _CUVIDSOURCEDATAPACKET
impl StructuralEq for _CUVIDSOURCEDATAPACKET
impl StructuralPartialEq for _CUVIDSOURCEDATAPACKET
Auto Trait Implementations§
impl RefUnwindSafe for _CUVIDSOURCEDATAPACKET
impl !Send for _CUVIDSOURCEDATAPACKET
impl !Sync for _CUVIDSOURCEDATAPACKET
impl Unpin for _CUVIDSOURCEDATAPACKET
impl UnwindSafe for _CUVIDSOURCEDATAPACKET
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