Enum cedar_policy_core::parser::cst::Literal
source · pub enum Literal {
True,
False,
Num(u64),
Str(ASTNode<Option<Str>>),
}
Expand description
Raw values
Variants§
Trait Implementations§
source§impl PartialEq<Literal> for Literal
impl PartialEq<Literal> for Literal
source§impl TryFrom<Literal> for Expr
impl TryFrom<Literal> for Expr
§type Error = ParseErrors
type Error = ParseErrors
The type returned in the event of a conversion error.
impl Eq for Literal
impl StructuralEq for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
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