pub struct AnyValue(/* private fields */);Expand description
A Rust value of some type, decoded from JS for a component’s prop. Cheap to clone; two are equal when they are the same value (the prop keeps its own comparison of what it holds).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AnyValue
impl !Send for AnyValue
impl !Sync for AnyValue
impl !UnwindSafe for AnyValue
impl Forget for AnyValue
impl Freeze for AnyValue
impl Move for AnyValue
impl Unpin for AnyValue
impl UnsafeUnpin for AnyValue
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