pub struct Bg<C: Color>(pub C);
Expand description
A background color.
Tuple Fields§
§0: C
Trait Implementations§
impl<C: Copy + Color> Copy for Bg<C>
Auto Trait Implementations§
impl<C> Freeze for Bg<C>where
C: Freeze,
impl<C> RefUnwindSafe for Bg<C>where
C: RefUnwindSafe,
impl<C> Send for Bg<C>where
C: Send,
impl<C> Sync for Bg<C>where
C: Sync,
impl<C> Unpin for Bg<C>where
C: Unpin,
impl<C> UnwindSafe for Bg<C>where
C: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)