pub struct Literal(/* private fields */);
Implementations§
Source§impl Literal
impl Literal
pub fn is_negative(self) -> bool
pub fn is_positive(self) -> bool
Trait Implementations§
Source§impl Contextual for Literal
impl Contextual for Literal
fn format(&self, ctx: &ContextHandle) -> Result<String, AcesError>
fn with(&self, ctx: &ContextHandle) -> InContext<'_, Self>
fn with_mut(&mut self, ctx: &ContextHandle) -> InContextMut<'_, Self>
Source§impl Ord for Literal
impl Ord for Literal
Source§impl PartialOrd for Literal
impl PartialOrd for Literal
impl Copy for Literal
impl Eq for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl Freeze for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin 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