pub struct OperateFunctionArg {
pub name: Option<Ident>,
pub data_type: DataType,
pub default_expr: Option<Expr>,
}
Fields§
§name: Option<Ident>
§data_type: DataType
§default_expr: Option<Expr>
Trait Implementations§
Source§impl Clone for OperateFunctionArg
impl Clone for OperateFunctionArg
Source§fn clone(&self) -> OperateFunctionArg
fn clone(&self) -> OperateFunctionArg
Returns a copy 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 OperateFunctionArg
impl Debug for OperateFunctionArg
Source§impl Hash for OperateFunctionArg
impl Hash for OperateFunctionArg
Source§impl PartialEq for OperateFunctionArg
impl PartialEq for OperateFunctionArg
Source§impl PartialOrd for OperateFunctionArg
impl PartialOrd for OperateFunctionArg
Source§impl<'a> TreeNodeContainer<'a, Expr> for OperateFunctionArg
impl<'a> TreeNodeContainer<'a, Expr> for OperateFunctionArg
Source§fn apply_elements<F: FnMut(&'a Expr) -> Result<TreeNodeRecursion>>(
&'a self,
f: F,
) -> Result<TreeNodeRecursion>
fn apply_elements<F: FnMut(&'a Expr) -> Result<TreeNodeRecursion>>( &'a self, f: F, ) -> Result<TreeNodeRecursion>
Applies
f
to all elements of the container.
This method is usually called from TreeNode::apply_children
implementations as
a node is actually a container of the node’s children.Source§fn map_elements<F: FnMut(Expr) -> Result<Transformed<Expr>>>(
self,
f: F,
) -> Result<Transformed<Self>>
fn map_elements<F: FnMut(Expr) -> Result<Transformed<Expr>>>( self, f: F, ) -> Result<Transformed<Self>>
Maps all elements of the container with
f
.
This method is usually called from TreeNode::map_children
implementations as
a node is actually a container of the node’s children.impl Eq for OperateFunctionArg
impl StructuralPartialEq for OperateFunctionArg
Auto Trait Implementations§
impl Freeze for OperateFunctionArg
impl !RefUnwindSafe for OperateFunctionArg
impl Send for OperateFunctionArg
impl Sync for OperateFunctionArg
impl Unpin for OperateFunctionArg
impl !UnwindSafe for OperateFunctionArg
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more