Struct safe_bindgen::LangCSharp [−][src]
pub struct LangCSharp { /* fields omitted */ }
Methods
impl LangCSharp
[src]
impl LangCSharp
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn set_lib_name<T: Into<String>>(&mut self, name: T)
[src]
pub fn set_lib_name<T: Into<String>>(&mut self, name: T)
Set the name of the native library. This also sets the class name.
pub fn set_interface_section<P, N, C>(
&mut self,
path: P,
namespace: N,
interface: C
) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
[src]
pub fn set_interface_section<P, N, C>(
&mut self,
path: P,
namespace: N,
interface: C
) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
Set path, namespace and interface name of the interface section.
pub fn set_functions_section<P, N, C>(
&mut self,
path: P,
namespace: N,
class: C
) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
[src]
pub fn set_functions_section<P, N, C>(
&mut self,
path: P,
namespace: N,
class: C
) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
Set path, namespace and class name of the functions section.
pub fn set_consts_enabled(&mut self, enabled: bool)
[src]
pub fn set_consts_enabled(&mut self, enabled: bool)
Enabl/disable generation of constants.
pub fn set_consts_section<P, N, C>(&mut self, path: P, namespace: N, class: C) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
[src]
pub fn set_consts_section<P, N, C>(&mut self, path: P, namespace: N, class: C) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
Set path, namespace and class name of the constants section.
pub fn set_types_enabled(&mut self, enabled: bool)
[src]
pub fn set_types_enabled(&mut self, enabled: bool)
Enabl/disable generation of types.
pub fn set_types_section<P, N>(&mut self, path: P, namespace: N) where
P: Into<String>,
N: Into<String>,
[src]
pub fn set_types_section<P, N>(&mut self, path: P, namespace: N) where
P: Into<String>,
N: Into<String>,
Set path and namespace of the types section.
pub fn set_utils_enabled(&mut self, enabled: bool)
[src]
pub fn set_utils_enabled(&mut self, enabled: bool)
Enable/disable generation of the utils class.
pub fn set_utils_section<P, N, C>(&mut self, path: P, namespace: N, class: C) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
[src]
pub fn set_utils_section<P, N, C>(&mut self, path: P, namespace: N, class: C) where
P: Into<String>,
N: Into<String>,
C: Into<String>,
Set path, namespace and class name of the utilities section.
pub fn add_opaque_type<T: Into<String>>(&mut self, name: T)
[src]
pub fn add_opaque_type<T: Into<String>>(&mut self, name: T)
Add definition of opaque type (type represented by an opaque pointer).
pub fn add_const<T: Display>(&mut self, ty: &str, name: &str, value: T)
[src]
pub fn add_const<T: Display>(&mut self, ty: &str, name: &str, value: T)
Add constant definition.
pub fn reset_filter(&mut self, filter_mode: FilterMode)
[src]
pub fn reset_filter(&mut self, filter_mode: FilterMode)
Clears the current filter and sets the filter mode.
pub fn filter<T: Into<String>>(&mut self, ident: T)
[src]
pub fn filter<T: Into<String>>(&mut self, ident: T)
Add the identifier to the filter.
If the filter mode is Blacklist
(the default), the identifiers in the
filter are ignored.
If it is Whitelist
, the identifiers not in the filter are ignored.
pub fn blacklist_wrapper_function<T: Into<String>>(&mut self, ident: T)
[src]
pub fn blacklist_wrapper_function<T: Into<String>>(&mut self, ident: T)
Do not generate wrapper function for the given function.
pub fn reset_wrapper_function_blacklist(&mut self)
[src]
pub fn reset_wrapper_function_blacklist(&mut self)
Trait Implementations
impl Default for LangCSharp
[src]
impl Default for LangCSharp
Auto Trait Implementations
impl Send for LangCSharp
impl Send for LangCSharp
impl Sync for LangCSharp
impl Sync for LangCSharp