pub struct RunBrush(pub Color);Expand description
Brush por-run para texto multicolor. Newtype sobre Color porque
parley exige que el brush genérico implemente Default (que Color no
garantiza); aquí proveemos uno explícito (negro opaco) que nunca se ve
en la práctica: todo run lleva su color o el default_color del bloque.
Tuple Fields§
§0: ColorTrait Implementations§
impl Copy for RunBrush
impl StructuralPartialEq for RunBrush
Auto Trait Implementations§
impl Freeze for RunBrush
impl RefUnwindSafe for RunBrush
impl Send for RunBrush
impl Sync for RunBrush
impl Unpin for RunBrush
impl UnsafeUnpin for RunBrush
impl UnwindSafe for RunBrush
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