Skip to main content

Option

Type Alias Option 

Source
pub type Option = Box<dyn FnOnce(&mut Model)>;
Expand description

Option is used to set options in new. For example:

let table = table::new(vec![table::with_columns(&[table::Column {
    title: "ID".to_string(),
    width: 10,
}])]);

Aliased Typeยง

pub struct Option(/* private fields */);