Struct easyjack::InputPortHandle
[−]
[src]
pub struct InputPortHandle<SampleType> { /* fields omitted */ }
Methods
impl<SampleType: Num> InputPortHandle<SampleType>
[src]
fn get_read_buffer<'a>(
&self,
nframes: NumFrames,
_ctx: &'a CallbackContext
) -> &'a [SampleType]
&self,
nframes: NumFrames,
_ctx: &'a CallbackContext
) -> &'a [SampleType]
Get the input port's readable buffer
impl InputPortHandle<MidiEvent>
[src]
fn get_read_buffer<'a>(
&self,
nframes: NumFrames,
_ctx: &'a CallbackContext
) -> MidiEventBuf<'a>
&self,
nframes: NumFrames,
_ctx: &'a CallbackContext
) -> MidiEventBuf<'a>
returns a vector of midi events
Note that this returns by value (we are not returning by reference, like we have in the
other get_read_buffer
methods)
Trait Implementations
impl<SampleType: Debug> Debug for InputPortHandle<SampleType>
[src]
impl<SampleType: Clone> Clone for InputPortHandle<SampleType>
[src]
fn clone(&self) -> InputPortHandle<SampleType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<SampleType: Copy> Copy for InputPortHandle<SampleType>
[src]
impl<SampleType> Port for InputPortHandle<SampleType>
[src]
fn get_name(&self) -> String
Gets the port's assigned full name (including the client name and the colon)
fn get_port_flags(&self) -> PortFlags
Get the flags used to construct this port