Struct thaw_utils::Model
source · pub struct Model<T>where
T: 'static,{ /* private fields */ }Implementations§
Trait Implementations§
source§impl<T> From<(Memo<T>, WriteSignal<T>)> for Model<T>
impl<T> From<(Memo<T>, WriteSignal<T>)> for Model<T>
source§fn from((read, write): (Memo<T>, WriteSignal<T>)) -> Self
fn from((read, write): (Memo<T>, WriteSignal<T>)) -> Self
Converts to this type from the input type.
source§impl<T: Default> From<(Option<T>, WriteSignal<T>)> for Model<T>
impl<T: Default> From<(Option<T>, WriteSignal<T>)> for Model<T>
source§fn from((read, write): (Option<T>, WriteSignal<T>)) -> Self
fn from((read, write): (Option<T>, WriteSignal<T>)) -> Self
Converts to this type from the input type.
source§impl<T> From<(ReadSignal<T>, WriteSignal<T>)> for Model<T>
impl<T> From<(ReadSignal<T>, WriteSignal<T>)> for Model<T>
source§fn from((read, write): (ReadSignal<T>, WriteSignal<T>)) -> Self
fn from((read, write): (ReadSignal<T>, WriteSignal<T>)) -> Self
Converts to this type from the input type.
source§impl<T> From<(Signal<T>, WriteSignal<T>)> for Model<T>
impl<T> From<(Signal<T>, WriteSignal<T>)> for Model<T>
source§fn from((read, write): (Signal<T>, WriteSignal<T>)) -> Self
fn from((read, write): (Signal<T>, WriteSignal<T>)) -> Self
Converts to this type from the input type.
source§impl<T: Clone> SignalGet for Model<T>
impl<T: Clone> SignalGet for Model<T>
source§impl<T: Clone> SignalGetUntracked for Model<T>
impl<T: Clone> SignalGetUntracked for Model<T>
source§fn get_untracked(&self) -> Self::Value
fn get_untracked(&self) -> Self::Value
Gets the signal’s value without creating a dependency on the
current scope. Read more
source§impl<T: Clone> SignalSet for Model<T>
impl<T: Clone> SignalSet for Model<T>
source§impl<T> SignalUpdate for Model<T>
impl<T> SignalUpdate for Model<T>
source§impl<T> SignalWith for Model<T>
impl<T> SignalWith for Model<T>
source§impl<T> SignalWithUntracked for Model<T>
impl<T> SignalWithUntracked for Model<T>
impl<T> Copy for Model<T>
Auto Trait Implementations§
impl<T> Freeze for Model<T>
impl<T> !RefUnwindSafe for Model<T>
impl<T> !Send for Model<T>
impl<T> !Sync for Model<T>
impl<T> Unpin for Model<T>where
T: Unpin,
impl<T> !UnwindSafe for Model<T>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<CustErr, T, Request> FromReq<Streaming, Request, CustErr> for T
impl<CustErr, T, Request> FromReq<Streaming, Request, CustErr> for T
source§async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
Attempts to deserialize the arguments from a request.
source§impl<CustErr, T, Request> FromReq<StreamingText, Request, CustErr> for T
impl<CustErr, T, Request> FromReq<StreamingText, Request, CustErr> for T
source§async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
Attempts to deserialize the arguments from a request.
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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