Struct panda_sys::PropertyInfo [−][src]
#[repr(C)]pub struct PropertyInfo {
pub name: *const c_char,
pub description: *const c_char,
pub enum_table: *const *const c_char,
pub print: Option<unsafe extern "C" fn(dev: *mut DeviceState, prop: *mut Property, dest: *mut c_char, len: size_t) -> c_int>,
pub get: ObjectPropertyAccessor,
pub set: ObjectPropertyAccessor,
pub release: ObjectPropertyRelease,
}
Fields
name: *const c_char
description: *const c_char
enum_table: *const *const c_char
print: Option<unsafe extern "C" fn(dev: *mut DeviceState, prop: *mut Property, dest: *mut c_char, len: size_t) -> c_int>
get: ObjectPropertyAccessor
set: ObjectPropertyAccessor
release: ObjectPropertyRelease
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PropertyInfo
impl !Send for PropertyInfo
impl !Sync for PropertyInfo
impl Unpin for PropertyInfo
impl UnwindSafe for PropertyInfo
Blanket Implementations
Mutably borrows from an owned value. Read more