pub trait Scope {
// Required method
fn end(&self);
}Expand description
Delineates a logical scope that has some beginning and end (e.g. a function or block of code).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".