Enum midi_msg::FileReferenceMsg [−][src]
The set of messages used for accessing files on a shared file system or network
so they can be used to play sounds without transferring the file contents.
Used by UniversalNonRealTimeMsg::FileReference
.
As defined in CA-018.
Variants
Describe where a file is located for opening, but must be followed by a SelectContents
message if any sounds are to play.
Fields of Open
ctx: u16
A number 0-16383 used to distinguish between multiple file operations on the same device
file_type: FileReferenceType
url: AsciiString
Max 260 character url.
Given the pointer to a file, prepare it so its sounds can be loaded.
Fields of SelectContents
The equivalent of an Open
and SelectContents
messages in succession.
Fields of OpenSelectContents
ctx: u16
A number 0-16383 used to distinguish between multiple file operations on the same device
file_type: FileReferenceType
url: AsciiString
Max 260 character url.
map: SelectMap
How to map the file’s sounds onto MIDI banks/programs.
Close the file and deallocate the data related to it, such that its sounds should no longer play.
Fields of Close
ctx: u16
A number 0-16383 used to distinguish between multiple file operations on the same device
Trait Implementations
impl Clone for FileReferenceMsg
[src]
fn clone(&self) -> FileReferenceMsg
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FileReferenceMsg
[src]
impl PartialEq<FileReferenceMsg> for FileReferenceMsg
[src]
fn eq(&self, other: &FileReferenceMsg) -> bool
[src]
fn ne(&self, other: &FileReferenceMsg) -> bool
[src]
impl StructuralPartialEq for FileReferenceMsg
[src]
Auto Trait Implementations
impl RefUnwindSafe for FileReferenceMsg
impl Send for FileReferenceMsg
impl Sync for FileReferenceMsg
impl Unpin for FileReferenceMsg
impl UnwindSafe for FileReferenceMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,