Enum cedar_policy_core::ast::UnaryOp
source · pub enum UnaryOp {
Not,
Neg,
}
Expand description
Built-in operators with exactly one argument
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for UnaryOp
impl<'de> Deserialize<'de> for UnaryOp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<UnaryOp> for UnaryOp
impl PartialEq<UnaryOp> for UnaryOp
impl Copy for UnaryOp
impl Eq for UnaryOp
impl StructuralEq for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
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