pub struct CameraStill {
pub jpeg: Vec<u8>,
}Expand description
A full-resolution still photograph as an encoded image.
Unlike CameraFrame (a viewfinder-resolution stream frame), a still is
captured through the platform’s dedicated photo pipeline at full sensor
resolution — on iOS that is AVCapturePhotoOutput, roughly 12 MP versus the
720p-class viewfinder. 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§fn clone(&self) -> CameraStill
fn clone(&self) -> CameraStill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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