pub struct FuncParam {
pub name: String,
pub ty: Option<Ty>,
pub default_value: Option<Box<Expr>>,
}
Fields§
§name: String
§ty: Option<Ty>
§default_value: Option<Box<Expr>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for FuncParam
impl<'de> Deserialize<'de> for FuncParam
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FuncParam
impl PartialEq for FuncParam
impl StructuralPartialEq for FuncParam
Auto Trait Implementations§
impl RefUnwindSafe for FuncParam
impl Send for FuncParam
impl Sync for FuncParam
impl Unpin for FuncParam
impl UnwindSafe for FuncParam
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