pub struct InterfaceSettings {
pub context_variable_name: Name,
pub destroy_func_name: Name,
}
Expand description
Settings that affect C interface member naming
Fields§
§context_variable_name: Name
Name of the C void* context variable, defaults to “ctx”
destroy_func_name: Name
Name of the function that destroys an interface when it is dropped, defaults to “on_destroy”
Implementations§
Trait Implementations§
Source§impl Debug for InterfaceSettings
impl Debug for InterfaceSettings
Auto Trait Implementations§
impl Freeze for InterfaceSettings
impl RefUnwindSafe for InterfaceSettings
impl !Send for InterfaceSettings
impl !Sync for InterfaceSettings
impl Unpin for InterfaceSettings
impl UnwindSafe for InterfaceSettings
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