Struct rtf_parser::StyleBlock
source · pub struct StyleBlock<'a> {
pub painter: Painter,
pub text: &'a str,
}
Fields§
§painter: Painter
§text: &'a str
Trait Implementations§
source§impl<'a> Debug for StyleBlock<'a>
impl<'a> Debug for StyleBlock<'a>
source§impl<'a> PartialEq for StyleBlock<'a>
impl<'a> PartialEq for StyleBlock<'a>
source§fn eq(&self, other: &StyleBlock<'a>) -> bool
fn eq(&self, other: &StyleBlock<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for StyleBlock<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for StyleBlock<'a>
impl<'a> Send for StyleBlock<'a>
impl<'a> Sync for StyleBlock<'a>
impl<'a> Unpin for StyleBlock<'a>
impl<'a> UnwindSafe for StyleBlock<'a>
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