pub enum ChannelInterpretation {
Discrete,
Speakers,
}
Expand description
Enum of AudioNode::ChannelInterpretation from the spec
Variants§
Trait Implementations§
source§impl AsRef<str> for ChannelInterpretation
impl AsRef<str> for ChannelInterpretation
source§impl Clone for ChannelInterpretation
impl Clone for ChannelInterpretation
source§fn clone(&self) -> ChannelInterpretation
fn clone(&self) -> ChannelInterpretation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChannelInterpretation
impl Debug for ChannelInterpretation
source§impl<'de> Deserialize<'de> for ChannelInterpretation
impl<'de> Deserialize<'de> for ChannelInterpretation
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ChannelInterpretation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ChannelInterpretation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for ChannelInterpretation
impl FromStr for ChannelInterpretation
source§impl Hash for ChannelInterpretation
impl Hash for ChannelInterpretation
source§impl PartialEq for ChannelInterpretation
impl PartialEq for ChannelInterpretation
source§fn eq(&self, other: &ChannelInterpretation) -> bool
fn eq(&self, other: &ChannelInterpretation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChannelInterpretation
impl Serialize for ChannelInterpretation
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ChannelInterpretation
impl StructuralPartialEq for ChannelInterpretation
Auto Trait Implementations§
impl Freeze for ChannelInterpretation
impl RefUnwindSafe for ChannelInterpretation
impl Send for ChannelInterpretation
impl Sync for ChannelInterpretation
impl Unpin for ChannelInterpretation
impl UnwindSafe for ChannelInterpretation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more