Struct html5_picture::html5::SourceAttributes [−][src]
pub struct SourceAttributes { pub media_width: MediaWidth, pub srcset: String, }
Expand description
Information about the source attributes in a <picture>
tag.
Fields
media_width: MediaWidth
srcset: String
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for SourceAttributes
impl Send for SourceAttributes
impl Sync for SourceAttributes
impl Unpin for SourceAttributes
impl UnwindSafe for SourceAttributes