pub enum ChannelInterpretation {
Discrete,
Speakers,
Unrecognized(String),
}Expand description
Enum of AudioNode::ChannelInterpretation from the spec
Variants§
Discrete
discrete
Speakers
speakers
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for ChannelInterpretation
impl Clone for ChannelInterpretation
Source§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChannelInterpretation
Source§impl Hash for ChannelInterpretation
impl Hash for ChannelInterpretation
Source§impl PartialEq for ChannelInterpretation
impl PartialEq for ChannelInterpretation
Source§impl Serialize for ChannelInterpretation
impl Serialize for ChannelInterpretation
impl StructuralPartialEq for ChannelInterpretation
Auto Trait Implementations§
impl Forget for ChannelInterpretation
impl Freeze for ChannelInterpretation
impl RefUnwindSafe for ChannelInterpretation
impl Send for ChannelInterpretation
impl Sync for ChannelInterpretation
impl Unpin for ChannelInterpretation
impl UnsafeUnpin 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