pub enum Intro<Ty, Tm = Ty> {
Definition(Option<Ty>, Option<Tm>),
Theorem(Ty, Tm),
Declaration(Ty),
}Expand description
A command that introduces a new constant.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Ty, Tm> Freeze for Intro<Ty, Tm>
impl<Ty, Tm> RefUnwindSafe for Intro<Ty, Tm>where
Ty: RefUnwindSafe,
Tm: RefUnwindSafe,
impl<Ty, Tm> Send for Intro<Ty, Tm>
impl<Ty, Tm> Sync for Intro<Ty, Tm>
impl<Ty, Tm> Unpin for Intro<Ty, Tm>
impl<Ty, Tm> UnwindSafe for Intro<Ty, Tm>where
Ty: UnwindSafe,
Tm: UnwindSafe,
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