Struct libspa_sys::spa_io_segment_bar
source · #[repr(C)]pub struct spa_io_segment_bar {
pub flags: u32,
pub offset: u32,
pub signature_num: f32,
pub signature_denom: f32,
pub bpm: f64,
pub beat: f64,
pub padding: [u32; 8],
}
Expand description
bar and beat segment
Fields§
§flags: u32
< extra flags
offset: u32
< offset in segment of this beat
signature_num: f32
< time signature numerator
signature_denom: f32
< time signature denominator
bpm: f64
< beats per minute
beat: f64
< current beat in segment
padding: [u32; 8]
Trait Implementations§
source§impl Clone for spa_io_segment_bar
impl Clone for spa_io_segment_bar
source§fn clone(&self) -> spa_io_segment_bar
fn clone(&self) -> spa_io_segment_bar
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_io_segment_bar
impl Debug for spa_io_segment_bar
source§impl PartialEq for spa_io_segment_bar
impl PartialEq for spa_io_segment_bar
source§fn eq(&self, other: &spa_io_segment_bar) -> bool
fn eq(&self, other: &spa_io_segment_bar) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_io_segment_bar
impl StructuralPartialEq for spa_io_segment_bar
Auto Trait Implementations§
impl RefUnwindSafe for spa_io_segment_bar
impl Send for spa_io_segment_bar
impl Sync for spa_io_segment_bar
impl Unpin for spa_io_segment_bar
impl UnwindSafe for spa_io_segment_bar
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