#[repr(C)]pub struct NullableType<'input> {
pub question_mark: Span,
pub inner: Box<Type<'input>>,
}Fields§
§question_mark: Span§inner: Box<Type<'input>>Trait Implementations§
Source§impl<'input> Clone for NullableType<'input>
impl<'input> Clone for NullableType<'input>
Source§fn clone(&self) -> NullableType<'input>
fn clone(&self) -> NullableType<'input>
Returns a duplicate 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<'input> Debug for NullableType<'input>
impl<'input> Debug for NullableType<'input>
Source§impl Display for NullableType<'_>
impl Display for NullableType<'_>
Source§impl HasSpan for NullableType<'_>
impl HasSpan for NullableType<'_>
Source§impl<'input> Hash for NullableType<'input>
impl<'input> Hash for NullableType<'input>
Source§impl<'input> Ord for NullableType<'input>
impl<'input> Ord for NullableType<'input>
Source§fn cmp(&self, other: &NullableType<'input>) -> Ordering
fn cmp(&self, other: &NullableType<'input>) -> 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<'input> PartialEq for NullableType<'input>
impl<'input> PartialEq for NullableType<'input>
Source§impl<'input> PartialOrd for NullableType<'input>
impl<'input> PartialOrd for NullableType<'input>
Source§impl<'input> Serialize for NullableType<'input>
impl<'input> Serialize for NullableType<'input>
impl<'input> Eq for NullableType<'input>
impl<'input> StructuralPartialEq for NullableType<'input>
Auto Trait Implementations§
impl<'input> Freeze for NullableType<'input>
impl<'input> RefUnwindSafe for NullableType<'input>
impl<'input> Send for NullableType<'input>
impl<'input> Sync for NullableType<'input>
impl<'input> Unpin for NullableType<'input>
impl<'input> UnwindSafe for NullableType<'input>
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