pub struct AliasDecl<'a> {
pub name: &'a str,
pub params: &'a [Param<'a>],
pub type: TermId,
}
Expand description
An alias declaration.
Fields§
§name: &'a str
The name of the alias to be declared.
params: &'a [Param<'a>]
The static parameters of the alias.
type: TermId
The type of the alias.
Trait Implementations§
impl<'a> Copy for AliasDecl<'a>
impl<'a> Eq for AliasDecl<'a>
impl<'a> StructuralPartialEq for AliasDecl<'a>
Auto Trait Implementations§
impl<'a> Freeze for AliasDecl<'a>
impl<'a> RefUnwindSafe for AliasDecl<'a>
impl<'a> Send for AliasDecl<'a>
impl<'a> Sync for AliasDecl<'a>
impl<'a> Unpin for AliasDecl<'a>
impl<'a> UnwindSafe for AliasDecl<'a>
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