#[non_exhaustive]pub struct ClOperator {
pub op: ClOp,
pub args: Vec<ClArgument>,
}
Expand description
A node in a classical expression tree.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.op: ClOp
The operation to be performed.
args: Vec<ClArgument>
The arguments to the operation.
Trait Implementations§
Source§impl Clone for ClOperator
impl Clone for ClOperator
Source§fn clone(&self) -> ClOperator
fn clone(&self) -> ClOperator
Returns a duplicate 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 ClOperator
impl Debug for ClOperator
Source§impl Default for ClOperator
impl Default for ClOperator
Source§fn default() -> ClOperator
fn default() -> ClOperator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClOperator
impl<'de> Deserialize<'de> for ClOperator
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 ClOperator
impl PartialEq for ClOperator
Source§impl Serialize for ClOperator
impl Serialize for ClOperator
impl StructuralPartialEq for ClOperator
Auto Trait Implementations§
impl Freeze for ClOperator
impl RefUnwindSafe for ClOperator
impl Send for ClOperator
impl Sync for ClOperator
impl Unpin for ClOperator
impl UnwindSafe for ClOperator
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