Struct move_model::ast::LocalVarDecl
source · pub struct LocalVarDecl {
pub id: NodeId,
pub name: Symbol,
pub binding: Option<Exp>,
}
Fields§
§id: NodeId
§name: Symbol
§binding: Option<Exp>
Trait Implementations§
source§impl Clone for LocalVarDecl
impl Clone for LocalVarDecl
source§fn clone(&self) -> LocalVarDecl
fn clone(&self) -> LocalVarDecl
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 LocalVarDecl
impl Debug for LocalVarDecl
source§impl Hash for LocalVarDecl
impl Hash for LocalVarDecl
source§impl PartialEq<LocalVarDecl> for LocalVarDecl
impl PartialEq<LocalVarDecl> for LocalVarDecl
source§fn eq(&self, other: &LocalVarDecl) -> bool
fn eq(&self, other: &LocalVarDecl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LocalVarDecl
impl StructuralEq for LocalVarDecl
impl StructuralPartialEq for LocalVarDecl
Auto Trait Implementations§
impl RefUnwindSafe for LocalVarDecl
impl !Send for LocalVarDecl
impl !Sync for LocalVarDecl
impl Unpin for LocalVarDecl
impl UnwindSafe for LocalVarDecl
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.