Enum ram_machine::parser::operand::CellOperand
source · pub enum CellOperand {
AddressOfCell(CellAddress),
AddressOfCellInCell(CellAddress),
}Variants§
AddressOfCell(CellAddress)
AddressOfCellInCell(CellAddress)
Implementations§
source§impl CellOperand
impl CellOperand
pub fn expand( &self, tape: &[Option<CellValue>] ) -> Result<CellAddress, ExpandError>
Trait Implementations§
source§impl Clone for CellOperand
impl Clone for CellOperand
source§fn clone(&self) -> CellOperand
fn clone(&self) -> CellOperand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CellOperand
impl Debug for CellOperand
source§impl FromStr for CellOperand
impl FromStr for CellOperand
source§impl PartialEq for CellOperand
impl PartialEq for CellOperand
source§fn eq(&self, other: &CellOperand) -> bool
fn eq(&self, other: &CellOperand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CellOperand
impl StructuralPartialEq for CellOperand
Auto Trait Implementations§
impl RefUnwindSafe for CellOperand
impl Send for CellOperand
impl Sync for CellOperand
impl Unpin for CellOperand
impl UnwindSafe for CellOperand
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