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 if Syn is built with the "derive"
or
"full"
feature.
Fields
and_token: And
lifetime: Option<Lifetime>
mutability: Option<Mut>
elem: Box<Type, Global>
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for TypeReference
impl !Send for TypeReference
impl !Sync for TypeReference
impl Unpin for TypeReference
impl UnwindSafe for TypeReference
Blanket 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