#[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 bar_start_tick: f64,
pub ticks_per_beat: f64,
pub padding: [u32; 4],
}
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
bar_start_tick: f64
§ticks_per_beat: f64
§padding: [u32; 4]
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 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 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
impl Copy for spa_io_segment_bar
impl StructuralPartialEq for spa_io_segment_bar
Auto Trait Implementations§
impl Freeze for spa_io_segment_bar
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