pub struct StyleStack { /* private fields */ }Expand description
A stack of styles where the current style is the combination of all pushed styles.
This mirrors Python Rich’s StyleStack.
Implementations§
Source§impl StyleStack
impl StyleStack
Trait Implementations§
Source§impl Clone for StyleStack
impl Clone for StyleStack
Source§fn clone(&self) -> StyleStack
fn clone(&self) -> StyleStack
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StyleStack
impl RefUnwindSafe for StyleStack
impl Send for StyleStack
impl Sync for StyleStack
impl Unpin for StyleStack
impl UnwindSafe for StyleStack
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