Struct libspa_sys::spa_device_info
source · #[repr(C)]pub struct spa_device_info {
pub version: u32,
pub change_mask: u64,
pub flags: u64,
pub props: *const spa_dict,
pub params: *mut spa_param_info,
pub n_params: u32,
}
Expand description
Information about the device and parameters it supports
This information is part of the info event on a device.
Fields§
§version: u32
§change_mask: u64
§flags: u64
§props: *const spa_dict
< device properties
params: *mut spa_param_info
< supported parameters
n_params: u32
< number of elements in params
Trait Implementations§
source§impl Clone for spa_device_info
impl Clone for spa_device_info
source§fn clone(&self) -> spa_device_info
fn clone(&self) -> spa_device_info
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 spa_device_info
impl Debug for spa_device_info
source§impl PartialEq for spa_device_info
impl PartialEq for spa_device_info
source§fn eq(&self, other: &spa_device_info) -> bool
fn eq(&self, other: &spa_device_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_device_info
impl Eq for spa_device_info
impl StructuralPartialEq for spa_device_info
Auto Trait Implementations§
impl RefUnwindSafe for spa_device_info
impl !Send for spa_device_info
impl !Sync for spa_device_info
impl Unpin for spa_device_info
impl UnwindSafe for spa_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