pub struct ZigGenericFn {
pub name: String,
pub type_params: Vec<String>,
pub params: Vec<(String, String)>,
pub return_type: String,
pub body: Vec<ZigStmt>,
}Fields§
§name: String§type_params: Vec<String>§params: Vec<(String, String)>§return_type: String§body: Vec<ZigStmt>Implementations§
Source§impl ZigGenericFn
impl ZigGenericFn
Trait Implementations§
Source§impl Clone for ZigGenericFn
impl Clone for ZigGenericFn
Source§fn clone(&self) -> ZigGenericFn
fn clone(&self) -> ZigGenericFn
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 moreAuto Trait Implementations§
impl Freeze for ZigGenericFn
impl RefUnwindSafe for ZigGenericFn
impl Send for ZigGenericFn
impl Sync for ZigGenericFn
impl Unpin for ZigGenericFn
impl UnsafeUnpin for ZigGenericFn
impl UnwindSafe for ZigGenericFn
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