pub struct VyperParam {
pub name: String,
pub ty: VyperType,
pub default: Option<VyperExpr>,
}Expand description
A function parameter.
Fields§
§name: String§ty: VyperType§default: Option<VyperExpr>Implementations§
Trait Implementations§
Source§impl Clone for VyperParam
impl Clone for VyperParam
Source§fn clone(&self) -> VyperParam
fn clone(&self) -> VyperParam
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 moreSource§impl Debug for VyperParam
impl Debug for VyperParam
Auto Trait Implementations§
impl Freeze for VyperParam
impl RefUnwindSafe for VyperParam
impl Send for VyperParam
impl Sync for VyperParam
impl Unpin for VyperParam
impl UnsafeUnpin for VyperParam
impl UnwindSafe for VyperParam
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