[−][src]Struct mun_runtime::RuntimeOptions
Options required to construct a RuntimeHandle
through mun_runtime_create
Safety
This struct contains raw pointers as parameters. Passing pointers to invalid data, will lead to undefined behavior.
Fields
delay_ms: u32
The interval at which changes to the disk are detected. 0
will initialize this value to
default.
functions: *const FunctionDefinition
Function definitions that should be inserted in the runtime before a mun library is loaded.
This is useful to initialize extern
functions used in a mun library.
If the [num_functions
] fields is non-zero this field must contain a pointer to an array
of abi::FunctionDefinition
s.
num_functions: u32
The number of functions in the [functions
] array.
Trait Implementations
impl Clone for RuntimeOptions
[src]
fn clone(&self) -> RuntimeOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RuntimeOptions
[src]
impl Default for RuntimeOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for RuntimeOptions
impl !Send for RuntimeOptions
impl !Sync for RuntimeOptions
impl Unpin for RuntimeOptions
impl UnwindSafe for RuntimeOptions
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Marshal<T> for T
[src]
fn marshal_value(self, _runtime: Rc<RefCell<Runtime>>) -> T
[src]
fn marshal_from_ptr(
ptr: NonNull<T>,
_runtime: Rc<RefCell<Runtime>>,
_type_info: Option<&TypeInfo>
) -> T
[src]
ptr: NonNull<T>,
_runtime: Rc<RefCell<Runtime>>,
_type_info: Option<&TypeInfo>
) -> T
fn marshal_to_ptr(value: T, ptr: NonNull<T>, _type_info: Option<&TypeInfo>)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,