Enum deno_doc::DocNodeKind
source · pub enum DocNodeKind {
Class,
Enum,
Function,
Import,
Interface,
ModuleDoc,
Namespace,
TypeAlias,
Variable,
}
Variants§
Trait Implementations§
source§impl Clone for DocNodeKind
impl Clone for DocNodeKind
source§fn clone(&self) -> DocNodeKind
fn clone(&self) -> DocNodeKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DocNodeKind
impl Debug for DocNodeKind
source§impl<'de> Deserialize<'de> for DocNodeKind
impl<'de> Deserialize<'de> for DocNodeKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DocNodeKind> for DocNodeKindCtx
impl From<DocNodeKind> for DocNodeKindCtx
source§fn from(kind: DocNodeKind) -> Self
fn from(kind: DocNodeKind) -> Self
Converts to this type from the input type.
source§impl Hash for DocNodeKind
impl Hash for DocNodeKind
source§impl Ord for DocNodeKind
impl Ord for DocNodeKind
source§fn cmp(&self, other: &DocNodeKind) -> Ordering
fn cmp(&self, other: &DocNodeKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DocNodeKind
impl PartialEq for DocNodeKind
source§fn eq(&self, other: &DocNodeKind) -> bool
fn eq(&self, other: &DocNodeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DocNodeKind
impl PartialOrd for DocNodeKind
source§fn partial_cmp(&self, other: &DocNodeKind) -> Option<Ordering>
fn partial_cmp(&self, other: &DocNodeKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for DocNodeKind
impl Serialize for DocNodeKind
impl Copy for DocNodeKind
impl Eq for DocNodeKind
impl StructuralPartialEq for DocNodeKind
Auto Trait Implementations§
impl RefUnwindSafe for DocNodeKind
impl Send for DocNodeKind
impl Sync for DocNodeKind
impl Unpin for DocNodeKind
impl UnwindSafe for DocNodeKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.