Struct jsdoc::ast::NullableType
source · pub struct NullableType {
pub span: Span,
pub ty: Box<Type>,
}
Fields§
§span: Span
§ty: Box<Type>
Trait Implementations§
source§impl Clone for NullableType
impl Clone for NullableType
source§fn clone(&self) -> NullableType
fn clone(&self) -> NullableType
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 NullableType
impl Debug for NullableType
source§impl<'de> Deserialize<'de> for NullableType
impl<'de> Deserialize<'de> for NullableType
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<NullableType> for Type
impl From<NullableType> for Type
source§fn from(v: NullableType) -> Self
fn from(v: NullableType) -> Self
Converts to this type from the input type.
source§impl PartialEq<NullableType> for NullableType
impl PartialEq<NullableType> for NullableType
source§fn eq(&self, other: &NullableType) -> bool
fn eq(&self, other: &NullableType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.