pub struct Function<Name, Args> {
pub name: Name,
pub args: Args,
}Expand description
The base struct for a function. Includes name and arguments. This function is re-used in other places and is likely not helpful by itself.
Fields§
§name: NameThe function name. Must be writable.
args: ArgsThe function arguments. Must be a sequence.
Trait Implementations§
Auto Trait Implementations§
impl<Name, Args> Freeze for Function<Name, Args>
impl<Name, Args> RefUnwindSafe for Function<Name, Args>where
Name: RefUnwindSafe,
Args: RefUnwindSafe,
impl<Name, Args> Send for Function<Name, Args>
impl<Name, Args> Sync for Function<Name, Args>
impl<Name, Args> Unpin for Function<Name, Args>
impl<Name, Args> UnwindSafe for Function<Name, Args>where
Name: UnwindSafe,
Args: UnwindSafe,
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