Struct chalk_parse::ast::AliasEqBound
source · pub struct AliasEqBound {
pub trait_bound: TraitBound,
pub name: Identifier,
pub args: Vec<GenericArg>,
pub value: Ty,
}
Expand description
Represents an alias equality bound on e.g. a type or type parameter. Does not know anything about what it’s binding.
Fields§
§trait_bound: TraitBound
§name: Identifier
§args: Vec<GenericArg>
§value: Ty
Trait Implementations§
source§impl Clone for AliasEqBound
impl Clone for AliasEqBound
source§fn clone(&self) -> AliasEqBound
fn clone(&self) -> AliasEqBound
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 AliasEqBound
impl Debug for AliasEqBound
source§impl PartialEq for AliasEqBound
impl PartialEq for AliasEqBound
source§fn eq(&self, other: &AliasEqBound) -> bool
fn eq(&self, other: &AliasEqBound) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AliasEqBound
impl StructuralPartialEq for AliasEqBound
Auto Trait Implementations§
impl Freeze for AliasEqBound
impl RefUnwindSafe for AliasEqBound
impl Send for AliasEqBound
impl Sync for AliasEqBound
impl Unpin for AliasEqBound
impl UnwindSafe for AliasEqBound
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)