pub struct CaptureView<'a> {
pub id: u64,
pub frame: &'a CaptureFrame,
pub rect: Rect,
pub fit: Fit,
}Expand description
A screencopy view’s frame, ready to draw.
Fields§
§id: u64Names the view, so a cache can keep its frame scaled to its box.
frame: &'a CaptureFrameThe frame last captured.
rect: RectWhere: the view’s content box.
fit: FitHow the frame fills the box.
Auto Trait Implementations§
impl<'a> !Send for CaptureView<'a>
impl<'a> !Sync for CaptureView<'a>
impl<'a> Forget for CaptureView<'a>
impl<'a> Freeze for CaptureView<'a>
impl<'a> Move for CaptureView<'a>
impl<'a> RefUnwindSafe for CaptureView<'a>
impl<'a> Unpin for CaptureView<'a>
impl<'a> UnsafeUnpin for CaptureView<'a>
impl<'a> UnwindSafe for CaptureView<'a>
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