pub enum SwiftUiPatch {
Params(String),
}Expand description
Sparse reconcile patch: only params changes after build (name is fixed).
Variants§
Params(String)
New JSON params, pushed whenever the bound params source changes; the native half re-invokes the provider’s body and replaces the hosting view’s root.
Trait Implementations§
Source§impl Clone for SwiftUiPatch
impl Clone for SwiftUiPatch
Source§fn clone(&self) -> SwiftUiPatch
fn clone(&self) -> SwiftUiPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwiftUiPatch
impl Debug for SwiftUiPatch
Source§impl PartialEq for SwiftUiPatch
impl PartialEq for SwiftUiPatch
impl StructuralPartialEq for SwiftUiPatch
Auto Trait Implementations§
impl Freeze for SwiftUiPatch
impl RefUnwindSafe for SwiftUiPatch
impl Send for SwiftUiPatch
impl Sync for SwiftUiPatch
impl Unpin for SwiftUiPatch
impl UnsafeUnpin for SwiftUiPatch
impl UnwindSafe for SwiftUiPatch
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more