pub struct TransportBuilder(/* private fields */);Implementations§
Source§impl TransportBuilder
impl TransportBuilder
pub const fn new() -> Self
pub fn with_transport(param_value: &Transport<'_>) -> Self
pub const fn song_pos_seconds(self, value: SecTime) -> Self
pub const fn song_pos_beats(self, value: BeatTime) -> Self
pub const fn loop_start_beats(self, value: BeatTime) -> Self
pub const fn loop_end_beats(self, value: BeatTime) -> Self
pub const fn loop_start_seconds(self, value: SecTime) -> Self
pub const fn loop_end_seconds(self, value: SecTime) -> Self
pub const fn bar_start(self, value: BeatTime) -> Self
pub const fn flags(self, value: u32) -> Self
pub const fn tempo(self, value: f64) -> Self
pub const fn tempo_inc(self, value: f64) -> Self
pub const fn bar_number(self, value: i32) -> Self
pub const fn tsig_num(self, value: u16) -> Self
pub const fn tsig_denom(self, value: u16) -> Self
Trait Implementations§
Source§impl Clone for TransportBuilder
impl Clone for TransportBuilder
Source§fn clone(&self) -> TransportBuilder
fn clone(&self) -> TransportBuilder
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 TransportBuilder
impl Debug for TransportBuilder
Source§impl Default for TransportBuilder
impl Default for TransportBuilder
Source§impl EventBuilder for TransportBuilder
impl EventBuilder for TransportBuilder
Source§impl PartialEq for TransportBuilder
impl PartialEq for TransportBuilder
impl Copy for TransportBuilder
impl StructuralPartialEq for TransportBuilder
Auto Trait Implementations§
impl Freeze for TransportBuilder
impl RefUnwindSafe for TransportBuilder
impl Send for TransportBuilder
impl Sync for TransportBuilder
impl Unpin for TransportBuilder
impl UnwindSafe for TransportBuilder
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