pub enum MeaningChange {
Redeclared,
Extended,
}Expand description
How a refused declaration would have changed a registered name’s meaning.
Variants§
Redeclared
A different type, body, sort, parameter list or constructor list under the same name, or the name taken over by a declaration of another kind.
Extended
A constructor added to an inductive whose constructor set something already relies on.
Trait Implementations§
Source§impl Clone for MeaningChange
impl Clone for MeaningChange
Source§fn clone(&self) -> MeaningChange
fn clone(&self) -> MeaningChange
Returns a duplicate 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 MeaningChange
impl Debug for MeaningChange
Source§impl Display for MeaningChange
impl Display for MeaningChange
Source§impl PartialEq for MeaningChange
impl PartialEq for MeaningChange
impl Copy for MeaningChange
impl Eq for MeaningChange
impl StructuralPartialEq for MeaningChange
Auto Trait Implementations§
impl Freeze for MeaningChange
impl RefUnwindSafe for MeaningChange
impl Send for MeaningChange
impl Sync for MeaningChange
impl Unpin for MeaningChange
impl UnsafeUnpin for MeaningChange
impl UnwindSafe for MeaningChange
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