Struct react::UseRenderElement
source · [−]pub struct UseRenderElement {
pub use_render: Rc<Box<DynUseRenderFn>>,
pub key: Option<Key>,
pub debug_component_name: Option<JsValue>,
pub debug_props: Option<JsValue>,
}
Fields
use_render: Rc<Box<DynUseRenderFn>>
key: Option<Key>
debug_component_name: Option<JsValue>
debug_props: Option<JsValue>
Implementations
sourceimpl UseRenderElement
impl UseRenderElement
pub fn wrap_use_render<E: IntoOptionalElement, F: 'static + Fn() -> E>(
use_render: F,
key: Option<Key>,
debug_component_name: Option<JsValue>,
debug_props: Option<JsValue>
) -> Self
Trait Implementations
sourceimpl Clone for UseRenderElement
impl Clone for UseRenderElement
sourceimpl Debug for UseRenderElement
impl Debug for UseRenderElement
sourceimpl IntoElement for UseRenderElement
impl IntoElement for UseRenderElement
fn into_element(self) -> Element
Auto Trait Implementations
impl !RefUnwindSafe for UseRenderElement
impl !Send for UseRenderElement
impl !Sync for UseRenderElement
impl Unpin for UseRenderElement
impl !UnwindSafe for UseRenderElement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more