Enum ini::ini::EscapePolicy [] [src]

pub enum EscapePolicy {
    Nothing,
    Basics,
    BasicsUnicode,
    Reserved,
    ReservedUnicode,
    Everything,
}

Variants

escape absolutely nothing (dangerous)

only escape the most necessary things

escape basics and non-ascii characters

Escape reserved symbols.

Escape reserved symbols and non-ascii characters

Escape everything that some INI implementations assume

Methods

impl EscapePolicy
[src]

Given a character this returns true if it should be escaped as per this policy or false if not.

Trait Implementations

impl Debug for EscapePolicy
[src]

Formats the value using the given formatter.

impl PartialEq for EscapePolicy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for EscapePolicy
[src]

impl Clone for EscapePolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more