Struct rtf_parser::StyleBlock
source · pub struct StyleBlock {
pub painter: Painter,
pub text: String,
}
Fields§
§painter: Painter
§text: String
Trait Implementations§
source§impl Clone for StyleBlock
impl Clone for StyleBlock
source§fn clone(&self) -> StyleBlock
fn clone(&self) -> StyleBlock
Returns a copy 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 moresource§impl Debug for StyleBlock
impl Debug for StyleBlock
source§impl Default for StyleBlock
impl Default for StyleBlock
source§fn default() -> StyleBlock
fn default() -> StyleBlock
Returns the “default value” for a type. Read more
source§impl PartialEq for StyleBlock
impl PartialEq for StyleBlock
source§fn eq(&self, other: &StyleBlock) -> bool
fn eq(&self, other: &StyleBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StyleBlock
Auto Trait Implementations§
impl RefUnwindSafe for StyleBlock
impl Send for StyleBlock
impl Sync for StyleBlock
impl Unpin for StyleBlock
impl UnwindSafe for StyleBlock
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