pub struct RawCapture {
pub frame: Frame,
pub origin_x: i32,
pub origin_y: i32,
pub logical_width: u32,
pub logical_height: u32,
pub capture_source: String,
pub occluded: bool,
pub warnings: Vec<String>,
}Expand description
Pixels from one capture, before max-width and canvas fitting.
Fields§
§frame: FrameDevice-pixel buffer and its backing scale.
origin_x: i32Left edge of the buffer in screen points.
origin_y: i32Top edge of the buffer in screen points.
logical_width: u32Width of the captured area in screen points.
logical_height: u32Height of the captured area in screen points.
capture_source: Stringsck, xcap, or stub.
occluded: boolTrue when the image is a desktop crop and covered pixels may be wrong.
warnings: Vec<String>Non-fatal notes. Empty when the capture was clean.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawCapture
impl RefUnwindSafe for RawCapture
impl Send for RawCapture
impl Sync for RawCapture
impl Unpin for RawCapture
impl UnsafeUnpin for RawCapture
impl UnwindSafe for RawCapture
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