Struct leptos_dom::HydrationKey
source · pub struct HydrationKey {
pub previous: String,
pub offset: usize,
}Expand description
A stable identifier within the server-rendering or hydration process.
Fields§
§previous: StringThe key of the previous component.
offset: usizeThe element offset within the current component.
Trait Implementations§
source§impl Clone for HydrationKey
impl Clone for HydrationKey
source§fn clone(&self) -> HydrationKey
fn clone(&self) -> HydrationKey
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 HydrationKey
impl Debug for HydrationKey
source§impl Default for HydrationKey
impl Default for HydrationKey
source§impl Display for HydrationKey
impl Display for HydrationKey
source§impl Hash for HydrationKey
impl Hash for HydrationKey
source§impl PartialEq<HydrationKey> for HydrationKey
impl PartialEq<HydrationKey> for HydrationKey
source§fn eq(&self, other: &HydrationKey) -> bool
fn eq(&self, other: &HydrationKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for HydrationKey
impl StructuralEq for HydrationKey
impl StructuralPartialEq for HydrationKey
Auto Trait Implementations§
impl RefUnwindSafe for HydrationKey
impl Send for HydrationKey
impl Sync for HydrationKey
impl Unpin for HydrationKey
impl UnwindSafe for HydrationKey
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.