AsBlockRef

Trait AsBlockRef 

Source
pub trait AsBlockRef {
    // Required method
    fn as_block_ref(&self) -> BlockRef<'_>;
}
Expand description

A trait for items which can make cheap BlockRef values.

Required Methods§

Source

fn as_block_ref(&self) -> BlockRef<'_>

Returns fresh reference to ourself.

Implementations on Foreign Types§

Source§

impl<T: AsBlockRef> AsBlockRef for &T

Implementors§