Struct cedar_policy_core::parser::cst::Unary
source · pub struct Unary {
pub op: Option<NegOp>,
pub item: ASTNode<Option<Member>>,
}
Expand description
Unary negations
Fields§
§op: Option<NegOp>
the negation operation, if any
item: ASTNode<Option<Member>>
higher-priority node the negation is applied to
Trait Implementations§
source§impl PartialEq<Unary> for Unary
impl PartialEq<Unary> for Unary
source§impl TryFrom<Unary> for Expr
impl TryFrom<Unary> for Expr
§type Error = ParseErrors
type Error = ParseErrors
The type returned in the event of a conversion error.
impl Eq for Unary
impl StructuralEq for Unary
impl StructuralPartialEq for Unary
Auto Trait Implementations§
impl RefUnwindSafe for Unary
impl Send for Unary
impl Sync for Unary
impl Unpin for Unary
impl UnwindSafe for Unary
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