pub enum ScopeType {
Global,
Local,
With,
Closure,
Catch,
Block,
Script,
Eval,
Module,
WasmExpressionStack,
Unrecognized(String),
}Expand description
The values type accepts on Scope.
Variants§
Global
global
Local
local
With
with
Closure
closure
Catch
catch
Block
block
Script
script
Eval
eval
Module
module
WasmExpressionStack
wasm-expression-stack
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<'de> Deserialize<'de> for ScopeType
impl<'de> Deserialize<'de> for ScopeType
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 ScopeType
impl StructuralPartialEq for ScopeType
Auto Trait Implementations§
impl Forget for ScopeType
impl Freeze for ScopeType
impl RefUnwindSafe for ScopeType
impl Send for ScopeType
impl Sync for ScopeType
impl Unpin for ScopeType
impl UnsafeUnpin for ScopeType
impl UnwindSafe for ScopeType
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