pub struct BelaMidi { /* private fields */ }Expand description
An opened Midi object, as an opaque pointee.
Deliberately not a description of the C++ class: nothing on this side may depend on its layout, and the shim is what allocates it.
The marker is what the nomicon asks of an opaque type: a bare
zero-length array would make this Send, Sync and Unpin, and
the object behind it is none of those — it owns a thread that reads
the port, and its address is in the C++ object’s own members.
Trait Implementations§
Auto Trait Implementations§
impl !Send for BelaMidi
impl !Sync for BelaMidi
impl !Unpin for BelaMidi
impl Freeze for BelaMidi
impl RefUnwindSafe for BelaMidi
impl UnsafeUnpin for BelaMidi
impl UnwindSafe for BelaMidi
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