Enum chromiumoxide::cdp::browser_protocol::web_audio::ContextState
source · pub enum ContextState {
Suspended,
Running,
Closed,
}
Expand description
Enum of AudioContextState from the spec
Variants§
Trait Implementations§
source§impl AsRef<str> for ContextState
impl AsRef<str> for ContextState
source§impl Clone for ContextState
impl Clone for ContextState
source§fn clone(&self) -> ContextState
fn clone(&self) -> ContextState
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 ContextState
impl Debug for ContextState
source§impl<'de> Deserialize<'de> for ContextState
impl<'de> Deserialize<'de> for ContextState
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContextState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ContextState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for ContextState
impl FromStr for ContextState
source§impl Hash for ContextState
impl Hash for ContextState
source§impl PartialEq for ContextState
impl PartialEq for ContextState
source§fn eq(&self, other: &ContextState) -> bool
fn eq(&self, other: &ContextState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContextState
impl Serialize for ContextState
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 ContextState
impl StructuralPartialEq for ContextState
Auto Trait Implementations§
impl Freeze for ContextState
impl RefUnwindSafe for ContextState
impl Send for ContextState
impl Sync for ContextState
impl Unpin for ContextState
impl UnwindSafe for ContextState
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