[−][src]Struct binjs::specialized::es6::ast::SwitchStatement
Implementation of interface SwitchStatement.
Fields
discriminant: Expression
cases: Vec<SwitchCase>
Trait Implementations
impl Clone for SwitchStatement
[src]
fn clone(&self) -> SwitchStatement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SwitchStatement
[src]
impl Default for SwitchStatement
[src]
fn default() -> SwitchStatement
[src]
impl<R> Deserialization<SwitchStatement> for Deserializer<R> where
R: TokenReader,
[src]
R: TokenReader,
fn deserialize(
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<SwitchStatement, TokenReaderError>
[src]
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<SwitchStatement, TokenReaderError>
impl<'de> Deserialize<'de> for SwitchStatement
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SwitchStatement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SwitchStatement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<'a> From<&'a mut SwitchStatement> for ViewMutSwitchStatement<'a>
[src]
fn from(value: &'a mut SwitchStatement) -> ViewMutSwitchStatement<'a>
[src]
impl From<SwitchStatement> for Statement
[src]
fn from(value: SwitchStatement) -> Statement
[src]
impl From<SwitchStatement> for ExportDeclarationOrImportDeclarationOrStatement
[src]
impl<R> InnerDeserialization<SwitchStatement> for Deserializer<R> where
R: TokenReader,
[src]
R: TokenReader,
fn deserialize_inner(
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<SwitchStatement, TokenReaderError> where
R: TokenReader,
[src]
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<SwitchStatement, TokenReaderError> where
R: TokenReader,
impl Node for SwitchStatement
[src]
Make it possible to downcast/upcast between SwitchStatement and binjs_shared::ast::Node
.
fn name(&self) -> &'static str
[src]
The name of this node. Used mostly for debugging purposes.
fn scoped_dictionary(&self) -> Option<&SharedString>
[src]
impl PartialEq<SwitchStatement> for SwitchStatement
[src]
fn eq(&self, other: &SwitchStatement) -> bool
[src]
fn ne(&self, other: &SwitchStatement) -> bool
[src]
impl<W> Serialization<SwitchStatement> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &SwitchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &SwitchStatement,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl Serialize for SwitchStatement
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for SwitchStatement
[src]
impl<'a> Walker<'a> for SwitchStatement
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SwitchStatement
impl !Send for SwitchStatement
impl !Sync for SwitchStatement
impl Unpin for SwitchStatement
impl UnwindSafe for SwitchStatement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,