pub struct TypedFunctionCall<Api, OriginalResult>where
Api: ManagedTypeApi,{
pub function_call: FunctionCall<Api>,
/* private fields */
}
๐Deprecated since 0.49.0: Not clear if it still used anywhere, will delete soon.
Expand description
Old attempt at grouping FunctionCall + OriginalTypeMarker.
Fieldsยง
ยงfunction_call: FunctionCall<Api>
๐Deprecated since 0.49.0: Not clear if it still used anywhere, will delete soon.
Trait Implementationsยง
Sourceยงimpl<Api, OriginalResult> From<FunctionCall<Api>> for TypedFunctionCall<Api, OriginalResult>where
Api: ManagedTypeApi,
impl<Api, OriginalResult> From<FunctionCall<Api>> for TypedFunctionCall<Api, OriginalResult>where
Api: ManagedTypeApi,
Sourceยงfn from(
function_call: FunctionCall<Api>,
) -> TypedFunctionCall<Api, OriginalResult>
fn from( function_call: FunctionCall<Api>, ) -> TypedFunctionCall<Api, OriginalResult>
Converts to this type from the input type.
Auto Trait Implementationsยง
impl<Api, OriginalResult> Freeze for TypedFunctionCall<Api, OriginalResult>
impl<Api, OriginalResult> RefUnwindSafe for TypedFunctionCall<Api, OriginalResult>
impl<Api, OriginalResult> Send for TypedFunctionCall<Api, OriginalResult>
impl<Api, OriginalResult> Sync for TypedFunctionCall<Api, OriginalResult>
impl<Api, OriginalResult> Unpin for TypedFunctionCall<Api, OriginalResult>
impl<Api, OriginalResult> UnwindSafe for TypedFunctionCall<Api, OriginalResult>
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> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
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