Struct wasm_react::Keyed
source · pub struct Keyed<T>(/* private fields */);
Expand description
Wraps your component to assign a React key to it.
See Component::key()
.
Trait Implementations§
source§impl<T: PartialEq> PartialEq<Keyed<T>> for Keyed<T>
impl<T: PartialEq> PartialEq<Keyed<T>> for Keyed<T>
impl<T> StructuralPartialEq for Keyed<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Keyed<T>where T: RefUnwindSafe,
impl<T> !Send for Keyed<T>
impl<T> !Sync for Keyed<T>
impl<T> Unpin for Keyed<T>where T: Unpin,
impl<T> UnwindSafe for Keyed<T>where T: 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