pub struct DartParam {
pub ty: DartType,
pub name: String,
pub is_named: bool,
pub is_required: bool,
pub default_value: Option<DartExpr>,
}Expand description
A parameter in a Dart function/method.
Fields§
§ty: DartType§name: String§is_named: bool§is_required: bool§default_value: Option<DartExpr>Implementations§
Trait Implementations§
impl StructuralPartialEq for DartParam
Auto Trait Implementations§
impl Freeze for DartParam
impl RefUnwindSafe for DartParam
impl Send for DartParam
impl Sync for DartParam
impl Unpin for DartParam
impl UnsafeUnpin for DartParam
impl UnwindSafe for DartParam
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