pub struct ConsoleService {}
Expand description
A service to use methods of a Console.
Implementations§
Source§impl ConsoleService
impl ConsoleService
Sourcepub fn log(message: &str)
pub fn log(message: &str)
console.log method implementation. This method outputs the provided message to the console.
Sourcepub fn warn(message: &str)
pub fn warn(message: &str)
console.warn method implementation. This method outputs the provided message to the console as a warning.
Sourcepub fn info(message: &str)
pub fn info(message: &str)
console.info method implementation. This method outputs the provided message to the console as information.
Sourcepub fn error(message: &str)
pub fn error(message: &str)
console.error method implementation. This method outputs the provided message to the console as an error.
Sourcepub fn debug(message: &str)
pub fn debug(message: &str)
console.debug method implementation.
Sourcepub fn count_named(name: &str)
pub fn count_named(name: &str)
console.count_named method implementation.
Sourcepub fn count()
pub fn count()
console.count method implementation.
Sourcepub fn time_named(name: &str)
pub fn time_named(name: &str)
console.time_named method implementation.
Sourcepub fn time_named_end(name: &str)
pub fn time_named_end(name: &str)
console.time_named_end method implementation.
Sourcepub fn time()
pub fn time()
console.time method implementation.
Sourcepub fn time_end()
pub fn time_end()
console.time_end method implementation.
Sourcepub fn clear()
pub fn clear()
console.clear method implementation.
Sourcepub fn group()
pub fn group()
console.group method implementation.
Sourcepub fn group_collapsed()
pub fn group_collapsed()
console.group_collapsed method implementation.
Sourcepub fn group_end()
pub fn group_end()
console.group_end method implementation.
Sourcepub fn trace()
pub fn trace()
console.trace method implementation. This method outputs the current stack trace to the console.
Sourcepub fn assert(condition: bool, message: &str)
pub fn assert(condition: bool, message: &str)
console.assert method implementation.
Trait Implementations§
Source§impl Debug for ConsoleService
impl Debug for ConsoleService
Source§impl Default for ConsoleService
impl Default for ConsoleService
Source§fn default() -> ConsoleService
fn default() -> ConsoleService
Auto Trait Implementations§
impl Freeze for ConsoleService
impl RefUnwindSafe for ConsoleService
impl Send for ConsoleService
impl Sync for ConsoleService
impl Unpin for ConsoleService
impl UnwindSafe for ConsoleService
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
Source§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
self
to an optional value of a Properties
struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
self
to a value of a Properties
struct.