[][src]Struct binjs_es6::ast::ClassElement

pub struct ClassElement {
    pub is_static: bool,
    pub method: MethodDefinition,
}

Implementation of interface ClassElement.

Fields

is_static: boolmethod: MethodDefinition

Trait Implementations

impl Clone for ClassElement[src]

impl Debug for ClassElement[src]

impl Default for ClassElement[src]

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

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

impl<'a> From<&'a mut ClassElement> for ViewMutClassElement<'a>[src]

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

impl Node for ClassElement[src]

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

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

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

impl PartialEq<ClassElement> for ClassElement[src]

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

impl Serialize for ClassElement[src]

impl StructuralPartialEq for ClassElement[src]

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

type Output = ClassElement

Auto Trait Implementations

impl !RefUnwindSafe for ClassElement

impl !Send for ClassElement

impl !Sync for ClassElement

impl Unpin for ClassElement

impl UnwindSafe for ClassElement

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]