enum PropAttr {
Builder(Punctuated<Expr, Comma>, TokenStream),
Nullable,
Get(Option<Expr>),
Set(Option<Expr>),
OverrideClass(Type),
OverrideInterface(Type),
Type(Type),
BuilderField((Ident, Option<Expr>)),
Member(Ident),
Name(LitStr),
Default,
}Variants§
Builder(Punctuated<Expr, Comma>, TokenStream)
Nullable
Get(Option<Expr>)
Set(Option<Expr>)
OverrideClass(Type)
OverrideInterface(Type)
Type(Type)
BuilderField((Ident, Option<Expr>))
Member(Ident)
Name(LitStr)
Default
Trait Implementations§
Auto Trait Implementations§
impl !Send for PropAttr
impl !Sync for PropAttr
impl Freeze for PropAttr
impl RefUnwindSafe for PropAttr
impl Unpin for PropAttr
impl UnsafeUnpin for PropAttr
impl UnwindSafe for PropAttr
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