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
impl_items.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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