Settings for the reference typ which is used for variables
Methods
fn new() -> StringSettings
Creates a new StringSettings object.
Example
let s = new;
assert!;
Clones the StringSettings object and returns a new independet one.
Example
let s0 = new;
let s1 = s0.clone;
assert_eq!;
s1.typ = "markdown";
assert_ne!;
Protocols
protocol get typ
let output = value.typ
Get the String Typ which shuld be used. Available options are: 'singleline', 'multiline', 'markdown', 'html'
Example
let s = new;
s.typ = "multiline";
assert_eq!;
protocol set typ
value.typ = input
Set the String Typ which shuld be used. Available options are: 'singleline', 'multiline', 'markdown'
Example
let s = new;
s.typ = "multiline";
assert_eq!;