pub enum Attr {
ForDeref(ForDeref),
ImplTraits(ImplTraits),
}
Expand description
The #[autoimpl]
attribute
Variants§
ForDeref(ForDeref)
Autoimpl for types supporting Deref
ImplTraits(ImplTraits)
Autoimpl for trait targets
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attr
impl RefUnwindSafe for Attr
impl !Send for Attr
impl !Sync for Attr
impl Unpin for Attr
impl UnwindSafe for Attr
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