Enum pyo3_derive_backend::func::MethodProto
source · pub enum MethodProto {
Free {
name: &'static str,
proto: &'static str,
},
Unary {
name: &'static str,
pyres: bool,
proto: &'static str,
},
Binary {
name: &'static str,
arg: &'static str,
pyres: bool,
proto: &'static str,
},
BinaryS {
name: &'static str,
arg1: &'static str,
arg2: &'static str,
pyres: bool,
proto: &'static str,
},
Ternary {
name: &'static str,
arg1: &'static str,
arg2: &'static str,
pyres: bool,
proto: &'static str,
},
TernaryS {
name: &'static str,
arg1: &'static str,
arg2: &'static str,
arg3: &'static str,
pyres: bool,
proto: &'static str,
},
Quaternary {
name: &'static str,
arg1: &'static str,
arg2: &'static str,
arg3: &'static str,
proto: &'static str,
},
}
Variants
Free
Unary
Binary
BinaryS
Ternary
TernaryS
Fields
name: &'static str
arg1: &'static str
arg2: &'static str
arg3: &'static str
pyres: bool
proto: &'static str
Quaternary
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MethodProto
impl Send for MethodProto
impl Sync for MethodProto
impl Unpin for MethodProto
impl UnwindSafe for MethodProto
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