[][src]Struct deno_doc::DocNode

pub struct DocNode {
    pub kind: DocNodeKind,
    pub name: String,
    pub location: Location,
    pub js_doc: Option<String>,
    pub function_def: Option<FunctionDef>,
    pub variable_def: Option<VariableDef>,
    pub enum_def: Option<EnumDef>,
    pub class_def: Option<ClassDef>,
    pub type_alias_def: Option<TypeAliasDef>,
    pub namespace_def: Option<NamespaceDef>,
    pub interface_def: Option<InterfaceDef>,
    pub import_def: Option<ImportDef>,
}

Fields

kind: DocNodeKindname: Stringlocation: Locationjs_doc: Option<String>function_def: Option<FunctionDef>variable_def: Option<VariableDef>enum_def: Option<EnumDef>class_def: Option<ClassDef>type_alias_def: Option<TypeAliasDef>namespace_def: Option<NamespaceDef>interface_def: Option<InterfaceDef>import_def: Option<ImportDef>

Trait Implementations

impl Clone for DocNode[src]

impl Debug for DocNode[src]

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

impl Serialize for DocNode[src]

Auto Trait Implementations

impl RefUnwindSafe for DocNode

impl Send for DocNode

impl Sync for DocNode

impl Unpin for DocNode

impl UnwindSafe for DocNode

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: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Node for T where
    T: Any + ?Sized

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

impl<T> Sync for T where
    T: ?Sized
[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.