pub struct EventBuffer { /* private fields */ }Implementations§
Source§impl EventBuffer
impl EventBuffer
pub fn new() -> Self
pub fn push_param_value( &mut self, param_id: u32, value: f64, sample_offset: u32, )
pub fn push_param_mod(&mut self, param_id: u32, amount: f64, sample_offset: u32)
pub fn push_param_gesture_begin(&mut self, param_id: u32, sample_offset: u32)
pub fn push_param_gesture_end(&mut self, param_id: u32, sample_offset: u32)
pub fn push_note_on( &mut self, note_id: i32, port_index: i16, channel: i16, key: i16, velocity: f64, sample_offset: u32, )
pub fn push_note_off( &mut self, note_id: i32, port_index: i16, channel: i16, key: i16, velocity: f64, sample_offset: u32, )
pub fn push_midi(&mut self, data: [u8; 3], port_index: u16, sample_offset: u32)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn as_input_events(&self) -> ClapInputEvents
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventBuffer
impl RefUnwindSafe for EventBuffer
impl Send for EventBuffer
impl Sync for EventBuffer
impl Unpin for EventBuffer
impl UnsafeUnpin for EventBuffer
impl UnwindSafe for EventBuffer
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