pub struct VideoBox {
pub region: VideoRegion,
pub fill: [u8; 3],
}Expand description
One filled rectangle for overlay_boxes.
Fields§
§region: VideoRegionLuma-space bounds; chroma edges scale down with centered siting.
fill: [u8; 3]YUV code triplet in the frame’s component range.
Trait Implementations§
impl Copy for VideoBox
impl StructuralPartialEq for VideoBox
Auto Trait Implementations§
impl Forget for VideoBox
impl Freeze for VideoBox
impl Move for VideoBox
impl RefUnwindSafe for VideoBox
impl Send for VideoBox
impl Sync for VideoBox
impl Unpin for VideoBox
impl UnsafeUnpin for VideoBox
impl UnwindSafe for VideoBox
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