pub struct LiveCamera { /* private fields */ }Expand description
Live built-in camera: a one-shot TCP:6000 grab against the printer.
Implementations§
Source§impl LiveCamera
impl LiveCamera
pub fn new(target: ResolvedTarget) -> Self
Trait Implementations§
Source§impl CameraSource for LiveCamera
impl CameraSource for LiveCamera
Source§fn configured(&self) -> bool
fn configured(&self) -> bool
Whether a built-in camera could be reached at all (live mode with a
target). The A1 camera is intermittently off, so
true does not
guarantee snapshot will return a frame.Auto Trait Implementations§
impl Freeze for LiveCamera
impl RefUnwindSafe for LiveCamera
impl Send for LiveCamera
impl Sync for LiveCamera
impl Unpin for LiveCamera
impl UnsafeUnpin for LiveCamera
impl UnwindSafe for LiveCamera
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