pub struct ForDeref { /* private fields */ }
Expand description
Autoimpl for types supporting Deref
Implementations§
Source§impl ForDeref
impl ForDeref
Sourcepub fn expand(self, item: TokenStream) -> TokenStream
pub fn expand(self, item: TokenStream) -> TokenStream
Expand over the given item
This attribute does not modify the item.
The caller should append the result to item
tokens.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ForDeref
impl RefUnwindSafe for ForDeref
impl !Send for ForDeref
impl !Sync for ForDeref
impl Unpin for ForDeref
impl UnwindSafe for ForDeref
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