Enum erg_parser::ast::AscriptionKind
source · pub enum AscriptionKind {
TypeOf,
SubtypeOf,
SupertypeOf,
AsCast,
}
Variants§
Implementations§
source§impl AscriptionKind
impl AscriptionKind
pub const fn is_force_cast(&self) -> bool
Trait Implementations§
source§impl Clone for AscriptionKind
impl Clone for AscriptionKind
source§fn clone(&self) -> AscriptionKind
fn clone(&self) -> AscriptionKind
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 AscriptionKind
impl Debug for AscriptionKind
impl Copy for AscriptionKind
Auto Trait Implementations§
impl RefUnwindSafe for AscriptionKind
impl Send for AscriptionKind
impl Sync for AscriptionKind
impl Unpin for AscriptionKind
impl UnwindSafe for AscriptionKind
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