Struct rust_sitter_common::NameValueExpr
source · pub struct NameValueExpr {
pub path: Ident,
pub eq_token: Eq,
pub expr: Expr,
}
Fields§
§path: Ident
§eq_token: Eq
§expr: Expr
Trait Implementations§
source§impl Clone for NameValueExpr
impl Clone for NameValueExpr
source§fn clone(&self) -> NameValueExpr
fn clone(&self) -> NameValueExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NameValueExpr
impl Debug for NameValueExpr
source§impl Parse for NameValueExpr
impl Parse for NameValueExpr
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq for NameValueExpr
impl PartialEq for NameValueExpr
source§fn eq(&self, other: &NameValueExpr) -> bool
fn eq(&self, other: &NameValueExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NameValueExpr
impl StructuralPartialEq for NameValueExpr
Auto Trait Implementations§
impl Freeze for NameValueExpr
impl RefUnwindSafe for NameValueExpr
impl !Send for NameValueExpr
impl !Sync for NameValueExpr
impl Unpin for NameValueExpr
impl UnwindSafe for NameValueExpr
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