struct PropDesc {Show 13 fields
attrs_span: Span,
field_ident: Ident,
ty: Type,
name: LitStr,
override_class: Option<Type>,
override_interface: Option<Type>,
nullable: bool,
get: Option<MaybeCustomFn>,
set: Option<MaybeCustomFn>,
member: Option<Ident>,
builder: Option<(Punctuated<Expr, Comma>, TokenStream)>,
builder_fields: HashMap<Ident, Option<Expr>>,
is_construct_only: bool,
}
Fields§
§attrs_span: Span
§field_ident: Ident
§ty: Type
§name: LitStr
§override_class: Option<Type>
§override_interface: Option<Type>
§nullable: bool
§get: Option<MaybeCustomFn>
§set: Option<MaybeCustomFn>
§member: Option<Ident>
§builder: Option<(Punctuated<Expr, Comma>, TokenStream)>
§builder_fields: HashMap<Ident, Option<Expr>>
§is_construct_only: bool
Implementations§
Auto Trait Implementations§
impl Freeze for PropDesc
impl RefUnwindSafe for PropDesc
impl !Send for PropDesc
impl !Sync for PropDesc
impl Unpin for PropDesc
impl UnwindSafe for PropDesc
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