Struct aravis_sys::ArvDeviceClass[][src]

#[repr(C)]
pub struct ArvDeviceClass { pub parent_class: GObjectClass, pub create_stream: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: ArvStreamCallback, _: *mut c_void, _: *mut *mut GError) -> *mut ArvStream>, pub get_genicam_xml: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: *mut size_t) -> *const c_char>, pub get_genicam: Option<unsafe extern "C" fn(_: *mut ArvDevice) -> *mut ArvGc>, pub read_memory: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut c_void, _: *mut *mut GError) -> gboolean>, pub write_memory: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut c_void, _: *mut *mut GError) -> gboolean>, pub read_register: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut *mut GError) -> gboolean>, pub write_register: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut *mut GError) -> gboolean>, pub control_lost: Option<unsafe extern "C" fn(_: *mut ArvDevice)>, }

Fields

parent_class: GObjectClasscreate_stream: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: ArvStreamCallback, _: *mut c_void, _: *mut *mut GError) -> *mut ArvStream>get_genicam_xml: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: *mut size_t) -> *const c_char>get_genicam: Option<unsafe extern "C" fn(_: *mut ArvDevice) -> *mut ArvGc>read_memory: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut c_void, _: *mut *mut GError) -> gboolean>write_memory: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut c_void, _: *mut *mut GError) -> gboolean>read_register: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut *mut GError) -> gboolean>write_register: Option<unsafe extern "C" fn(_: *mut ArvDevice, _: u64, _: u32, _: *mut *mut GError) -> gboolean>control_lost: Option<unsafe extern "C" fn(_: *mut ArvDevice)>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.