Struct Video Alignment 
Source pub struct VideoAlignment(/* private fields */);Implementations§
Source§impl VideoAlignment
 
impl VideoAlignment
pub fn padding_top(&self) -> u32
pub fn padding_bottom(&self) -> u32
pub fn padding_left(&self) -> u32
pub fn padding_right(&self) -> u32
pub fn stride_align(&self) -> &[u32; 4]
pub fn set_padding_top(&mut self, padding_top: u32)
pub fn set_padding_bottom(&mut self, padding_bottom: u32)
pub fn set_padding_left(&mut self, padding_left: u32)
pub fn set_padding_right(&mut self, padding_right: u32)
pub fn stride_align_mut(&mut self) -> &mut [u32; 4]
pub fn new( padding_top: u32, padding_bottom: u32, padding_left: u32, padding_right: u32, stride_align: &[u32; 4], ) -> Self
Trait Implementations§
Source§impl Clone for VideoAlignment
 
impl Clone for VideoAlignment
Source§fn clone(&self) -> VideoAlignment
 
fn clone(&self) -> VideoAlignment
Returns a duplicate 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 VideoAlignment
 
impl Debug for VideoAlignment
Source§impl Default for VideoAlignment
 
impl Default for VideoAlignment
Source§impl PartialEq for VideoAlignment
 
impl PartialEq for VideoAlignment
impl Copy for VideoAlignment
impl Eq for VideoAlignment
Auto Trait Implementations§
impl Freeze for VideoAlignment
impl RefUnwindSafe for VideoAlignment
impl Send for VideoAlignment
impl Sync for VideoAlignment
impl Unpin for VideoAlignment
impl UnwindSafe for VideoAlignment
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more