pub struct VideoRect {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
}Expand description
An output-space rectangle. Signed coordinates allow a layer to be moved partially outside the canvas while its size remains positive.
Fields§
§x: i32§y: i32§width: u32§height: u32Implementations§
Trait Implementations§
impl Copy for VideoRect
impl Eq for VideoRect
impl StructuralPartialEq for VideoRect
Auto Trait Implementations§
impl Freeze for VideoRect
impl RefUnwindSafe for VideoRect
impl Send for VideoRect
impl Sync for VideoRect
impl Unpin for VideoRect
impl UnsafeUnpin for VideoRect
impl UnwindSafe for VideoRect
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