pub trait Flag { // Required methods fn default() -> Self where Self: Sized; fn set_flag(&mut self); }
A type which can be the receiver of a Flag.
Flag
Creates a default instance of the flag value;
Sets the flag. This function is called when the flag is provided.