Methods
fn new() -> ListSettings
Creates a new ListSettings object.
Example
let s = new;
assert!;
Clones the ListSettings object and returns a new independet one.
Example
let s0 = new;
let s1 = s0.clone;
assert_eq!;
s1.add_at_bottom = true;
assert_ne!;
Protocols
protocol set restrict_value
value.restrict_value = input
Set the default value for a restricted value typ.
Example
let s = new;
s.restrict_value = "Hello World";
assert_eq!;
protocol get restrict_value
let output = value.restrict_value
Get the default value for a restricted value typ.
Example
let s = new;
s.restrict_value = "Hello World";
assert_eq!;
protocol set restrict_setting
value.restrict_setting = input
Set the restricted value typ.
Example
let s = new;
s.restrict_setting = None;
assert_eq!;
protocol get restrict_setting
let output = value.restrict_setting
Get the restricted value typ.
Example
let s = new;
s.restrict_setting = None;
assert_eq!;