pub struct CameraStill {
pub jpeg: Vec<u8>,
}Expand description
A full-resolution still photograph as an encoded image.
Unlike a viewfinder frame, a still comes through the platform’s dedicated photo pipeline at full sensor resolution. The bytes are an encoded JPEG whose EXIF orientation tag reflects the device rotation; decode with an orientation-aware decoder.
Fields§
§jpeg: Vec<u8>Trait Implementations§
Source§impl Clone for CameraStill
impl Clone for CameraStill
Source§impl Debug for CameraStill
impl Debug for CameraStill
impl Eq for CameraStill
Source§impl PartialEq for CameraStill
impl PartialEq for CameraStill
impl StructuralPartialEq for CameraStill
Auto Trait Implementations§
impl Freeze for CameraStill
impl RefUnwindSafe for CameraStill
impl Send for CameraStill
impl Sync for CameraStill
impl Unpin for CameraStill
impl UnsafeUnpin for CameraStill
impl UnwindSafe for CameraStill
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