#[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§
impl Freeze for indigo_device_context
impl RefUnwindSafe for indigo_device_context
impl !Send for indigo_device_context
impl !Sync for indigo_device_context
impl Unpin for indigo_device_context
impl UnwindSafe for indigo_device_context
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