pub struct NonNullType<'a> {
pub ty: AstBox<'a, Type<'a>>,
pub span: Span,
}Fields§
§ty: AstBox<'a, Type<'a>>§span: SpanTrait Implementations§
Source§impl<'a> Debug for NonNullType<'a>
impl<'a> Debug for NonNullType<'a>
Source§impl PartialEq for NonNullType<'_>
impl PartialEq for NonNullType<'_>
Auto Trait Implementations§
impl<'a> !Send for NonNullType<'a>
impl<'a> !Sync for NonNullType<'a>
impl<'a> Freeze for NonNullType<'a>
impl<'a> RefUnwindSafe for NonNullType<'a>
impl<'a> Unpin for NonNullType<'a>
impl<'a> UnsafeUnpin for NonNullType<'a>
impl<'a> UnwindSafe for NonNullType<'a>
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