pub trait EncodeOsc<T> {
// Required methods
fn encode_object_bundle<'a, I>(
object_collection: I,
source_name: String,
frame_id: i32,
) -> T
where I: IntoIterator<Item = &'a Object>;
fn encode_cursor_bundle<'a, I>(
cursor_collection: I,
source_name: String,
frame_id: i32,
) -> T
where I: IntoIterator<Item = &'a Cursor>;
fn encode_blob_bundle<'a, I>(
blob_collection: I,
source_name: String,
frame_id: i32,
) -> T
where I: IntoIterator<Item = &'a Blob>;
}Expand description
Base trait to implement an OSC encoder
Required Methods§
Sourcefn encode_object_bundle<'a, I>(
object_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Object>,
fn encode_object_bundle<'a, I>(
object_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Object>,
Sourcefn encode_cursor_bundle<'a, I>(
cursor_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Cursor>,
fn encode_cursor_bundle<'a, I>(
cursor_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Cursor>,
Sourcefn encode_blob_bundle<'a, I>(
blob_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Blob>,
fn encode_blob_bundle<'a, I>(
blob_collection: I,
source_name: String,
frame_id: i32,
) -> Twhere
I: IntoIterator<Item = &'a Blob>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".