[−][src]Struct binjs::specialized::es6::ast::EagerFunctionDeclaration
Implementation of interface EagerFunctionDeclaration.
Fields
is_async: bool
is_generator: bool
name: BindingIdentifier
length: u32
directives: Vec<Directive>
contents: FunctionOrMethodContents
Trait Implementations
impl Clone for EagerFunctionDeclaration
[src]
fn clone(&self) -> EagerFunctionDeclaration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EagerFunctionDeclaration
[src]
impl Default for EagerFunctionDeclaration
[src]
fn default() -> EagerFunctionDeclaration
[src]
impl<R> Deserialization<EagerFunctionDeclaration> for Deserializer<R> where
R: TokenReader,
[src]
R: TokenReader,
fn deserialize(
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<EagerFunctionDeclaration, TokenReaderError>
[src]
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<EagerFunctionDeclaration, TokenReaderError>
impl<'de> Deserialize<'de> for EagerFunctionDeclaration
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<EagerFunctionDeclaration, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<EagerFunctionDeclaration, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<'a> From<&'a mut EagerFunctionDeclaration> for ViewMutEagerFunctionDeclaration<'a>
[src]
fn from(
value: &'a mut EagerFunctionDeclaration
) -> ViewMutEagerFunctionDeclaration<'a>
[src]
value: &'a mut EagerFunctionDeclaration
) -> ViewMutEagerFunctionDeclaration<'a>
impl From<EagerFunctionDeclaration> for FunctionDeclaration
[src]
fn from(value: EagerFunctionDeclaration) -> FunctionDeclaration
[src]
impl From<EagerFunctionDeclaration> for ClassDeclarationOrFunctionDeclarationOrVariableDeclaration
[src]
fn from(
value: EagerFunctionDeclaration
) -> ClassDeclarationOrFunctionDeclarationOrVariableDeclaration
[src]
value: EagerFunctionDeclaration
) -> ClassDeclarationOrFunctionDeclarationOrVariableDeclaration
impl From<EagerFunctionDeclaration> for Statement
[src]
fn from(value: EagerFunctionDeclaration) -> Statement
[src]
impl From<EagerFunctionDeclaration> for ExportDeclarationOrImportDeclarationOrStatement
[src]
impl From<EagerFunctionDeclaration> for ClassDeclarationOrExpressionOrFunctionDeclaration
[src]
impl<R> InnerDeserialization<EagerFunctionDeclaration> for Deserializer<R> where
R: TokenReader,
[src]
R: TokenReader,
fn deserialize_inner(
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<EagerFunctionDeclaration, TokenReaderError> where
R: TokenReader,
[src]
&mut self,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<EagerFunctionDeclaration, TokenReaderError> where
R: TokenReader,
impl Node for EagerFunctionDeclaration
[src]
Make it possible to downcast/upcast between EagerFunctionDeclaration 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<EagerFunctionDeclaration> for EagerFunctionDeclaration
[src]
fn eq(&self, other: &EagerFunctionDeclaration) -> bool
[src]
fn ne(&self, other: &EagerFunctionDeclaration) -> bool
[src]
impl<W> Serialization<EagerFunctionDeclaration> for Serializer<W> where
W: TokenWriter,
[src]
W: TokenWriter,
fn serialize(
&mut self,
value: &EagerFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
[src]
&mut self,
value: &EagerFunctionDeclaration,
path: &mut Path<InterfaceName, (usize, FieldName)>
) -> Result<(), TokenWriterError>
impl Serialize for EagerFunctionDeclaration
[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 EagerFunctionDeclaration
[src]
impl<'a> Walker<'a> for EagerFunctionDeclaration
[src]
Auto Trait Implementations
impl !RefUnwindSafe for EagerFunctionDeclaration
impl !Send for EagerFunctionDeclaration
impl !Sync for EagerFunctionDeclaration
impl Unpin for EagerFunctionDeclaration
impl UnwindSafe for EagerFunctionDeclaration
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>,