Struct ffmpeg_sys_next::AVDeviceRect
source · [−]#[repr(C)]pub struct AVDeviceRect {
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
}Fields
x: c_int< x coordinate of top left corner
y: c_int< y coordinate of top left corner
width: c_int< width
height: c_int< height
Trait Implementations
sourceimpl Clone for AVDeviceRect
impl Clone for AVDeviceRect
sourcefn clone(&self) -> AVDeviceRect
fn clone(&self) -> AVDeviceRect
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
sourceimpl Debug for AVDeviceRect
impl Debug for AVDeviceRect
sourceimpl PartialEq<AVDeviceRect> for AVDeviceRect
impl PartialEq<AVDeviceRect> for AVDeviceRect
sourcefn eq(&self, other: &AVDeviceRect) -> bool
fn eq(&self, other: &AVDeviceRect) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AVDeviceRect) -> bool
fn ne(&self, other: &AVDeviceRect) -> bool
This method tests for !=.
impl Copy for AVDeviceRect
impl Eq for AVDeviceRect
impl StructuralEq for AVDeviceRect
impl StructuralPartialEq for AVDeviceRect
Auto Trait Implementations
impl RefUnwindSafe for AVDeviceRect
impl Send for AVDeviceRect
impl Sync for AVDeviceRect
impl Unpin for AVDeviceRect
impl UnwindSafe for AVDeviceRect
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