pub struct CtypesBinding;Expand description
Python ctypes - Python calling C libraries
Trait Implementations§
Source§impl FfiBinding for CtypesBinding
impl FfiBinding for CtypesBinding
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 CtypesBinding
impl RefUnwindSafe for CtypesBinding
impl Send for CtypesBinding
impl Sync for CtypesBinding
impl Unpin for CtypesBinding
impl UnsafeUnpin for CtypesBinding
impl UnwindSafe for CtypesBinding
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