Enum webmanifest::Direction[][src]

pub enum Direction {
    Ltr,
    Rtl,
    Auto,
}

Specifies the primary text direction for the name, short_name, and description members.

Example

let name = "My Cool Application";
let lang = "en-US";
let manifest = Manifest::builder(name)
  .direction(Direction::Ltr)
  .build()?;

Variants

left-to-right

right-to-left

Hints to the browser to use the Unicode bidirectional algorithm to make a best guess about the text's direction.

Trait Implementations

impl Debug for Direction
[src]

Formats the value using the given formatter. Read more

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Direction

impl Sync for Direction