Struct chalk_parse::ast::OpaqueTyDefn
source · pub struct OpaqueTyDefn {
pub ty: Ty,
pub variable_kinds: Vec<VariableKind>,
pub name: Identifier,
pub bounds: Vec<QuantifiedInlineBound>,
pub where_clauses: Vec<QuantifiedWhereClause>,
}
Fields§
§ty: Ty
§variable_kinds: Vec<VariableKind>
§name: Identifier
§bounds: Vec<QuantifiedInlineBound>
§where_clauses: Vec<QuantifiedWhereClause>
Trait Implementations§
source§impl Clone for OpaqueTyDefn
impl Clone for OpaqueTyDefn
source§fn clone(&self) -> OpaqueTyDefn
fn clone(&self) -> OpaqueTyDefn
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 OpaqueTyDefn
impl Debug for OpaqueTyDefn
source§impl PartialEq for OpaqueTyDefn
impl PartialEq for OpaqueTyDefn
source§fn eq(&self, other: &OpaqueTyDefn) -> bool
fn eq(&self, other: &OpaqueTyDefn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OpaqueTyDefn
impl StructuralPartialEq for OpaqueTyDefn
Auto Trait Implementations§
impl Freeze for OpaqueTyDefn
impl RefUnwindSafe for OpaqueTyDefn
impl Send for OpaqueTyDefn
impl Sync for OpaqueTyDefn
impl Unpin for OpaqueTyDefn
impl UnwindSafe for OpaqueTyDefn
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
)