Struct cbindgen::CythonConfig
source · pub struct CythonConfig {
pub header: Option<String>,
pub cimports: BTreeMap<String, Vec<String>>,
}
Expand description
Settings specific to Cython bindings.
Fields§
§header: Option<String>
Header specified in the top level cdef extern from header:
declaration.
cimports: BTreeMap<String, Vec<String>>
from module cimport name1, name2, ...
declarations added in the same place
where you’d get includes in C.
Trait Implementations§
source§impl Clone for CythonConfig
impl Clone for CythonConfig
source§fn clone(&self) -> CythonConfig
fn clone(&self) -> CythonConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CythonConfig
impl Debug for CythonConfig
source§impl Default for CythonConfig
impl Default for CythonConfig
source§fn default() -> CythonConfig
fn default() -> CythonConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CythonConfigwhere
CythonConfig: Default,
impl<'de> Deserialize<'de> for CythonConfigwhere CythonConfig: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CythonConfig
impl Send for CythonConfig
impl Sync for CythonConfig
impl Unpin for CythonConfig
impl UnwindSafe for CythonConfig
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