pub enum SelfType {
Receiver {
mutable: bool,
span: Span,
},
TryFromBoundRef(Span),
}
Variants§
Implementations§
Source§impl SelfType
impl SelfType
pub fn receiver( &self, cls: &Type, error_mode: ExtractErrorMode, holders: &mut Holders, ctx: &Ctx, ) -> TokenStream
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelfType
impl RefUnwindSafe for SelfType
impl !Send for SelfType
impl !Sync for SelfType
impl Unpin for SelfType
impl UnwindSafe for SelfType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)