Struct libspa_sys::spa_fraction
source · #[repr(C)]pub struct spa_fraction {
pub num: u32,
pub denom: u32,
}
Fields§
§num: u32
§denom: u32
Trait Implementations§
source§impl Clone for spa_fraction
impl Clone for spa_fraction
source§fn clone(&self) -> spa_fraction
fn clone(&self) -> spa_fraction
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_fraction
impl Debug for spa_fraction
source§impl PartialEq for spa_fraction
impl PartialEq for spa_fraction
source§fn eq(&self, other: &spa_fraction) -> bool
fn eq(&self, other: &spa_fraction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_fraction
impl Eq for spa_fraction
impl StructuralPartialEq for spa_fraction
Auto Trait Implementations§
impl RefUnwindSafe for spa_fraction
impl Send for spa_fraction
impl Sync for spa_fraction
impl Unpin for spa_fraction
impl UnwindSafe for spa_fraction
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