struct PropDesc {Show 15 fields
attrs_span: Span,
field_ident: Ident,
ty: Type,
name: LitStr,
comments: Vec<Attribute>,
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: BTreeMap<Ident, Option<Expr>>,
is_construct_only: bool,
use_default: bool,
}Fields§
§attrs_span: Span§field_ident: Ident§ty: Type§name: LitStr§comments: Vec<Attribute>§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: BTreeMap<Ident, Option<Expr>>§is_construct_only: bool§use_default: boolImplementations§
Auto Trait Implementations§
impl !Send for PropDesc
impl !Sync for PropDesc
impl Freeze for PropDesc
impl RefUnwindSafe for PropDesc
impl Unpin for PropDesc
impl UnsafeUnpin 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