pub enum Literal {
Null,
Boolean(bool),
Int(i32),
Long(i64),
Float(f32),
Double(f64),
Char(u16),
String(JavaString),
TextBlock(JavaString),
}Variants§
Null
Boolean(bool)
Int(i32)
Long(i64)
Float(f32)
Double(f64)
Char(u16)
String(JavaString)
TextBlock(JavaString)
Logical value, not raw source; indentation and escapes are handled by the emitter.
Trait Implementations§
Source§impl JavaSource for Literal
impl JavaSource for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl Forget for Literal
impl Freeze for Literal
impl Move for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnsafeUnpin for Literal
impl UnwindSafe for Literal
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