pub struct WgpuCapture<'a> { /* private fields */ }Expand description
Implementations§
Trait Implementations§
Source§impl Capture for WgpuCapture<'_>
impl Capture for WgpuCapture<'_>
Source§type Error = CaptureError
type Error = CaptureError
The error type returned when capture fails.
Source§fn capture(&mut self) -> Result<Screenshot, CaptureError>
fn capture(&mut self) -> Result<Screenshot, CaptureError>
Capture a screenshot from this source.
Auto Trait Implementations§
impl<'a> Freeze for WgpuCapture<'a>
impl<'a> !RefUnwindSafe for WgpuCapture<'a>
impl<'a> Send for WgpuCapture<'a>
impl<'a> Sync for WgpuCapture<'a>
impl<'a> Unpin for WgpuCapture<'a>
impl<'a> UnsafeUnpin for WgpuCapture<'a>
impl<'a> !UnwindSafe for WgpuCapture<'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