[−][src]Function rosy::vm::require_with_protected
pub unsafe fn require_with_protected(
file: impl Into<String>,
safe_level: c_int
) -> Result<bool>
Loads file
with safe_level
.
This returns true
if successful or false
if already loaded.
See require_with
for more info.
Safety
Code executed from file
may void the type safety of objects accessible
from Rust. For example, if one calls push
on Array<A>
with an object of
type B
, then the inserted object will be treated as being of type A
.