Struct panda_sys::GlobalProperty
source · #[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_char
§property: *const c_char
§value: *const c_char
§user_provided: bool
§used: bool
§errp: *mut *mut Error
Trait Implementations§
source§impl Clone for GlobalProperty
impl Clone for GlobalProperty
source§fn clone(&self) -> GlobalProperty
fn clone(&self) -> GlobalProperty
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GlobalProperty
impl Debug for GlobalProperty
impl Copy for GlobalProperty
Auto Trait Implementations§
impl RefUnwindSafe for GlobalProperty
impl !Send for GlobalProperty
impl !Sync for GlobalProperty
impl Unpin for GlobalProperty
impl UnwindSafe for GlobalProperty
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