pub struct TypeUse<'a> {
pub index_span: Option<Span>,
pub index: Option<Index<'a>>,
pub ty: Type<'a>,
}Expand description
An inline type definition or a use of a type defined elsewhere.
Fields§
§index_span: Option<Span>Where the index was defined, if it was defined.
index: Option<Index<'a>>The type declaration that this is reference.
ty: Type<'a>The inline parameters, if any.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypeUse<'a>
impl<'a> RefUnwindSafe for TypeUse<'a>
impl<'a> Send for TypeUse<'a>
impl<'a> Sync for TypeUse<'a>
impl<'a> Unpin for TypeUse<'a>
impl<'a> UnwindSafe for TypeUse<'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