[][src]Struct binjs_es6::ast::LazyMethod

pub struct LazyMethod {
    pub is_async: bool,
    pub is_generator: bool,
    pub name: PropertyName,
    pub length: u32,
    pub directives: ListOfDirective,
    pub contents_skip: Offset,
    pub contents: FunctionOrMethodContents,
}

Implementation of interface LazyMethod.

Fields

is_async: boolis_generator: boolname: PropertyNamelength: u32directives: ListOfDirectivecontents_skip: Offsetcontents: FunctionOrMethodContents

Trait Implementations

impl Clone for LazyMethod[src]

impl Debug for LazyMethod[src]

impl Default for LazyMethod[src]

impl<R> Deserialization<LazyMethod> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for LazyMethod[src]

impl<'a> From<&'a mut LazyMethod> for ViewMutLazyMethod<'a>[src]

impl From<LazyMethod> for Method[src]

impl From<LazyMethod> for MethodDefinition[src]

impl From<LazyMethod> for ObjectProperty[src]

impl<R> InnerDeserialization<LazyMethod> for Deserializer<R> where
    R: TokenReader
[src]

impl Node for LazyMethod[src]

Make it possible to downcast/upcast between LazyMethod and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src]

The name of this node. Used mostly for debugging purposes.

impl PartialEq<LazyMethod> for LazyMethod[src]

impl<W> Serialization<LazyMethod> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for LazyMethod[src]

impl StructuralPartialEq for LazyMethod[src]

impl<'a> Walker<'a> for LazyMethod[src]

type Output = LazyMethod

Auto Trait Implementations

impl !RefUnwindSafe for LazyMethod

impl !Send for LazyMethod

impl !Sync for LazyMethod

impl Unpin for LazyMethod

impl UnwindSafe for LazyMethod

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]