#[repr(transparent)]pub struct TextColor(pub Color);Expand description
Keyless style! property wrapper setting foreground text color.
Tuple Fields§
§0: ColorTrait Implementations§
impl Copy for TextColor
impl Eq for TextColor
impl StructuralPartialEq for TextColor
Source§impl StyleApply for TextColor
StyleApply implementation for TextColor.
impl StyleApply for TextColor
StyleApply implementation for TextColor.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies TextColor directly in place onto style.
§Arguments
Self- Foreground text color wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for TextColor
impl Freeze for TextColor
impl Move for TextColor
impl RefUnwindSafe for TextColor
impl Send for TextColor
impl Sync for TextColor
impl Unpin for TextColor
impl UnsafeUnpin for TextColor
impl UnwindSafe for TextColor
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