Struct impl_tools_lib::autoimpl::ImplTraits
source · [−]pub struct ImplTraits { /* private fields */ }
Expand description
Autoimpl for trait targets
Implementations
sourceimpl ImplTraits
impl ImplTraits
sourcepub fn expand(
self,
item: TokenStream,
find_impl: impl Fn(&Path) -> Option<&'static dyn ImplTrait>
) -> TokenStream
pub fn expand(
self,
item: TokenStream,
find_impl: impl Fn(&Path) -> Option<&'static dyn ImplTrait>
) -> TokenStream
Expand over the given item
This attribute does not modify the item.
The caller should append the result to item
tokens.
Auto Trait Implementations
impl RefUnwindSafe for ImplTraits
impl !Send for ImplTraits
impl !Sync for ImplTraits
impl Unpin for ImplTraits
impl UnwindSafe for ImplTraits
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