Enum cedar_policy_core::parser::cst::MemAccess
source · pub enum MemAccess {
Field(Node<Option<Ident>>),
Call(Vec<Node<Option<Expr>>>),
Index(Node<Option<Expr>>),
}
Expand description
Forms of members and their accessors
Variants§
Field(Node<Option<Ident>>)
field identifier
Call(Vec<Node<Option<Expr>>>)
function call
Index(Node<Option<Expr>>)
index of a member
Trait Implementations§
source§impl PartialEq for MemAccess
impl PartialEq for MemAccess
impl Eq for MemAccess
impl StructuralPartialEq for MemAccess
Auto Trait Implementations§
impl Freeze for MemAccess
impl RefUnwindSafe for MemAccess
impl Send for MemAccess
impl Sync for MemAccess
impl Unpin for MemAccess
impl UnwindSafe for MemAccess
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