pub struct ArithmeticExpansion { /* private fields */ }Expand description
Arithmetic expansion metadata for Word::Arithmetic.
Implementations§
Source§impl ArithmeticExpansion
impl ArithmeticExpansion
pub fn new(body: ArithmExpr, range: Range) -> Self
pub fn body(&self) -> &ArithmExpr
pub fn body_mut(&mut self) -> &mut ArithmExpr
Trait Implementations§
Source§impl Clone for ArithmeticExpansion
impl Clone for ArithmeticExpansion
Source§fn clone(&self) -> ArithmeticExpansion
fn clone(&self) -> ArithmeticExpansion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArithmeticExpansion
impl Debug for ArithmeticExpansion
Source§impl<'de> Deserialize<'de> for ArithmeticExpansion
impl<'de> Deserialize<'de> for ArithmeticExpansion
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 for ArithmeticExpansion
impl PartialEq for ArithmeticExpansion
Source§fn eq(&self, other: &ArithmeticExpansion) -> bool
fn eq(&self, other: &ArithmeticExpansion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArithmeticExpansion
impl Serialize for ArithmeticExpansion
impl Eq for ArithmeticExpansion
impl StructuralPartialEq for ArithmeticExpansion
Auto Trait Implementations§
impl Freeze for ArithmeticExpansion
impl RefUnwindSafe for ArithmeticExpansion
impl Send for ArithmeticExpansion
impl Sync for ArithmeticExpansion
impl Unpin for ArithmeticExpansion
impl UnsafeUnpin for ArithmeticExpansion
impl UnwindSafe for ArithmeticExpansion
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