pub struct Fence<D, F> { /* private fields */ }
Trait Implementations§
Source§impl<D, F, V> View for Fence<D, F>
impl<D, F, V> View for Fence<D, F>
Source§type Product = Fence<<D as Diff>::Memo, <V as View>::Product>
type Product = Fence<<D as Diff>::Memo, <V as View>::Product>
The product should contain a DOM reference to this View and
any data it needs to update itself.
Source§fn build(self, p: In<'_, Self::Product>) -> Out<'_, Self::Product>
fn build(self, p: In<'_, Self::Product>) -> Out<'_, Self::Product>
Build a product that can be mounted in the DOM from this type.
Source§fn update(self, p: &mut Self::Product)
fn update(self, p: &mut Self::Product)
Update the product and apply changes to the DOM if necessary.
Auto Trait Implementations§
impl<D, F> Freeze for Fence<D, F>
impl<D, F> RefUnwindSafe for Fence<D, F>where
D: RefUnwindSafe,
F: RefUnwindSafe,
impl<D, F> Send for Fence<D, F>
impl<D, F> Sync for Fence<D, F>
impl<D, F> Unpin for Fence<D, F>
impl<D, F> UnwindSafe for Fence<D, F>where
D: UnwindSafe,
F: UnwindSafe,
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
Source§impl<T> Mountable for T
impl<T> Mountable for T
Source§type Js = <T as Anchor>::Js
type Js = <T as Anchor>::Js
The concrete
web-sys
type representing the root of this
product, most often HtmlElement
.Source§fn replace_with(&self, new: &JsValue)
fn replace_with(&self, new: &JsValue)
Replace the root of this product in the DOM with another.