[][src]Struct seed::dom_types::Style

pub struct Style {
    pub vals: HashMap<String, String>,
}

Handle Style separately from Attrs, since it commonly involves multiple parts, and has a different semantic meaning.

Fields

Methods

impl Style
[src]

Output style as a string, as would be set in the DOM as the attribute value for 'style'. Eg: "display: flex; font-size: 1.5em"

Trait Implementations

impl<Ms: Clone> UpdateEl<El<Ms>> for Style
[src]

impl<Ms: Clone, '_> UpdateEl<El<Ms>> for &'_ Style
[src]

impl PartialEq<Style> for Style
[src]

impl Clone for Style
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Style

impl Sync for Style

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]