Skip to main content

Primitive

Type Alias Primitive 

Source
pub type Primitive = Request;
Expand description

A single primitive in a dispatch sequence. Today this is a re-export of vs_protocol::Request; see the module docs.

Aliased Type§

pub struct Primitive {
    pub primitive: String,
    pub args: Vec<String>,
    pub flags: BTreeMap<String, Option<String>>,
}

Fields§

§primitive: String

Primitive name, e.g. vs_open.

§args: Vec<String>

Positional arguments, in order.

§flags: BTreeMap<String, Option<String>>

Flags. None means a bare flag (e.g. --full-page); Some(v) means --name=v.