Struct synthizer::StreamHandle
source · pub struct StreamHandle { /* private fields */ }
Expand description
A StreamHandle
binds Synthizer custom streams, as well as other kinds of
streaming functionality.
Implementations§
source§impl StreamHandle
impl StreamHandle
pub fn from_stream_def(def: CustomStreamDef) -> Result<StreamHandle>
sourcepub fn from_vec(data: Vec<u8>) -> Result<StreamHandle>
pub fn from_vec(data: Vec<u8>) -> Result<StreamHandle>
Create a stream handle which is backed by memory.
pub fn from_stream_params( protocol: &str, path: &str, param: usize ) -> Result<StreamHandle>
Trait Implementations§
source§impl Debug for StreamHandle
impl Debug for StreamHandle
source§impl Drop for StreamHandle
impl Drop for StreamHandle
source§impl Hash for StreamHandle
impl Hash for StreamHandle
source§impl Ord for StreamHandle
impl Ord for StreamHandle
source§fn cmp(&self, other: &StreamHandle) -> Ordering
fn cmp(&self, other: &StreamHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<StreamHandle> for StreamHandle
impl PartialEq<StreamHandle> for StreamHandle
source§fn eq(&self, other: &StreamHandle) -> bool
fn eq(&self, other: &StreamHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StreamHandle> for StreamHandle
impl PartialOrd<StreamHandle> for StreamHandle
source§fn partial_cmp(&self, other: &StreamHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &StreamHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more