Trait CustomScopeThings

Source
pub trait CustomScopeThings {
    // Required methods
    fn writeln(&mut self, line: impl Display);
    fn add_generation_timestamp_comment(&mut self);
}

Required Methods§

Source

fn writeln(&mut self, line: impl Display)

Source

fn add_generation_timestamp_comment(&mut self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CustomScopeThings for Scope

Source§

fn writeln(&mut self, line: impl Display)

Writes a raw string to the scope but doesn’t forget to add the newline this time.

Source§

fn add_generation_timestamp_comment(&mut self)

Implementors§