pub struct SimpleUnary<'a> {
pub op: &'a str,
/* private fields */
}
Expand description
A unary operator like “sqrt”
Fields§
§op: &'a str
The operator name
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SimpleUnary<'a>
impl<'a> Clone for SimpleUnary<'a>
Source§fn clone(&self) -> SimpleUnary<'a>
fn clone(&self) -> SimpleUnary<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for SimpleUnary<'a>
impl<'a> Debug for SimpleUnary<'a>
Source§impl<'a> From<SimpleUnary<'a>> for Simple<'a>
impl<'a> From<SimpleUnary<'a>> for Simple<'a>
Source§fn from(inp: SimpleUnary<'a>) -> Self
fn from(inp: SimpleUnary<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for SimpleUnary<'a>
impl<'a> PartialEq for SimpleUnary<'a>
impl<'a> Eq for SimpleUnary<'a>
impl<'a> StructuralPartialEq for SimpleUnary<'a>
Auto Trait Implementations§
impl<'a> Freeze for SimpleUnary<'a>
impl<'a> RefUnwindSafe for SimpleUnary<'a>
impl<'a> Send for SimpleUnary<'a>
impl<'a> Sync for SimpleUnary<'a>
impl<'a> Unpin for SimpleUnary<'a>
impl<'a> UnwindSafe for SimpleUnary<'a>
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