Struct rustc_typeck::check::UnsafetyState [−][src]
pub struct UnsafetyState { pub def: NodeId, pub unsafety: Unsafety, pub unsafe_push_count: u32, from_fn: bool, }
🔬 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
def: NodeId
🔬 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?
unsafety: Unsafety
🔬 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?
unsafe_push_count: u32
🔬 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?
from_fn: bool
🔬 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 UnsafetyState
[src]
impl UnsafetyState
pub fn function(unsafety: Unsafety, def: NodeId) -> UnsafetyState
[src]
pub fn function(unsafety: Unsafety, def: NodeId) -> UnsafetyState
🔬 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?
pub fn recurse(&mut self, blk: &Block) -> UnsafetyState
[src]
pub fn recurse(&mut self, blk: &Block) -> UnsafetyState
🔬 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 Copy for UnsafetyState
[src]
impl Copy for UnsafetyState
impl Clone for UnsafetyState
[src]
impl Clone for UnsafetyState
fn clone(&self) -> UnsafetyState
[src]
fn clone(&self) -> UnsafetyState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for UnsafetyState
impl Send for UnsafetyState
impl Sync for UnsafetyState
impl Sync for UnsafetyState