#[repr(C)]pub struct pw_device_info {
pub id: u32,
pub change_mask: u64,
pub props: *mut spa_dict,
pub params: *mut spa_param_info,
pub n_params: u32,
}
Expand description
The device information. Extra information can be added in later versions
Fields§
§id: u32
< id of the global
change_mask: u64
< bitfield of changed fields since last call
props: *mut spa_dict
< extra properties
params: *mut spa_param_info
< parameters
n_params: u32
< number of items in \a params
Trait Implementations§
Source§impl Clone for pw_device_info
impl Clone for pw_device_info
Source§fn clone(&self) -> pw_device_info
fn clone(&self) -> pw_device_info
Returns a duplicate 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 pw_device_info
impl Debug for pw_device_info
impl Copy for pw_device_info
Auto Trait Implementations§
impl Freeze for pw_device_info
impl RefUnwindSafe for pw_device_info
impl !Send for pw_device_info
impl !Sync for pw_device_info
impl Unpin for pw_device_info
impl UnwindSafe for pw_device_info
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