pub struct PyO3Binding;Expand description
PyO3 - Rust to Python bindings
Trait Implementations§
Source§impl FfiBinding for PyO3Binding
impl FfiBinding for PyO3Binding
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Unique identifier for this binding type (e.g., “pyo3”, “wasm-bindgen”)
Source§fn source_lang(&self) -> &'static str
fn source_lang(&self) -> &'static str
Source language for this binding (e.g., “rust”)
Source§fn target_lang(&self) -> &'static str
fn target_lang(&self) -> &'static str
Target language for this binding (e.g., “python”)
Source§fn detect_in_build_file(&self, path: &Path, content: &str) -> Option<String>
fn detect_in_build_file(&self, path: &Path, content: &str) -> Option<String>
Check if a build file (e.g., Cargo.toml) indicates this binding is used.
Returns the module name if detected.
Source§fn consumer_extensions(&self) -> &[&'static str]
fn consumer_extensions(&self) -> &[&'static str]
File extensions that may contain imports of this binding’s modules.
Auto Trait Implementations§
impl Freeze for PyO3Binding
impl RefUnwindSafe for PyO3Binding
impl Send for PyO3Binding
impl Sync for PyO3Binding
impl Unpin for PyO3Binding
impl UnsafeUnpin for PyO3Binding
impl UnwindSafe for PyO3Binding
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request