Struct libspa_sys::spa_port_info
source · #[repr(C)]pub struct spa_port_info {
pub change_mask: u64,
pub flags: u64,
pub rate: spa_fraction,
pub props: *const spa_dict,
pub params: *mut spa_param_info,
pub n_params: u32,
}
Expand description
Port information structure
Contains the basic port information.
Fields§
§change_mask: u64
§flags: u64
< port flags
rate: spa_fraction
< rate of sequence numbers on port
props: *const spa_dict
< extra port properties
params: *mut spa_param_info
< parameter information
n_params: u32
< number of items in \a params
Trait Implementations§
source§impl Clone for spa_port_info
impl Clone for spa_port_info
source§fn clone(&self) -> spa_port_info
fn clone(&self) -> spa_port_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_port_info
impl Debug for spa_port_info
source§impl PartialEq for spa_port_info
impl PartialEq for spa_port_info
source§fn eq(&self, other: &spa_port_info) -> bool
fn eq(&self, other: &spa_port_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_port_info
impl Eq for spa_port_info
impl StructuralPartialEq for spa_port_info
Auto Trait Implementations§
impl RefUnwindSafe for spa_port_info
impl !Send for spa_port_info
impl !Sync for spa_port_info
impl Unpin for spa_port_info
impl UnwindSafe for spa_port_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