Struct oo_bindgen::model::LibrarySettings
source · pub struct LibrarySettings {
pub name: Name,
pub c_ffi_prefix: Name,
pub class: ClassSettings,
pub iterator: IteratorSettings,
pub collection: CollectionSettings,
pub future: FutureSettings,
pub interface: InterfaceSettings,
}Expand description
Settings that affect the names of things
Fields§
§name: Namename of the library
c_ffi_prefix: Nameprefix given to all API types, e.g. structs, enums, functions, etc
class: ClassSettingssettings that control class generation
iterator: IteratorSettingssettings that control iterator generation
collection: CollectionSettingssettings that control collection generation
future: FutureSettingssettings that control future-style interface generation
interface: InterfaceSettingssettings that control C interface member naming
Implementations§
source§impl LibrarySettings
impl LibrarySettings
sourcepub fn create<S: IntoName, R: IntoName>(
name: S,
c_ffi_prefix: R,
class: ClassSettings,
iterator: IteratorSettings,
collection: CollectionSettings,
future: FutureSettings,
interface: InterfaceSettings
) -> BindResult<Rc<Self>>
pub fn create<S: IntoName, R: IntoName>(
name: S,
c_ffi_prefix: R,
class: ClassSettings,
iterator: IteratorSettings,
collection: CollectionSettings,
future: FutureSettings,
interface: InterfaceSettings
) -> BindResult<Rc<Self>>
create an RC to the settings that is cheaply cloned