Trait NotePorts

Source
pub trait NotePorts<P>
where P: Plugin,
{ // Required methods fn count(plugin: &P, is_input: bool) -> u32; fn get(plugin: &P, index: u32, is_input: bool) -> Option<NotePortInfo>; }

Required Methods§

Source

fn count(plugin: &P, is_input: bool) -> u32

Source

fn get(plugin: &P, index: u32, is_input: bool) -> Option<NotePortInfo>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<P: Plugin> NotePorts<P> for ()

Source§

fn count(_: &P, _: bool) -> u32

Source§

fn get(_: &P, _: u32, _: bool) -> Option<NotePortInfo>

Implementors§