pub struct SimpleBinary<'a> {
pub op: &'a str,
/* private fields */
}
Expand description
A binary operator like “root”
Fields§
§op: &'a str
The operator name
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SimpleBinary<'a>
impl<'a> Clone for SimpleBinary<'a>
Source§fn clone(&self) -> SimpleBinary<'a>
fn clone(&self) -> SimpleBinary<'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 SimpleBinary<'a>
impl<'a> Debug for SimpleBinary<'a>
Source§impl<'a> From<SimpleBinary<'a>> for Simple<'a>
impl<'a> From<SimpleBinary<'a>> for Simple<'a>
Source§fn from(inp: SimpleBinary<'a>) -> Self
fn from(inp: SimpleBinary<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for SimpleBinary<'a>
impl<'a> PartialEq for SimpleBinary<'a>
impl<'a> Eq for SimpleBinary<'a>
impl<'a> StructuralPartialEq for SimpleBinary<'a>
Auto Trait Implementations§
impl<'a> Freeze for SimpleBinary<'a>
impl<'a> RefUnwindSafe for SimpleBinary<'a>
impl<'a> Send for SimpleBinary<'a>
impl<'a> Sync for SimpleBinary<'a>
impl<'a> Unpin for SimpleBinary<'a>
impl<'a> UnwindSafe for SimpleBinary<'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