pub struct UserFunction {
pub params: Vec<String>,
pub body: String,
}
Expand description
User-defined function.
Fields§
§params: Vec<String>
§body: String
Trait Implementations§
Source§impl Clone for UserFunction
impl Clone for UserFunction
Source§fn clone(&self) -> UserFunction
fn clone(&self) -> UserFunction
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 moreAuto Trait Implementations§
impl Freeze for UserFunction
impl RefUnwindSafe for UserFunction
impl Send for UserFunction
impl Sync for UserFunction
impl Unpin for UserFunction
impl UnwindSafe for UserFunction
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