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