Struct wren_sys::WrenConfiguration
source · #[repr(C)]pub struct WrenConfiguration {
pub reallocateFn: WrenReallocateFn,
pub resolveModuleFn: WrenResolveModuleFn,
pub loadModuleFn: WrenLoadModuleFn,
pub bindForeignMethodFn: WrenBindForeignMethodFn,
pub bindForeignClassFn: WrenBindForeignClassFn,
pub writeFn: WrenWriteFn,
pub errorFn: WrenErrorFn,
pub initialHeapSize: usize,
pub minHeapSize: usize,
pub heapGrowthPercent: c_int,
pub userData: *mut c_void,
}
Fields§
§reallocateFn: WrenReallocateFn
§resolveModuleFn: WrenResolveModuleFn
§loadModuleFn: WrenLoadModuleFn
§bindForeignMethodFn: WrenBindForeignMethodFn
§bindForeignClassFn: WrenBindForeignClassFn
§writeFn: WrenWriteFn
§errorFn: WrenErrorFn
§initialHeapSize: usize
§minHeapSize: usize
§heapGrowthPercent: c_int
§userData: *mut c_void
Trait Implementations§
source§impl Clone for WrenConfiguration
impl Clone for WrenConfiguration
source§fn clone(&self) -> WrenConfiguration
fn clone(&self) -> WrenConfiguration
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 WrenConfiguration
impl Debug for WrenConfiguration
impl Copy for WrenConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for WrenConfiguration
impl !Send for WrenConfiguration
impl !Sync for WrenConfiguration
impl Unpin for WrenConfiguration
impl UnwindSafe for WrenConfiguration
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