Skip to main content

Scope

Trait Scope 

Source
pub trait Scope {
    // Required methods
    fn stack(&self) -> Stack;
    fn path(&self) -> Path;
}

Required Methods§

Source

fn stack(&self) -> Stack

Returns the stack an object is associated with.

Source

fn path(&self) -> Path

Returns the object path of self.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§