pub struct Beacon<'a> { /* private fields */ }Expand description
A u64 whose 24-bit ANSI color is determined by its value.
Used by the soprintln macro to visually distinguish shared objects and threads.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Beacon<'a>
impl<'a> RefUnwindSafe for Beacon<'a>
impl<'a> Send for Beacon<'a>
impl<'a> Sync for Beacon<'a>
impl<'a> Unpin for Beacon<'a>
impl<'a> UnwindSafe for Beacon<'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