FinderElement

Trait FinderElement 

Source
pub trait FinderElement {
    // Required methods
    fn to_image(&self, width: usize, height: usize) -> BinaryImage;
    fn is_finder(&self, shape: Shape) -> bool;
}
Expand description

Definition of a finder element

Required Methods§

Source

fn to_image(&self, width: usize, height: usize) -> BinaryImage

Source

fn is_finder(&self, shape: Shape) -> bool

Implementors§