Enum prolog_parser::ast::Constant
source · pub enum Constant {
Atom(ClauseName, Option<Fixity>),
Char(char),
Number(Number),
String(StringList),
Usize(usize),
EmptyList,
}Variants
Atom(ClauseName, Option<Fixity>)
Char(char)
Number(Number)
String(StringList)
Usize(usize)
EmptyList
Implementations
Trait Implementations
impl Eq for Constant
Auto Trait Implementations
impl !RefUnwindSafe for Constant
impl !Send for Constant
impl !Sync for Constant
impl Unpin for Constant
impl !UnwindSafe for Constant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more