Function with_background

Source
pub fn with_background<F: FnOnce()>(color: Color, callback: F)
Expand description

Sets the background color before calling the function and resets it afterwards.