Struct devise::syn::TypeReference [−][src]
pub struct TypeReference {
pub and_token: And,
pub lifetime: Option<Lifetime>,
pub mutability: Option<Mut>,
pub elem: Box<Type, Global>,
}Expand description
A reference type: &'a T or &'a mut T.
This type is available only if Syn is built with the "derive" or
"full" feature.
Fields
and_token: Andlifetime: Option<Lifetime>mutability: Option<Mut>elem: Box<Type, Global>Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TypeReferenceimpl !Send for TypeReferenceimpl !Sync for TypeReferenceimpl Unpin for TypeReferenceimpl UnwindSafe for TypeReferenceBlanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more