pub struct Camera {Show 26 fields
pub is_connect: bool,
pub is_usb_connect: bool,
pub timer_sync_state: u8,
pub is_shooting_single_photo: bool,
pub is_recording: bool,
pub has_sd_card: bool,
pub sd_card_state: SDCardState,
pub is_upgrading: u8,
pub is_heat: bool,
pub is_capture_disable: bool,
pub is_ddr_storing: bool,
pub conti_capture: bool,
pub hdmi_output_status: bool,
pub encrypt_status: u8,
pub file_syn_state: bool,
pub rc_btn_forbid_state: bool,
pub get_focus_state: bool,
pub pano_timelapse_gimbal_state: bool,
pub is_enable_tracking_mode: bool,
pub work_mode: CameraWorkMode,
pub sd_card_total_capacity: u32,
pub sd_card_remain_capacity: u32,
pub remain_photo_num: u32,
pub remain_video_timer: u32,
pub record_time: u16,
pub camera_type: u8,
}Fields§
§is_connect: bool§is_usb_connect: bool§timer_sync_state: u8§is_shooting_single_photo: bool§is_recording: bool§has_sd_card: bool§sd_card_state: SDCardState§is_upgrading: u8§is_heat: bool§is_capture_disable: bool§is_ddr_storing: bool§conti_capture: bool§hdmi_output_status: bool§encrypt_status: u8§file_syn_state: bool§rc_btn_forbid_state: bool§get_focus_state: bool§pano_timelapse_gimbal_state: bool§is_enable_tracking_mode: bool§work_mode: CameraWorkMode§sd_card_total_capacity: u32MB
sd_card_remain_capacity: u32MB
remain_photo_num: u32§remain_video_timer: u32seconds
record_time: u16seconds
camera_type: u8Trait Implementations§
Source§impl BinRead for Camera
impl BinRead for Camera
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl ReadEndian for Camera
impl ReadEndian for Camera
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Auto Trait Implementations§
impl Freeze for Camera
impl RefUnwindSafe for Camera
impl Send for Camera
impl Sync for Camera
impl Unpin for Camera
impl UnwindSafe for Camera
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