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