pub struct FunctionBindgenBuilder<'a, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'a, S: State> FunctionBindgenBuilder<'a, S>
impl<'a, S: State> FunctionBindgenBuilder<'a, S>
Sourcepub fn build(self) -> FunctionBindgen<'a>where
S: IsComplete,
pub fn build(self) -> FunctionBindgen<'a>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn skip_fn_call_task_management(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetSkipFnCallTaskManagement<S>>where
S::SkipFnCallTaskManagement: IsUnset,
pub fn skip_fn_call_task_management(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetSkipFnCallTaskManagement<S>>where
S::SkipFnCallTaskManagement: IsUnset,
Optional (Some / Option setters).
Default: false.
Skip task management for generated function calls. Defaults to false.
This is normally used by embedders when they want to run generated bindings inside a wasm guest and let the native embedding manage execution and canonical abi call lifetimes instead of the host task runtime.
Sourcepub fn maybe_skip_fn_call_task_management(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetSkipFnCallTaskManagement<S>>where
S::SkipFnCallTaskManagement: IsUnset,
pub fn maybe_skip_fn_call_task_management(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetSkipFnCallTaskManagement<S>>where
S::SkipFnCallTaskManagement: IsUnset,
Optional (Some / Option setters).
Default: false.
Skip task management for generated function calls. Defaults to false.
This is normally used by embedders when they want to run generated bindings inside a wasm guest and let the native embedding manage execution and canonical abi call lifetimes instead of the host task runtime.
Sourcepub fn track_call(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetTrackCall<S>>where
S::TrackCall: IsUnset,
pub fn track_call(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetTrackCall<S>>where
S::TrackCall: IsUnset,
Sourcepub fn maybe_track_call(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetTrackCall<S>>where
S::TrackCall: IsUnset,
pub fn maybe_track_call(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetTrackCall<S>>where
S::TrackCall: IsUnset,
Sourcepub fn resource_map(
self,
value: &'a ResourceMap,
) -> FunctionBindgenBuilder<'a, SetResourceMap<S>>where
S::ResourceMap: IsUnset,
pub fn resource_map(
self,
value: &'a ResourceMap,
) -> FunctionBindgenBuilder<'a, SetResourceMap<S>>where
S::ResourceMap: IsUnset,
Required.
Mapping of resources for types that have corresponding definitions locally
Sourcepub fn guest_resource_class_names(
self,
value: &'a BTreeMap<TypeId, String>,
) -> FunctionBindgenBuilder<'a, SetGuestResourceClassNames<S>>where
S::GuestResourceClassNames: IsUnset,
pub fn guest_resource_class_names(
self,
value: &'a BTreeMap<TypeId, String>,
) -> FunctionBindgenBuilder<'a, SetGuestResourceClassNames<S>>where
S::GuestResourceClassNames: IsUnset,
Sourcepub fn maybe_guest_resource_class_names(
self,
value: Option<&'a BTreeMap<TypeId, String>>,
) -> FunctionBindgenBuilder<'a, SetGuestResourceClassNames<S>>where
S::GuestResourceClassNames: IsUnset,
pub fn maybe_guest_resource_class_names(
self,
value: Option<&'a BTreeMap<TypeId, String>>,
) -> FunctionBindgenBuilder<'a, SetGuestResourceClassNames<S>>where
S::GuestResourceClassNames: IsUnset,
Sourcepub fn clear_resource_borrows(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetClearResourceBorrows<S>>where
S::ClearResourceBorrows: IsUnset,
pub fn clear_resource_borrows(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetClearResourceBorrows<S>>where
S::ClearResourceBorrows: IsUnset,
Required.
Whether current resource borrows need to be deactivated
Sourcepub fn intrinsics(
self,
value: &'a mut BTreeSet<Intrinsic>,
) -> FunctionBindgenBuilder<'a, SetIntrinsics<S>>where
S::Intrinsics: IsUnset,
pub fn intrinsics(
self,
value: &'a mut BTreeSet<Intrinsic>,
) -> FunctionBindgenBuilder<'a, SetIntrinsics<S>>where
S::Intrinsics: IsUnset,
Required.
Set of intrinsics
Sourcepub fn external_runtime(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetExternalRuntime<S>>where
S::ExternalRuntime: IsUnset,
pub fn external_runtime(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetExternalRuntime<S>>where
S::ExternalRuntime: IsUnset,
Sourcepub fn maybe_external_runtime(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetExternalRuntime<S>>where
S::ExternalRuntime: IsUnset,
pub fn maybe_external_runtime(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetExternalRuntime<S>>where
S::ExternalRuntime: IsUnset,
Sourcepub fn valid_lifting_optimization(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetValidLiftingOptimization<S>>where
S::ValidLiftingOptimization: IsUnset,
pub fn valid_lifting_optimization(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetValidLiftingOptimization<S>>where
S::ValidLiftingOptimization: IsUnset,
Required.
Whether to perform valid lifting optimization
Sourcepub fn flags_as_bigint(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetFlagsAsBigint<S>>where
S::FlagsAsBigint: IsUnset,
pub fn flags_as_bigint(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetFlagsAsBigint<S>>where
S::FlagsAsBigint: IsUnset,
Sourcepub fn maybe_flags_as_bigint(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetFlagsAsBigint<S>>where
S::FlagsAsBigint: IsUnset,
pub fn maybe_flags_as_bigint(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetFlagsAsBigint<S>>where
S::FlagsAsBigint: IsUnset,
Sourcepub fn enum_values_screaming_snake_case(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetEnumValuesScreamingSnakeCase<S>>where
S::EnumValuesScreamingSnakeCase: IsUnset,
pub fn enum_values_screaming_snake_case(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetEnumValuesScreamingSnakeCase<S>>where
S::EnumValuesScreamingSnakeCase: IsUnset,
Sourcepub fn maybe_enum_values_screaming_snake_case(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetEnumValuesScreamingSnakeCase<S>>where
S::EnumValuesScreamingSnakeCase: IsUnset,
pub fn maybe_enum_values_screaming_snake_case(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetEnumValuesScreamingSnakeCase<S>>where
S::EnumValuesScreamingSnakeCase: IsUnset,
Sourcepub fn sizes(
self,
value: &'a SizeAlign,
) -> FunctionBindgenBuilder<'a, SetSizes<S>>where
S::Sizes: IsUnset,
pub fn sizes(
self,
value: &'a SizeAlign,
) -> FunctionBindgenBuilder<'a, SetSizes<S>>where
S::Sizes: IsUnset,
Required.
Sizes and alignments for sub elements
Sourcepub fn err(self, value: ErrHandling) -> FunctionBindgenBuilder<'a, SetErr<S>>where
S::Err: IsUnset,
pub fn err(self, value: ErrHandling) -> FunctionBindgenBuilder<'a, SetErr<S>>where
S::Err: IsUnset,
Required.
Method of error handling
Sourcepub fn tmp(self, value: usize) -> FunctionBindgenBuilder<'a, SetTmp<S>>where
S::Tmp: IsUnset,
pub fn tmp(self, value: usize) -> FunctionBindgenBuilder<'a, SetTmp<S>>where
S::Tmp: IsUnset,
Required.
Temporary values
Sourcepub fn src(self, value: Source) -> FunctionBindgenBuilder<'a, SetSrc<S>>where
S::Src: IsUnset,
pub fn src(self, value: Source) -> FunctionBindgenBuilder<'a, SetSrc<S>>where
S::Src: IsUnset,
Required.
Source code of the function
Sourcepub fn block_storage(
self,
value: Vec<Source>,
) -> FunctionBindgenBuilder<'a, SetBlockStorage<S>>where
S::BlockStorage: IsUnset,
pub fn block_storage(
self,
value: Vec<Source>,
) -> FunctionBindgenBuilder<'a, SetBlockStorage<S>>where
S::BlockStorage: IsUnset,
Required.
Block storage
Sourcepub fn blocks(
self,
value: Vec<(String, Vec<String>)>,
) -> FunctionBindgenBuilder<'a, SetBlocks<S>>where
S::Blocks: IsUnset,
pub fn blocks(
self,
value: Vec<(String, Vec<String>)>,
) -> FunctionBindgenBuilder<'a, SetBlocks<S>>where
S::Blocks: IsUnset,
Required.
Blocks of the function
Sourcepub fn params(
self,
value: Vec<String>,
) -> FunctionBindgenBuilder<'a, SetParams<S>>where
S::Params: IsUnset,
pub fn params(
self,
value: Vec<String>,
) -> FunctionBindgenBuilder<'a, SetParams<S>>where
S::Params: IsUnset,
Required.
Parameters of the function
Sourcepub fn memory(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetMemory<S>>where
S::Memory: IsUnset,
pub fn memory(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetMemory<S>>where
S::Memory: IsUnset,
Sourcepub fn maybe_memory(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetMemory<S>>where
S::Memory: IsUnset,
pub fn maybe_memory(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetMemory<S>>where
S::Memory: IsUnset,
Sourcepub fn realloc(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetRealloc<S>>where
S::Realloc: IsUnset,
pub fn realloc(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetRealloc<S>>where
S::Realloc: IsUnset,
Sourcepub fn maybe_realloc(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetRealloc<S>>where
S::Realloc: IsUnset,
pub fn maybe_realloc(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetRealloc<S>>where
S::Realloc: IsUnset,
Sourcepub fn dealloc(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetDealloc<S>>where
S::Dealloc: IsUnset,
pub fn dealloc(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetDealloc<S>>where
S::Dealloc: IsUnset,
Sourcepub fn maybe_dealloc(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetDealloc<S>>where
S::Dealloc: IsUnset,
pub fn maybe_dealloc(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetDealloc<S>>where
S::Dealloc: IsUnset,
Sourcepub fn post_return(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetPostReturn<S>>where
S::PostReturn: IsUnset,
pub fn post_return(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetPostReturn<S>>where
S::PostReturn: IsUnset,
Sourcepub fn maybe_post_return(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetPostReturn<S>>where
S::PostReturn: IsUnset,
pub fn maybe_post_return(
self,
value: Option<&'a String>,
) -> FunctionBindgenBuilder<'a, SetPostReturn<S>>where
S::PostReturn: IsUnset,
Sourcepub fn tracing_prefix(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetTracingPrefix<S>>where
S::TracingPrefix: IsUnset,
pub fn tracing_prefix(
self,
value: &'a String,
) -> FunctionBindgenBuilder<'a, SetTracingPrefix<S>>where
S::TracingPrefix: IsUnset,
Required.
Prefix to use when printing tracing information
Sourcepub fn tracing_enabled(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetTracingEnabled<S>>where
S::TracingEnabled: IsUnset,
pub fn tracing_enabled(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetTracingEnabled<S>>where
S::TracingEnabled: IsUnset,
Required.
Whether tracing is enabled
Sourcepub fn no_component_error_wrapping(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetNoComponentErrorWrapping<S>>where
S::NoComponentErrorWrapping: IsUnset,
pub fn no_component_error_wrapping(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetNoComponentErrorWrapping<S>>where
S::NoComponentErrorWrapping: IsUnset,
Required.
Whether top-level result errors should be thrown as their raw lifted payload.
Sourcepub fn result_error_class(
self,
value: String,
) -> FunctionBindgenBuilder<'a, SetResultErrorClass<S>>where
S::ResultErrorClass: IsUnset,
pub fn result_error_class(
self,
value: String,
) -> FunctionBindgenBuilder<'a, SetResultErrorClass<S>>where
S::ResultErrorClass: IsUnset,
Sourcepub fn maybe_result_error_class(
self,
value: Option<String>,
) -> FunctionBindgenBuilder<'a, SetResultErrorClass<S>>where
S::ResultErrorClass: IsUnset,
pub fn maybe_result_error_class(
self,
value: Option<String>,
) -> FunctionBindgenBuilder<'a, SetResultErrorClass<S>>where
S::ResultErrorClass: IsUnset,
Sourcepub fn encoding(
self,
value: StringEncoding,
) -> FunctionBindgenBuilder<'a, SetEncoding<S>>where
S::Encoding: IsUnset,
pub fn encoding(
self,
value: StringEncoding,
) -> FunctionBindgenBuilder<'a, SetEncoding<S>>where
S::Encoding: IsUnset,
Required.
Method if string encoding
Sourcepub fn callee(self, value: &'a str) -> FunctionBindgenBuilder<'a, SetCallee<S>>where
S::Callee: IsUnset,
pub fn callee(self, value: &'a str) -> FunctionBindgenBuilder<'a, SetCallee<S>>where
S::Callee: IsUnset,
Required.
Callee of the function
Sourcepub fn callee_resource_dynamic(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetCalleeResourceDynamic<S>>where
S::CalleeResourceDynamic: IsUnset,
pub fn callee_resource_dynamic(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetCalleeResourceDynamic<S>>where
S::CalleeResourceDynamic: IsUnset,
Required.
Whether the callee is dynamic (i.e. has multiple operands)
Sourcepub fn resolve(
self,
value: &'a Resolve,
) -> FunctionBindgenBuilder<'a, SetResolve<S>>where
S::Resolve: IsUnset,
pub fn resolve(
self,
value: &'a Resolve,
) -> FunctionBindgenBuilder<'a, SetResolve<S>>where
S::Resolve: IsUnset,
Required.
The [wit_bindgen::Resolve] containing extracted WIT information
Sourcepub fn requires_async_porcelain(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetRequiresAsyncPorcelain<S>>where
S::RequiresAsyncPorcelain: IsUnset,
pub fn requires_async_porcelain(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetRequiresAsyncPorcelain<S>>where
S::RequiresAsyncPorcelain: IsUnset,
Required.
Whether the function requires async porcelain
In the case of an import this likely implies the use of JSPI and in the case of an export this is simply code generation metadata.
Sourcepub fn is_async(self, value: bool) -> FunctionBindgenBuilder<'a, SetIsAsync<S>>where
S::IsAsync: IsUnset,
pub fn is_async(self, value: bool) -> FunctionBindgenBuilder<'a, SetIsAsync<S>>where
S::IsAsync: IsUnset,
Required.
Whether the function is guest async lifted (i.e. WASI P3)
Sourcepub fn host_import_generator(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetHostImportGenerator<S>>where
S::HostImportGenerator: IsUnset,
pub fn host_import_generator(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetHostImportGenerator<S>>where
S::HostImportGenerator: IsUnset,
Required.
Whether the body of an import is generated for a generator function (run by
MaybeSyncGeneratorFn), which yields the host’s answer instead of awaiting it,
so that it is synchronous unless the host returns a promise
Sourcepub fn canonical_abi_async(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetCanonicalAbiAsync<S>>where
S::CanonicalAbiAsync: IsUnset,
pub fn canonical_abi_async(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetCanonicalAbiAsync<S>>where
S::CanonicalAbiAsync: IsUnset,
Required.
Whether the canonical ABI call itself is async.
This can differ from is_async when an async component function is
canonically lifted from a synchronous core function.
Sourcepub fn func_type_async(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetFuncTypeAsync<S>>where
S::FuncTypeAsync: IsUnset,
pub fn func_type_async(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetFuncTypeAsync<S>>where
S::FuncTypeAsync: IsUnset,
Required.
Whether the component-level function type is async (independently of
how it was lifted or lowered)
Sourcepub fn return_result_type_idx(
self,
value: u32,
) -> FunctionBindgenBuilder<'a, SetReturnResultTypeIdx<S>>where
S::ReturnResultTypeIdx: IsUnset,
pub fn return_result_type_idx(
self,
value: u32,
) -> FunctionBindgenBuilder<'a, SetReturnResultTypeIdx<S>>where
S::ReturnResultTypeIdx: IsUnset,
Sourcepub fn maybe_return_result_type_idx(
self,
value: Option<u32>,
) -> FunctionBindgenBuilder<'a, SetReturnResultTypeIdx<S>>where
S::ReturnResultTypeIdx: IsUnset,
pub fn maybe_return_result_type_idx(
self,
value: Option<u32>,
) -> FunctionBindgenBuilder<'a, SetReturnResultTypeIdx<S>>where
S::ReturnResultTypeIdx: IsUnset,
Sourcepub fn wrap_async_future_result(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetWrapAsyncFutureResult<S>>where
S::WrapAsyncFutureResult: IsUnset,
pub fn wrap_async_future_result(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetWrapAsyncFutureResult<S>>where
S::WrapAsyncFutureResult: IsUnset,
Required.
Whether an async export returning a future needs a non-async outer function to preserve the future as a distinct awaitable layer.
Sourcepub fn result_ty(
self,
value: &'a Type,
) -> FunctionBindgenBuilder<'a, SetResultTy<S>>where
S::ResultTy: IsUnset,
pub fn result_ty(
self,
value: &'a Type,
) -> FunctionBindgenBuilder<'a, SetResultTy<S>>where
S::ResultTy: IsUnset,
Sourcepub fn maybe_result_ty(
self,
value: Option<&'a Type>,
) -> FunctionBindgenBuilder<'a, SetResultTy<S>>where
S::ResultTy: IsUnset,
pub fn maybe_result_ty(
self,
value: Option<&'a Type>,
) -> FunctionBindgenBuilder<'a, SetResultTy<S>>where
S::ResultTy: IsUnset,
Sourcepub fn iface_name(
self,
value: &'a str,
) -> FunctionBindgenBuilder<'a, SetIfaceName<S>>where
S::IfaceName: IsUnset,
pub fn iface_name(
self,
value: &'a str,
) -> FunctionBindgenBuilder<'a, SetIfaceName<S>>where
S::IfaceName: IsUnset,
Sourcepub fn maybe_iface_name(
self,
value: Option<&'a str>,
) -> FunctionBindgenBuilder<'a, SetIfaceName<S>>where
S::IfaceName: IsUnset,
pub fn maybe_iface_name(
self,
value: Option<&'a str>,
) -> FunctionBindgenBuilder<'a, SetIfaceName<S>>where
S::IfaceName: IsUnset,
Sourcepub fn asmjs(self, value: bool) -> FunctionBindgenBuilder<'a, SetAsmjs<S>>where
S::Asmjs: IsUnset,
pub fn asmjs(self, value: bool) -> FunctionBindgenBuilder<'a, SetAsmjs<S>>where
S::Asmjs: IsUnset,
Required.
Whether the callee was transpiled from Wasm to JS (asm.js) and thus needs shimming for i64
Sourcepub fn component_state(
self,
value: FunctionBindgenComponentState,
) -> FunctionBindgenBuilder<'a, SetComponentState<S>>where
S::ComponentState: IsUnset,
pub fn component_state(
self,
value: FunctionBindgenComponentState,
) -> FunctionBindgenBuilder<'a, SetComponentState<S>>where
S::ComponentState: IsUnset,
Optional (Some / Option setters). Component state generated from processing a component.
This information is normally accessible via producing/having
access to a wasmtime_environ::component::Component), and
is required for some bindgen instructions.
If you are performing bindgen aganist a dummy module, you may omit this field, but if
processing has been performed on the component, and this state is available at time of generation for
this function, provide this information (normally found in [CanonicalOptions]s)
Sourcepub fn maybe_component_state(
self,
value: Option<FunctionBindgenComponentState>,
) -> FunctionBindgenBuilder<'a, SetComponentState<S>>where
S::ComponentState: IsUnset,
pub fn maybe_component_state(
self,
value: Option<FunctionBindgenComponentState>,
) -> FunctionBindgenBuilder<'a, SetComponentState<S>>where
S::ComponentState: IsUnset,
Optional (Some / Option setters). Component state generated from processing a component.
This information is normally accessible via producing/having
access to a wasmtime_environ::component::Component), and
is required for some bindgen instructions.
If you are performing bindgen aganist a dummy module, you may omit this field, but if
processing has been performed on the component, and this state is available at time of generation for
this function, provide this information (normally found in [CanonicalOptions]s)
Sourcepub fn for_import(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetForImport<S>>where
S::ForImport: IsUnset,
pub fn for_import(
self,
value: bool,
) -> FunctionBindgenBuilder<'a, SetForImport<S>>where
S::ForImport: IsUnset,
Sourcepub fn maybe_for_import(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetForImport<S>>where
S::ForImport: IsUnset,
pub fn maybe_for_import(
self,
value: Option<bool>,
) -> FunctionBindgenBuilder<'a, SetForImport<S>>where
S::ForImport: IsUnset,
Auto Trait Implementations§
impl<'a, S = Empty> !UnwindSafe for FunctionBindgenBuilder<'a, S>
impl<'a, S> Forget for FunctionBindgenBuilder<'a, S>
impl<'a, S> Freeze for FunctionBindgenBuilder<'a, S>
impl<'a, S> Move for FunctionBindgenBuilder<'a, S>
impl<'a, S> RefUnwindSafe for FunctionBindgenBuilder<'a, S>
impl<'a, S> Send for FunctionBindgenBuilder<'a, S>
impl<'a, S> Sync for FunctionBindgenBuilder<'a, S>
impl<'a, S> Unpin for FunctionBindgenBuilder<'a, S>
impl<'a, S> UnsafeUnpin for FunctionBindgenBuilder<'a, S>
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
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> ⓘ
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> ⓘ
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