Skip to main content

ValidationFn

Trait ValidationFn 

Source
pub trait ValidationFn: FnMut(&Vec<Box<dyn Drawable>>) -> bool + 'static {
    // Required method
    fn clone_box(&self) -> Box<dyn ValidationFn>;
}

Required Methods§

Source

fn clone_box(&self) -> Box<dyn ValidationFn>

Trait Implementations§

Source§

impl Clone for Box<dyn ValidationFn>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for dyn ValidationFn

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§

Source§

impl<F> ValidationFn for F
where F: FnMut(&Vec<Box<dyn Drawable>>) -> bool + Clone + 'static,