#[non_exhaustive]pub struct Pad {
pub top_pixels: i32,
pub bottom_pixels: i32,
pub left_pixels: i32,
pub right_pixels: i32,
/* private fields */
}Expand description
Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.top_pixels: i32The number of pixels to add to the top. The default is 0.
bottom_pixels: i32The number of pixels to add to the bottom. The default is 0.
left_pixels: i32The number of pixels to add to the left. The default is 0.
right_pixels: i32The number of pixels to add to the right. The default is 0.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Pad
Auto Trait Implementations§
impl Freeze for Pad
impl RefUnwindSafe for Pad
impl Send for Pad
impl Sync for Pad
impl Unpin for Pad
impl UnwindSafe for Pad
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