Enum koto_parser::Constant
source · pub enum Constant<'a> {
F64(f64),
I64(i64),
Str(&'a str),
}
Expand description
A constant provided by a ConstantPool
Variants§
Trait Implementations§
source§impl<'a> PartialEq for Constant<'a>
impl<'a> PartialEq for Constant<'a>
impl<'a> StructuralPartialEq for Constant<'a>
Auto Trait Implementations§
impl<'a> Freeze for Constant<'a>
impl<'a> RefUnwindSafe for Constant<'a>
impl<'a> Send for Constant<'a>
impl<'a> Sync for Constant<'a>
impl<'a> Unpin for Constant<'a>
impl<'a> UnwindSafe for Constant<'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