pub struct FunctionSpec {
pub name: String,
pub arguments: Vec<Statement>,
pub elements: Elements,
}
Fields§
§name: String
§arguments: Vec<Statement>
§elements: Elements
Implementations§
Source§impl FunctionSpec
impl FunctionSpec
Trait Implementations§
Source§impl Clone for FunctionSpec
impl Clone for FunctionSpec
Source§fn clone(&self) -> FunctionSpec
fn clone(&self) -> FunctionSpec
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 FunctionSpec
impl Debug for FunctionSpec
Source§impl From<FunctionSpec> for Element
impl From<FunctionSpec> for Element
Source§fn from(value: FunctionSpec) -> Element
fn from(value: FunctionSpec) -> Element
Converts to this type from the input type.
Source§impl Imports for FunctionSpec
impl Imports for FunctionSpec
fn imports<I>(&self, receiver: &mut I)where
I: ImportReceiver,
Auto Trait Implementations§
impl Freeze for FunctionSpec
impl RefUnwindSafe for FunctionSpec
impl Send for FunctionSpec
impl Sync for FunctionSpec
impl Unpin for FunctionSpec
impl UnwindSafe for FunctionSpec
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