Struct cpal::Endpoint
[−]
[src]
pub struct Endpoint(_);
An opaque type that identifies an end point.
Methods
impl Endpoint
[src]
fn get_supported_formats_list(
&self
) -> Result<SupportedFormatsIterator, FormatsEnumerationError>
&self
) -> Result<SupportedFormatsIterator, FormatsEnumerationError>
Returns an iterator that produces the list of formats that are supported by the backend.
fn get_name(&self) -> String
Returns the name of the endpoint.
Trait Implementations
impl Clone for Endpoint
[src]
fn clone(&self) -> Endpoint
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Endpoint
[src]
fn eq(&self, __arg_0: &Endpoint) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Endpoint) -> bool
This method tests for !=
.