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 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 ==.source§impl Spanned for NullableType
impl Spanned for NullableType
impl StructuralPartialEq for NullableType
Auto Trait Implementations§
impl RefUnwindSafe for NullableType
impl Send for NullableType
impl Sync for NullableType
impl Unpin for NullableType
impl UnwindSafe for NullableType
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