Enum leptos_dom::CoreComponent
source · pub enum CoreComponent {
Unit(UnitRepr),
DynChild(DynChildRepr),
Each(EachRepr),
}
Expand description
The core foundational leptos components.
Variants§
Unit(UnitRepr)
The Unit component.
DynChild(DynChildRepr)
The DynChild component.
Each(EachRepr)
The Each component.
Trait Implementations§
source§impl Clone for CoreComponent
impl Clone for CoreComponent
source§fn clone(&self) -> CoreComponent
fn clone(&self) -> CoreComponent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CoreComponent
impl Debug for CoreComponent
source§impl Default for CoreComponent
impl Default for CoreComponent
source§impl PartialEq for CoreComponent
impl PartialEq for CoreComponent
source§fn eq(&self, other: &CoreComponent) -> bool
fn eq(&self, other: &CoreComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoreComponent
impl StructuralPartialEq for CoreComponent
Auto Trait Implementations§
impl Freeze for CoreComponent
impl !RefUnwindSafe for CoreComponent
impl !Send for CoreComponent
impl !Sync for CoreComponent
impl Unpin for CoreComponent
impl !UnwindSafe for CoreComponent
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.