Struct vapoursynth::video_info::Resolution
source · [−]Expand description
Represents video resolution.
Fields
width: usize
Width of the clip, greater than 0.
height: usize
Height of the clip, greater than 0.
Trait Implementations
sourceimpl Clone for Resolution
impl Clone for Resolution
sourcefn clone(&self) -> Resolution
fn clone(&self) -> Resolution
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 Resolution
impl Debug for Resolution
sourceimpl Hash for Resolution
impl Hash for Resolution
sourceimpl PartialEq<Resolution> for Resolution
impl PartialEq<Resolution> for Resolution
sourcefn eq(&self, other: &Resolution) -> bool
fn eq(&self, other: &Resolution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Resolution) -> bool
fn ne(&self, other: &Resolution) -> bool
This method tests for !=
.
impl Copy for Resolution
impl Eq for Resolution
impl StructuralEq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnwindSafe for Resolution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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