pub struct Pow {
pub(crate) args: [Expr; 2],
}
Fields§
§args: [Expr; 2]
[base, exponent]
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Pow
impl<'de> Deserialize<'de> for Pow
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 Ord for Pow
impl Ord for Pow
source§impl PartialOrd for Pow
impl PartialOrd for Pow
source§impl SymbolicExpr for Pow
impl SymbolicExpr for Pow
source§fn reduce(&self) -> Expr
fn reduce(&self) -> Expr
basic simplification that can be applied regardless of context Read more
fn args(&self) -> &[Expr]
fn args_mut(&mut self) -> &mut [Expr]
fn is_atom(&self) -> bool
fn n_args(&self) -> usize
fn iter_args(&self) -> impl Iterator<Item = &Expr>
fn map_args(self, map_fn: impl Fn(&mut Expr)) -> Self
impl Eq for Pow
impl StructuralPartialEq for Pow
Auto Trait Implementations§
impl Freeze for Pow
impl RefUnwindSafe for Pow
impl !Send for Pow
impl !Sync for Pow
impl Unpin for Pow
impl UnwindSafe for Pow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)