Trait New

Source
pub trait New {
    // Required methods
    fn is_new(&self) -> bool;
    fn with_new(self) -> Self
       where Self: Sized;
    fn with_existing(self) -> Self
       where Self: Sized;
}

Required Methods§

Source

fn is_new(&self) -> bool

Source

fn with_new(self) -> Self
where Self: Sized,

Source

fn with_existing(self) -> Self
where Self: Sized,

Implementors§