logos.lang.writ.parameter

Module lang · package logos-lang

Types

structWParameter

struct WParameter

A Writ query-parameter (?name) capture slot: an interned name plus an optional bound value.

Fields

name: i64

At-rest WAny word: a Ref to the interned parameter-name WString.

value: i64

At-rest WAny word: the bound value, or null while unbound.

Methods

fn is_bound(self: &WParameter) -> bool

Returns true if the parameter is bound to a non-null value.

fn name_str(self: &WParameter) -> &[u8]

Returns the parameter name as a str view (resolves the Ref to the WString bytes).