Struct rustc_typeck::check::UnsafetyState
[−]
[src]
pub struct UnsafetyState { pub def: NodeId, pub unsafety: Unsafety, pub unsafe_push_count: u32, // some fields omitted }
Unstable (
rustc_private
)Fields
def: NodeId
Unstable (
rustc_private
)unsafety: Unsafety
Unstable (
rustc_private
)unsafe_push_count: u32
Unstable (
rustc_private
)Methods
impl UnsafetyState
[src]
fn function(unsafety: Unsafety, def: NodeId) -> UnsafetyState
fn recurse(&mut self, blk: &Block) -> UnsafetyState
Trait Implementations
Derived Implementations
impl Clone for UnsafetyState
[src]
fn clone(&self) -> UnsafetyState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more