Trait IsObj

Source
pub trait IsObj: SupportsInterfaces {
    // Required method
    fn obj(&self) -> &Obj;
}
Expand description

Represents Obj or any of its inheritors.

Usually obtained by using dyn_cast_rc/dyn_cast_arc on a derived trait.

Required Methods§

Source

fn obj(&self) -> &Obj

Returns reference to inner data.

Implementors§