pub struct LogModule;
Trait Implementations§
Source§impl<'vm> Module<'vm> for LogModule
impl<'vm> Module<'vm> for LogModule
fn name(&self) -> &'static str
fn trait_definition(&self) -> &'static str
fn call(&self, function: &'vm str, args: RigzArgs) -> Result<Value, VMError>
fn call_extension( &self, this: Rc<RefCell<Value>>, function: &'vm str, args: RigzArgs, ) -> Result<Value, VMError>
fn call_mutable_extension( &self, this: Rc<RefCell<Value>>, function: &'vm str, args: RigzArgs, ) -> Result<Option<Value>, VMError>
fn vm_extension( &self, vm: &mut VM<'vm>, function: &'vm str, args: RigzArgs, ) -> Result<Value, VMError>
Source§impl<'a> ParsedModule<'a> for LogModule
impl<'a> ParsedModule<'a> for LogModule
fn module_definition(&self) -> ModuleTraitDefinition<'static>
impl Copy for LogModule
Auto Trait Implementations§
impl Freeze for LogModule
impl RefUnwindSafe for LogModule
impl Send for LogModule
impl Sync for LogModule
impl Unpin for LogModule
impl UnwindSafe for LogModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more