pub struct Frame {
pub crop: Rect,
pub place: Option<Rect>,
pub blur: Option<f64>,
}Expand description
One output frame’s geometry.
Fields§
§crop: RectSource window, in source pixels.
place: Option<Rect>Where it lands in the output, in output pixels; None fills the frame.
blur: Option<f64>Around a placed picture: a blurred copy of it, this radius in pixels of the placed
picture; None is black.
Trait Implementations§
impl Copy for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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