[−][src]Struct foreignc_template::RustContext
Fields
structs: Vec<RustStructure>
funcs: Vec<RustFunction>
free_funcs: Vec<RustFreeFunction>
Methods
impl RustContext
[src]
pub fn new() -> RustContext
[src]
pub fn generate_python_api<P>(
&self,
path: P,
lib_name: Option<String>
) -> TResult<()> where
P: AsRef<OsStr> + Sized,
[src]
&self,
path: P,
lib_name: Option<String>
) -> TResult<()> where
P: AsRef<OsStr> + Sized,
impl RustContext
[src]
pub fn from_path_directory(dir: &str) -> TResult<Self>
[src]
pub fn add_struct(&mut self, s: RustStructure)
[src]
pub fn append(&mut self, other: Self)
[src]
Trait Implementations
impl Debug for RustContext
[src]
impl Default for RustContext
[src]
fn default() -> RustContext
[src]
impl<'de> Deserialize<'de> for RustContext
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for RustContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for RustContext
impl Send for RustContext
impl Sync for RustContext
impl Unpin for RustContext
impl UnwindSafe for RustContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,