pub struct Filled<T> {
pub item: T,
pub color: Color,
}
Expand description
An object filled with a background color.
Fields§
§item: T
§color: Color
Trait Implementations§
Source§impl<T: Cell + Display> Cell for Filled<T>
impl<T: Cell + Display> Cell for Filled<T>
Auto Trait Implementations§
impl<T> Freeze for Filled<T>where
T: Freeze,
impl<T> RefUnwindSafe for Filled<T>where
T: RefUnwindSafe,
impl<T> Send for Filled<T>where
T: Send,
impl<T> Sync for Filled<T>where
T: Sync,
impl<T> Unpin for Filled<T>where
T: Unpin,
impl<T> UnwindSafe for Filled<T>where
T: UnwindSafe,
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