pub struct AliasDecl<'a> {
pub name: &'a str,
pub params: &'a [Param<'a>],
pub type: TermId,
}Expand description
An alias declaration.
Fields§
§name: &'a strThe name of the alias to be declared.
params: &'a [Param<'a>]The static parameters of the alias.
type: TermIdThe 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)