pub struct MidiOutput { /* private fields */ }
Implementations§
Source§impl MidiOutput
impl MidiOutput
pub fn clear(&self)
pub fn send(&self, data: &JsValue) -> Result<(), JsValue>
pub fn send_with_timestamp( &self, data: &JsValue, timestamp: f64, ) -> Result<(), JsValue>
pub fn id(&self) -> String
pub fn manufacturer(&self) -> Option<String>
pub fn name(&self) -> Option<String>
pub fn version(&self) -> Option<String>
pub async fn open(&self) -> &Self
pub async fn close(&self) -> &Self
Auto Trait Implementations§
impl Freeze for MidiOutput
impl RefUnwindSafe for MidiOutput
impl !Send for MidiOutput
impl !Sync for MidiOutput
impl Unpin for MidiOutput
impl UnwindSafe for MidiOutput
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