indigo_device_context

Struct indigo_device_context 

Source
#[repr(C)]
pub struct indigo_device_context {
Show 17 fields pub property_save_file_handle: c_int, pub config_mutex: pthread_mutex_t, pub multi_device_mutex: pthread_mutex_t, pub timers: *mut indigo_timer, pub connection_property: *mut indigo_property, pub info_property: *mut indigo_property, pub simulation_property: *mut indigo_property, pub configuration_property: *mut indigo_property, pub profile_name_property: *mut indigo_property, pub profile_property: *mut indigo_property, pub device_port_property: *mut indigo_property, pub device_baudrate_property: *mut indigo_property, pub device_ports_property: *mut indigo_property, pub device_auth_property: *mut indigo_property, pub device_inst_property: *mut indigo_property, pub base_device: *mut indigo_device, pub additional_device_instances: [*mut indigo_device; 4],
}
Expand description

Device context structure.

Fields§

§property_save_file_handle: c_int

< handle for property save

§config_mutex: pthread_mutex_t

< mutex for configuration load/save synchronisation

§multi_device_mutex: pthread_mutex_t

< mutex for synchronising multi-device access over single low level connection

§timers: *mut indigo_timer

< active timer list

§connection_property: *mut indigo_property

< CONNECTION property pointer

§info_property: *mut indigo_property

< INFO property pointer

§simulation_property: *mut indigo_property

< SIMULATION property pointer

§configuration_property: *mut indigo_property

< CONFIGURATION property pointer

§profile_name_property: *mut indigo_property

< PROFILE_NAME property pointer

§profile_property: *mut indigo_property

< PROFILE property pointer

§device_port_property: *mut indigo_property

< DEVICE_PORT property pointer

§device_baudrate_property: *mut indigo_property

< DEVICE_BAUDRATE property pointer

§device_ports_property: *mut indigo_property

< DEVICE_PORTS property pointer

§device_auth_property: *mut indigo_property

< SECURITY property pointer

§device_inst_property: *mut indigo_property

< ADDITIONAL_INSTANCES property pointer

§base_device: *mut indigo_device

< base instance for additional devices

§additional_device_instances: [*mut indigo_device; 4]

< additional device instances

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> 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, 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.