pub type TargetMachineFactoryFn<B> = Arc<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Send + Sync>;

Aliased Type§

struct TargetMachineFactoryFn<B> {
    ptr: NonNull<ArcInner<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Sync + Send>>,
    phantom: PhantomData<ArcInner<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Sync + Send>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<ArcInner<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Sync + Send>>§phantom: PhantomData<ArcInner<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Sync + Send>>§alloc: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Arc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.