pub struct DartField {
pub ty: DartType,
pub name: String,
pub is_final: bool,
pub is_static: bool,
pub is_late: bool,
pub default_value: Option<DartExpr>,
pub doc: Option<String>,
}Expand description
A field in a Dart class.
Fields§
§ty: DartType§name: String§is_final: bool§is_static: bool§is_late: bool§default_value: Option<DartExpr>§doc: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DartField
impl RefUnwindSafe for DartField
impl Send for DartField
impl Sync for DartField
impl Unpin for DartField
impl UnsafeUnpin for DartField
impl UnwindSafe for DartField
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