Enum pyo3_macros_backend::method::SelfType
source · 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