Struct leptos_dom::HydrationKey
source · pub struct HydrationKey {
pub outlet: usize,
pub fragment: usize,
pub error: usize,
pub id: usize,
}
Expand description
A stable identifier within the server-rendering or hydration process.
Fields§
§outlet: usize
ID of the current outlet
fragment: usize
ID of the current fragment.
error: usize
ID of the current error boundary.
id: usize
ID of the current key.
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 Display for HydrationKey
impl Display for HydrationKey
source§impl FromStr for HydrationKey
impl FromStr for HydrationKey
source§impl Hash for HydrationKey
impl Hash for HydrationKey
source§impl PartialEq for HydrationKey
impl PartialEq 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 Copy for HydrationKey
impl Eq for HydrationKey
impl StructuralPartialEq for HydrationKey
Auto Trait Implementations§
impl Freeze for HydrationKey
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<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.