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 Clone for NamedStyle
impl Clone for NamedStyle
Source§fn clone(&self) -> NamedStyle
fn clone(&self) -> NamedStyle
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 moreSource§impl Debug for NamedStyle
impl Debug for NamedStyle
Source§impl<'de> Deserialize<'de> for NamedStyle
impl<'de> Deserialize<'de> for NamedStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NamedStyle
impl PartialEq for NamedStyle
Source§impl Serialize for NamedStyle
impl Serialize for NamedStyle
impl StructuralPartialEq for NamedStyle
Auto Trait Implementations§
impl Freeze for NamedStyle
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