Struct syn::ExprReference [−][src]
pub struct ExprReference { pub attrs: Vec<Attribute>, pub and_token: And, pub raw: Reserved, pub mutability: Option<Mut>, pub expr: Box<Expr>, }
This is supported on crate feature
full
only.A referencing operation: &a
or &mut a
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
and_token: And
raw: Reserved
mutability: Option<Mut>
expr: Box<Expr>
Trait Implementations
impl Clone for ExprReference
[src]
impl Clone for ExprReference
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExprReference
[src]
impl Debug for ExprReference
[src]This is supported on crate feature
extra-traits
only.impl Eq for ExprReference
[src]
impl Eq for ExprReference
[src]This is supported on crate feature
extra-traits
only.impl From<ExprReference> for Expr
[src]
impl From<ExprReference> for Expr
[src]fn from(e: ExprReference) -> Expr
[src]
impl Hash for ExprReference
[src]
impl Hash for ExprReference
[src]This is supported on crate feature
extra-traits
only.impl Parse for ExprReference
[src]
impl Parse for ExprReference
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ExprReference> for ExprReference
[src]
impl PartialEq<ExprReference> for ExprReference
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for ExprReference
[src]
impl ToTokens for ExprReference
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExprReference
impl RefUnwindSafe for ExprReference
impl !Send for ExprReference
impl !Send for ExprReference
impl !Sync for ExprReference
impl !Sync for ExprReference
impl Unpin for ExprReference
impl Unpin for ExprReference
impl UnwindSafe for ExprReference
impl UnwindSafe for ExprReference