pub struct SwiftUiProps {
pub name: String,
pub params: Option<String>,
pub state_key: Option<String>,
}Expand description
Full props (realize). name picks the provider class; params seeds the JSON the provider’s
body first receives (None when SwiftUi::params was never called).
Fields§
§name: StringThe provider name: class DayView_<name> with . mapped to _. Generated bindings use
Module.View; hand-written providers pick any dot-free name.
params: Option<String>The initial JSON params string.
state_key: Option<String>The state-retention key (SwiftUi::state_key); None hosts a fresh view per mount.
Trait Implementations§
Source§impl Clone for SwiftUiProps
impl Clone for SwiftUiProps
Source§fn clone(&self) -> SwiftUiProps
fn clone(&self) -> SwiftUiProps
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 SwiftUiProps
impl Debug for SwiftUiProps
Source§impl PartialEq for SwiftUiProps
impl PartialEq for SwiftUiProps
impl StructuralPartialEq for SwiftUiProps
Auto Trait Implementations§
impl Freeze for SwiftUiProps
impl RefUnwindSafe for SwiftUiProps
impl Send for SwiftUiProps
impl Sync for SwiftUiProps
impl Unpin for SwiftUiProps
impl UnsafeUnpin for SwiftUiProps
impl UnwindSafe for SwiftUiProps
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