Struct impl_tools_lib::ForDeref
source · [−]pub struct ForDeref { /* private fields */ }
Expand description
Autoimpl for types supporting Deref
Implementations
sourceimpl 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 RefUnwindSafe for ForDeref
impl !Send for ForDeref
impl !Sync for ForDeref
impl Unpin for ForDeref
impl UnwindSafe for ForDeref
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more