Struct leptos_dom::Component
source · pub struct Component<F, V>where
F: FnOnce(Scope) -> V,
V: IntoView,{ /* private fields */ }
Expand description
A user-defined leptos
component.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F, V> RefUnwindSafe for Component<F, V>where F: RefUnwindSafe,
impl<F, V> Send for Component<F, V>where F: Send,
impl<F, V> Sync for Component<F, V>where F: Sync,
impl<F, V> Unpin for Component<F, V>where F: Unpin,
impl<F, V> UnwindSafe for Component<F, V>where 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