Struct nvidia_video_codec_sdk::sys::nvEncodeAPI::_NVENC_RECT
source · #[repr(C)]pub struct _NVENC_RECT {
pub left: u32,
pub top: u32,
pub right: u32,
pub bottom: u32,
}
Fields§
§left: u32
§top: u32
§right: u32
§bottom: u32
Trait Implementations§
source§impl Clone for _NVENC_RECT
impl Clone for _NVENC_RECT
source§fn clone(&self) -> _NVENC_RECT
fn clone(&self) -> _NVENC_RECT
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 _NVENC_RECT
impl Debug for _NVENC_RECT
source§impl Default for _NVENC_RECT
impl Default for _NVENC_RECT
source§fn default() -> _NVENC_RECT
fn default() -> _NVENC_RECT
Returns the “default value” for a type. Read more
source§impl Hash for _NVENC_RECT
impl Hash for _NVENC_RECT
source§impl Ord for _NVENC_RECT
impl Ord for _NVENC_RECT
source§fn cmp(&self, other: &_NVENC_RECT) -> Ordering
fn cmp(&self, other: &_NVENC_RECT) -> 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<_NVENC_RECT> for _NVENC_RECT
impl PartialEq<_NVENC_RECT> for _NVENC_RECT
source§fn eq(&self, other: &_NVENC_RECT) -> bool
fn eq(&self, other: &_NVENC_RECT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NVENC_RECT> for _NVENC_RECT
impl PartialOrd<_NVENC_RECT> for _NVENC_RECT
source§fn partial_cmp(&self, other: &_NVENC_RECT) -> Option<Ordering>
fn partial_cmp(&self, other: &_NVENC_RECT) -> 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 _NVENC_RECT
impl Eq for _NVENC_RECT
impl StructuralEq for _NVENC_RECT
impl StructuralPartialEq for _NVENC_RECT
Auto Trait Implementations§
impl RefUnwindSafe for _NVENC_RECT
impl Send for _NVENC_RECT
impl Sync for _NVENC_RECT
impl Unpin for _NVENC_RECT
impl UnwindSafe for _NVENC_RECT
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