#[repr(C)]pub struct indigo_property {Show 16 fields
pub device: [c_char; 128],
pub name: [c_char; 128],
pub group: [c_char; 128],
pub label: [c_char; 512],
pub hints: [c_char; 512],
pub state: indigo_property_state,
pub type_: indigo_property_type,
pub perm: indigo_property_perm,
pub rule: indigo_rule,
pub access_token: indigo_token,
pub version: c_short,
pub hidden: bool,
pub defined: bool,
pub allocated_count: c_int,
pub count: c_int,
pub items: __IncompleteArrayField<indigo_item>,
}Expand description
Property definition.
Fields§
§device: [c_char; 128]< system wide unique device name
name: [c_char; 128]< device wide unique property name
group: [c_char; 128]< property group in human readable form (presented as a tab or a subtree in GUI
label: [c_char; 512]< property description in human readable form
hints: [c_char; 512]< property GUI hints
state: indigo_property_state< property state
type_: indigo_property_type< property type
perm: indigo_property_perm< property access permission
rule: indigo_rule< switch behaviour rule (for switch properties)
access_token: indigo_token< allow change request on locked device
version: c_short< property version INDIGO_VERSION_NONE, INDIGO_VERSION_LEGACY or INDIGO_VERSION_2_0
< property is hidden/unused by driver (for optional properties)
defined: bool< property is defined
allocated_count: c_int< number of allocated property items
count: c_int< number of used property items
items: __IncompleteArrayField<indigo_item>< property items
Auto Trait Implementations§
impl Freeze for indigo_property
impl RefUnwindSafe for indigo_property
impl !Send for indigo_property
impl !Sync for indigo_property
impl Unpin for indigo_property
impl UnwindSafe for indigo_property
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