Struct rustc::traits::query::type_op::custom::CustomTypeOp[][src]

pub struct CustomTypeOp<F, G> {
    closure: F,
    description: G,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Fields

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Methods

impl<F, G> CustomTypeOp<F, G>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Trait Implementations

impl<'gcx, 'tcx, F, R, G> TypeOp<'gcx, 'tcx> for CustomTypeOp<F, G> where
    F: for<'a, 'cx> FnOnce(&'a InferCtxt<'cx, 'gcx, 'tcx>) -> Fallible<InferOk<'tcx, R>>,
    G: Fn() -> String
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Processes the operation and all resulting obligations, returning the final result along with any region constraints (they will be given over to the NLL region solver).

impl<F, G> Debug for CustomTypeOp<F, G> where
    G: Fn() -> String
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<F, G> Send for CustomTypeOp<F, G> where
    F: Send,
    G: Send

impl<F, G> Sync for CustomTypeOp<F, G> where
    F: Sync,
    G: Sync