Struct fb2::NamedStyle
source · pub struct NamedStyle {
pub name: String,
pub lang: Option<LanguageTag>,
pub elements: Vec<StyleElement>,
}Fields§
§name: String§lang: Option<LanguageTag>§elements: Vec<StyleElement>Trait Implementations§
source§impl Debug for NamedStyle
impl Debug for NamedStyle
source§impl PartialEq<NamedStyle> for NamedStyle
impl PartialEq<NamedStyle> for NamedStyle
source§fn eq(&self, other: &NamedStyle) -> bool
fn eq(&self, other: &NamedStyle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NamedStyle
Auto Trait Implementations§
impl RefUnwindSafe for NamedStyle
impl Send for NamedStyle
impl Sync for NamedStyle
impl Unpin for NamedStyle
impl UnwindSafe for NamedStyle
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