Enum simplelog::ThreadPadding
source · pub enum ThreadPadding {
Left(usize),
Right(usize),
Off,
}
Expand description
Padding to be used for logging the thread id/name
Variants§
Left(usize)
Add spaces on the left side, up to usize many
Right(usize)
Add spaces on the right side, up to usize many
Off
Do not pad the thread id/name
Trait Implementations§
source§impl Clone for ThreadPadding
impl Clone for ThreadPadding
source§fn clone(&self) -> ThreadPadding
fn clone(&self) -> ThreadPadding
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 more