Enum rustc::middle::dataflow::KillFrom [] [src]

pub enum KillFrom {
    ScopeEnd,
    Execution,
}
🔬 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?

Flag used by add_kill to indicate whether the provided kill takes effect only when control flows directly through the node in question, or if the kill's effect is associated with any control-flow directly through or indirectly over the node.

Variants

🔬 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?

A ScopeEnd kill is one that takes effect when any control flow goes over the node. A kill associated with the end of the scope of a variable declaration let x; is an example of a ScopeEnd kill.

🔬 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?

An Execution kill is one that takes effect only when control flow goes through the node to completion. A kill associated with an assignment statement x = expr; is an example of an Execution kill.

Trait Implementations

impl Copy for KillFrom
[src]

impl Clone for KillFrom
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for KillFrom
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for KillFrom
[src]

[src]

Formats the value using the given formatter. Read more