[][src]Struct seed::app::builder::after_mount::AfterMount

pub struct AfterMount<Mdl> { /* fields omitted */ }

Implementations

impl<Mdl> AfterMount<Mdl>[src]

pub fn new(model: Mdl) -> Self[src]

Creates a new AfterMount instance. You can also use AfterMount::default if your Model implements Default.

pub const fn url_handling(self, url_handling: UrlHandling) -> Self[src]

  • UrlHandling::PassToRoutes - your function routes will be called with initial URL. Default
  • UrlHandling::None - URL won't be handled by Seed.

Trait Implementations

impl<Mdl: Clone> Clone for AfterMount<Mdl>[src]

impl<Mdl: Copy> Copy for AfterMount<Mdl>[src]

impl<Mdl: Debug> Debug for AfterMount<Mdl>[src]

impl<Mdl: Default> Default for AfterMount<Mdl>[src]

impl<Mdl: Eq> Eq for AfterMount<Mdl>[src]

impl<Mdl: Hash> Hash for AfterMount<Mdl>[src]

impl<Mdl: PartialEq> PartialEq<AfterMount<Mdl>> for AfterMount<Mdl>[src]

impl<Mdl> StructuralEq for AfterMount<Mdl>[src]

impl<Mdl> StructuralPartialEq for AfterMount<Mdl>[src]

Auto Trait Implementations

impl<Mdl> RefUnwindSafe for AfterMount<Mdl> where
    Mdl: RefUnwindSafe

impl<Mdl> Send for AfterMount<Mdl> where
    Mdl: Send

impl<Mdl> Sync for AfterMount<Mdl> where
    Mdl: Sync

impl<Mdl> Unpin for AfterMount<Mdl> where
    Mdl: Unpin

impl<Mdl> UnwindSafe for AfterMount<Mdl> where
    Mdl: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

impl<T> Sealed<T> for T where
    T: ?Sized

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<V, T> VZip<V> for T where
    V: MultiLane<T>,