pub struct TypeSig {
pub doc: Option<DocComment>,
pub names: Vec<Ident>,
pub ty: Type,
pub span: Span,
}Expand description
A type signature.
Fields§
§doc: Option<DocComment>Documentation comment.
names: Vec<Ident>The names being typed.
ty: TypeThe type.
span: SpanThe span.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeSig
impl RefUnwindSafe for TypeSig
impl Send for TypeSig
impl Sync for TypeSig
impl Unpin for TypeSig
impl UnsafeUnpin for TypeSig
impl UnwindSafe for TypeSig
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