get_symbol

Function get_symbol 

Source
pub fn get_symbol() -> char
Expand description

Get a random symbol from a list of symbols Possible symbols are: #, $, %, &, *, @, ^

ยงExamples

use random_str as random;
let random_symbol = random::get_symbol();
println!("Random symbol: {}", random_symbol);