Struct kodept_ast::wrappers::AOperation
source · pub struct AOperation(/* private fields */);Methods from Deref<Target = Operation>§
pub fn as_application(&self) -> Option<&Application>
pub fn as_application_mut(&mut self) -> Option<&mut Application>
pub fn as_access(&self) -> Option<&Access>
pub fn as_access_mut(&mut self) -> Option<&mut Access>
pub fn as_unary(&self) -> Option<&Unary>
pub fn as_unary_mut(&mut self) -> Option<&mut Unary>
pub fn as_binary(&self) -> Option<&Binary>
pub fn as_binary_mut(&mut self) -> Option<&mut Binary>
pub fn as_block(&self) -> Option<&ExpressionBlock>
pub fn as_block_mut(&mut self) -> Option<&mut ExpressionBlock>
pub fn as_expression(&self) -> Option<&Expression>
pub fn as_expression_mut(&mut self) -> Option<&mut Expression>
Trait Implementations§
source§impl Deref for AOperation
impl Deref for AOperation
source§impl DerefMut for AOperation
impl DerefMut for AOperation
source§impl<'a> TryFrom<&'a GenericASTNode> for &'a AOperation
impl<'a> TryFrom<&'a GenericASTNode> for &'a AOperation
source§impl<'a> TryFrom<&'a mut GenericASTNode> for &'a mut AOperation
impl<'a> TryFrom<&'a mut GenericASTNode> for &'a mut AOperation
Auto Trait Implementations§
impl RefUnwindSafe for AOperation
impl Send for AOperation
impl Sync for AOperation
impl Unpin for AOperation
impl UnwindSafe for AOperation
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