__dc1394_camera

Struct __dc1394_camera 

Source
#[repr(C)]
pub struct __dc1394_camera {
Show 26 fields pub guid: u64, pub unit: c_int, pub unit_spec_ID: u32, pub unit_sw_version: u32, pub unit_sub_sw_version: u32, pub command_registers_base: u32, pub unit_directory: u32, pub unit_dependent_directory: u32, pub advanced_features_csr: u64, pub PIO_control_csr: u64, pub SIO_control_csr: u64, pub strobe_control_csr: u64, pub format7_csr: [u64; 8], pub iidc_version: Type, pub vendor: *mut c_char, pub model: *mut c_char, pub vendor_id: u32, pub model_id: u32, pub bmode_capable: Type, pub one_shot_capable: Type, pub multi_shot_capable: Type, pub can_switch_on_off: Type, pub has_vmode_error_status: Type, pub has_feature_error_status: Type, pub max_mem_channel: c_int, pub flags: u32,
}
Expand description

Camera structure

This structure represents the camera in libdc1394. It contains a number of useful static information, such as model/vendor names, a few capabilities, some ROM offsets, a unique identifier, etc…

Fields§

§guid: u64§unit: c_int§unit_spec_ID: u32§unit_sw_version: u32§unit_sub_sw_version: u32§command_registers_base: u32§unit_directory: u32§unit_dependent_directory: u32§advanced_features_csr: u64§PIO_control_csr: u64§SIO_control_csr: u64§strobe_control_csr: u64§format7_csr: [u64; 8]§iidc_version: Type§vendor: *mut c_char§model: *mut c_char§vendor_id: u32§model_id: u32§bmode_capable: Type§one_shot_capable: Type§multi_shot_capable: Type§can_switch_on_off: Type§has_vmode_error_status: Type§has_feature_error_status: Type§max_mem_channel: c_int§flags: u32

Trait Implementations§

Source§

impl Clone for __dc1394_camera

Source§

fn clone(&self) -> __dc1394_camera

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for __dc1394_camera

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for __dc1394_camera

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.