[][src]Enum seed::prelude::MountType

pub enum MountType {
    Takeover,
    Append,
}

Describes the handling of elements already present in the mount element.

Variants

Takeover

Take control of previously existing elements in the mount. This does not make guarantees of elements added after the App has been mounted.

Note that existing elements in the DOM will be recreated. This can be dangerous for script tags and other, similar tags.

Append

Leave the previously existing elements in the mount alone. This does not make guarantees of elements added after the App has been mounted.

Trait Implementations

impl Clone for MountType[src]

impl Copy for MountType[src]

impl Eq for MountType[src]

impl PartialEq<MountType> for MountType[src]

impl Debug for MountType[src]

impl Hash for MountType[src]

impl StructuralPartialEq for MountType[src]

impl StructuralEq for MountType[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]