pub struct LogOptions<'a> {
pub sep: &'a str,
pub end: &'a str,
pub style: Option<StyleType>,
pub justify: Option<Justify>,
pub emoji: Option<bool>,
pub markup: Option<bool>,
pub highlight: Option<bool>,
}Expand description
The keyword arguments of upstream’s Console.log, after defaults.
log_locals is not ported (DIVERGENCES §43).
Fields§
§sep: &'a str§end: &'a str§style: Option<StyleType>§justify: Option<Justify>§emoji: Option<bool>§markup: Option<bool>§highlight: Option<bool>Trait Implementations§
Source§impl<'a> Clone for LogOptions<'a>
impl<'a> Clone for LogOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for LogOptions<'a>
impl<'a> RefUnwindSafe for LogOptions<'a>
impl<'a> Send for LogOptions<'a>
impl<'a> Sync for LogOptions<'a>
impl<'a> Unpin for LogOptions<'a>
impl<'a> UnsafeUnpin for LogOptions<'a>
impl<'a> UnwindSafe for LogOptions<'a>
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