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),
}
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)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropAttr
impl RefUnwindSafe for PropAttr
impl !Send for PropAttr
impl !Sync for PropAttr
impl Unpin 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