Struct gphoto2::file::CameraFile
source · [−]pub struct CameraFile { /* private fields */ }Expand description
File on a camera
Downloading examples
In memory
use gphoto2::{Context, Result};
let context = Context::new()?;
let camera = context.autodetect_camera()?;
let file = camera.capture_image()?;
let file_data = file.get_in_memory(&camera)?.get_data()?;
Implementations
sourceimpl CameraFile
impl CameraFile
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CameraFile
impl !Send for CameraFile
impl !Sync for CameraFile
impl Unpin for CameraFile
impl UnwindSafe for CameraFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more