Skip to main content

BlockIdExt

Trait BlockIdExt 

Source
pub trait BlockIdExt {
    // Required methods
    fn relative_to(self, mc_block_id: BlockId) -> BlockIdRelation;
    fn relative_to_self(self) -> BlockIdRelation;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl BlockIdExt for &BlockId

Source§

impl BlockIdExt for BlockId

Implementors§