[−][src]Struct lv2rs_midi::SystemExclusiveMessage
Raw representation of a system-exclusive message.
System exclusive messages are very flexible: They start with a specific status byte and end with another and anything else does not matter. However, since they have a level of flexibility that other messages don't have, they have to be handled by another atom type; This one!
A SystemExclusiveMessage
doesn't use a writing frame extension. This means that the whole
message has to be written in one go when initializing.
Methods
impl SystemExclusiveMessage
[src]
Trait Implementations
impl<'a> AtomBody for SystemExclusiveMessage
[src]
type InitializationParameter = [u8]
The type of the parameter for initialize_body
Read more
fn get_uri() -> &'static CStr
[src]
unsafe fn initialize_body<'b, W>(
writer: &mut W,
data: &[u8],
_urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'b> + WritingFrameExt<'b, Self>,
[src]
writer: &mut W,
data: &[u8],
_urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'b> + WritingFrameExt<'b, Self>,
fn create_ref<'b>(raw_data: &'b [u8]) -> Result<&'b Self, ()>
[src]
Auto Trait Implementations
impl Send for SystemExclusiveMessage
impl Sync for SystemExclusiveMessage
Blanket Implementations
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AtomBody for T where
T: 'static + ScalarAtomBody,
[src]
T: 'static + ScalarAtomBody,
type InitializationParameter = T
The type of the parameter for initialize_body
Read more
fn get_uri() -> &'static CStr
[src]
unsafe fn initialize_body<'a, W>(
writer: &mut W,
parameter: &T,
_urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'a> + WritingFrameExt<'a, T>,
[src]
writer: &mut W,
parameter: &T,
_urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'a> + WritingFrameExt<'a, T>,