Struct panda_sys::PropertyInfo
source · #[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§
source§impl Clone for PropertyInfo
impl Clone for PropertyInfo
source§fn clone(&self) -> PropertyInfo
fn clone(&self) -> PropertyInfo
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 PropertyInfo
impl Debug for PropertyInfo
impl Copy for PropertyInfo
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§
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