Skip to main content

PointerExt

Trait PointerExt 

Source
pub trait PointerExt {
    // Required methods
    fn find_root_index(&self, ctx: &Context) -> usize;
    fn get_root_defining_entity(&self, ctx: &Context) -> DefiningEntity;

    // Provided methods
    fn get_root_defining_op(&self, ctx: &Context) -> Option<Ptr<Operation>> { ... }
    fn get_root_defining_block(&self, ctx: &Context) -> Option<Ptr<BasicBlock>> { ... }
    fn get_root_value(&self, ctx: &Context) -> Value { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§