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
sourceimpl 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
sourceimpl Debug for StreamHandle
impl Debug for StreamHandle
sourceimpl Drop for StreamHandle
impl Drop for StreamHandle
sourceimpl Hash for StreamHandle
impl Hash for StreamHandle
sourceimpl Ord for StreamHandle
impl Ord for StreamHandle
sourceimpl PartialEq<StreamHandle> for StreamHandle
impl PartialEq<StreamHandle> for StreamHandle
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StreamHandle) -> bool
fn ne(&self, other: &StreamHandle) -> bool
This method tests for !=
.
sourceimpl PartialOrd<StreamHandle> for StreamHandle
impl PartialOrd<StreamHandle> for StreamHandle
sourcefn partial_cmp(&self, other: &StreamHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &StreamHandle) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Eq for StreamHandle
impl StructuralEq for StreamHandle
impl StructuralPartialEq for StreamHandle
Auto Trait Implementations
impl RefUnwindSafe for StreamHandle
impl !Send for StreamHandle
impl !Sync for StreamHandle
impl Unpin for StreamHandle
impl UnwindSafe for StreamHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more