# Type Alias rustc_codegen_ssa::back::write::TargetMachineFactoryFn

source ·

    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> + Send + Sync>>,
        phantom: PhantomData<ArcInner<dyn Fn(TargetMachineFactoryConfig) -> Result<<B as WriteBackendMethods>::TargetMachine, <B as WriteBackendMethods>::TargetMachineError> + Send + Sync>>,
        alloc: Global,
    }

## Fields§

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

## Layout§

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