pub struct PapyrusInterface(/* private fields */);
Implementations§
Source§impl PapyrusInterface
impl PapyrusInterface
pub const VERSION: u32 = 1u32
pub const fn version(&self) -> u32
pub fn register(&self, func: fn(vm: *mut VirtualMachine) -> bool) -> bool
pub fn register_multiple<R>(&self, func_iter: R) -> bool
pub fn register_impl(&self, func: fn(vm: *mut VirtualMachine) -> bool) -> bool
Trait Implementations§
Source§impl Clone for PapyrusInterface
impl Clone for PapyrusInterface
Source§fn clone(&self) -> PapyrusInterface
fn clone(&self) -> PapyrusInterface
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 moreAuto Trait Implementations§
impl Freeze for PapyrusInterface
impl RefUnwindSafe for PapyrusInterface
impl Send for PapyrusInterface
impl Sync for PapyrusInterface
impl Unpin for PapyrusInterface
impl UnwindSafe for PapyrusInterface
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