Struct panda_sys::GlobalProperty[][src]

#[repr(C)]
pub struct GlobalProperty { pub driver: *const c_char, pub property: *const c_char, pub value: *const c_char, pub user_provided: bool, pub used: bool, pub errp: *mut *mut Error, }
Expand description

GlobalProperty: @user_provided: Set to true if property comes from user-provided config (command-line or config file). @used: Set to true if property was used when initializing a device. @errp: Error destination, used like first argument of error_setg() in case property setting fails later. If @errp is NULL, we print warnings instead of ignoring errors silently. For hotplugged devices, errp is always ignored and warnings are printed instead.

Fields

driver: *const c_charproperty: *const c_charvalue: *const c_charuser_provided: boolused: boolerrp: *mut *mut Error

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.