Struct move_lang::parser::ast::PragmaProperty_
source · pub struct PragmaProperty_ {
pub name: Name,
pub value: Option<PragmaValue>,
}
Fields§
§name: Name
§value: Option<PragmaValue>
Trait Implementations§
source§impl Clone for PragmaProperty_
impl Clone for PragmaProperty_
source§fn clone(&self) -> PragmaProperty_
fn clone(&self) -> PragmaProperty_
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 PragmaProperty_
impl Debug for PragmaProperty_
source§impl PartialEq<PragmaProperty_> for PragmaProperty_
impl PartialEq<PragmaProperty_> for PragmaProperty_
source§fn eq(&self, other: &PragmaProperty_) -> bool
fn eq(&self, other: &PragmaProperty_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PragmaProperty_
impl StructuralEq for PragmaProperty_
impl StructuralPartialEq for PragmaProperty_
Auto Trait Implementations§
impl RefUnwindSafe for PragmaProperty_
impl Send for PragmaProperty_
impl Sync for PragmaProperty_
impl Unpin for PragmaProperty_
impl UnwindSafe for PragmaProperty_
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.