struct ReceivedAttrs {
nullable: bool,
get: Option<MaybeCustomFn>,
set: Option<MaybeCustomFn>,
override_class: Option<Type>,
override_interface: Option<Type>,
ty: Option<Type>,
member: Option<Ident>,
name: Option<LitStr>,
builder: Option<(Punctuated<Expr, Comma>, TokenStream)>,
builder_fields: BTreeMap<Ident, Option<Expr>>,
use_default: bool,
}Fields§
§nullable: bool§get: Option<MaybeCustomFn>§set: Option<MaybeCustomFn>§override_class: Option<Type>§override_interface: Option<Type>§ty: Option<Type>§member: Option<Ident>§name: Option<LitStr>§builder: Option<(Punctuated<Expr, Comma>, TokenStream)>§builder_fields: BTreeMap<Ident, Option<Expr>>§use_default: boolImplementations§
Source§impl ReceivedAttrs
impl ReceivedAttrs
fn set_from_attr(&mut self, attr: PropAttr)
Trait Implementations§
Source§impl Default for ReceivedAttrs
impl Default for ReceivedAttrs
Source§fn default() -> ReceivedAttrs
fn default() -> ReceivedAttrs
Returns the “default value” for a type. Read more
Source§impl Parse for ReceivedAttrs
impl Parse for ReceivedAttrs
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ReceivedAttrs
impl RefUnwindSafe for ReceivedAttrs
impl !Send for ReceivedAttrs
impl !Sync for ReceivedAttrs
impl Unpin for ReceivedAttrs
impl UnwindSafe for ReceivedAttrs
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