pub struct FrameCamera {
pub is_photo: bool,
pub is_video: bool,
pub sd_card_is_inserted: bool,
pub sd_card_state: Option<SDCardState>,
}Fields§
§is_photo: boolIndicates if the camera is in photo mode
is_video: boolIndicates if the camera is in video mode
sd_card_is_inserted: boolIndicates if an SD card is inserted
sd_card_state: Option<SDCardState>Current state of the SD card
Trait Implementations§
Source§impl Clone for FrameCamera
impl Clone for FrameCamera
Source§fn clone(&self) -> FrameCamera
fn clone(&self) -> FrameCamera
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameCamera
impl Debug for FrameCamera
Source§impl Default for FrameCamera
impl Default for FrameCamera
Source§fn default() -> FrameCamera
fn default() -> FrameCamera
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameCamera
impl RefUnwindSafe for FrameCamera
impl Send for FrameCamera
impl Sync for FrameCamera
impl Unpin for FrameCamera
impl UnwindSafe for FrameCamera
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