pub struct NoteExpressionBuilder(/* private fields */);Implementations§
Source§impl NoteExpressionBuilder
impl NoteExpressionBuilder
pub const fn new(expression_id: NoteExpressionId) -> Self
pub fn with_note_expression(expression: &NoteExpression<'_>) -> Self
pub const fn note_id(self, value: i32) -> Self
pub const fn port_index(self, value: i16) -> Self
pub const fn channel(self, value: i16) -> Self
pub const fn key(self, value: i16) -> Self
pub const fn value(self, value: f64) -> Self
pub const fn expression_id(self, value: NoteExpressionId) -> Self
Trait Implementations§
Source§impl Clone for NoteExpressionBuilder
impl Clone for NoteExpressionBuilder
Source§fn clone(&self) -> NoteExpressionBuilder
fn clone(&self) -> NoteExpressionBuilder
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 NoteExpressionBuilder
impl Debug for NoteExpressionBuilder
Source§impl Default for NoteExpressionBuilder
impl Default for NoteExpressionBuilder
Source§impl EventBuilder for NoteExpressionBuilder
impl EventBuilder for NoteExpressionBuilder
Source§impl PartialEq for NoteExpressionBuilder
impl PartialEq for NoteExpressionBuilder
impl Copy for NoteExpressionBuilder
impl StructuralPartialEq for NoteExpressionBuilder
Auto Trait Implementations§
impl Freeze for NoteExpressionBuilder
impl RefUnwindSafe for NoteExpressionBuilder
impl Send for NoteExpressionBuilder
impl Sync for NoteExpressionBuilder
impl Unpin for NoteExpressionBuilder
impl UnwindSafe for NoteExpressionBuilder
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