[][src]Enum xkb_parser::Rule

pub enum Rule {
    EOI,
    file,
    definition,
    block_modifiers,
    block_modifier,
    directive,
    xkb_symbols,
    xkb_symbols_item,
    name,
    key_type,
    key,
    key_mode,
    key_mode_replace,
    key_mode_override,
    key_mode_augment,
    key_value,
    key_names,
    key_name,
    key_def,
    type_def,
    symbol_def,
    virtual_mods_def,
    virtual_mods_def_prefix,
    actions_def,
    overlay_def,
    modifier_map,
    modifier,
    xkb_keycodes,
    xkb_keycodes_item,
    minimum,
    maximum,
    symbol_mapping,
    alternate,
    indicator,
    indicator_prefix,
    alias,
    xkb_types,
    xkb_types_item,
    type_item,
    type_item_prefix,
    type_component,
    modifiers,
    map,
    preserve,
    level_name,
    xkb_compatibility,
    xkb_compat_item,
    compat_set_mods,
    compat_latch_mods,
    compat_group,
    compat_interpret_line,
    compat_indicator_line,
    compat_interpret_block,
    interpret_condition,
    interpret_item,
    compat_action,
    compat_modifier,
    use_mod_map_mods,
    compat_indicator_block,
    indicator_item,
    indicator_negation,
    allow_explicit,
    indicator_drives_keyboard,
    indicator_controls,
    which_mod_state,
    indicator_modifiers,
    indicator_groups,
    xkb_geometry,
    xkb_geometry_item,
    xkb_geometry_block,
    geometry_assigment,
    geometry_assigment_value,
    geometry_assigment_line,
    geometry_alias,
    geometry_section_block,
    geometry_section_item,
    geometry_alias_line,
    geometry_shape_block,
    geometry_shape_item,
    geometry_shape_coordinates,
    geometry_shape_approx,
    geometry_shape_primary,
    geometry_solid_block,
    geometry_text_block,
    geometry_outline_block,
    geometry_indicator_block,
    geometry_indicator_item,
    geometry_row_block,
    geometry_row_item,
    geometry_keys_block,
    geometry_keys_items,
    geometry_key_def,
    geometry_overlay_block,
    geometry_logo_block,
    geometry_coordinates,
    comment_line,
    includes,
    include,
    override_,
    augment,
    virtual_modifiers,
    action,
    action_param,
    param_assignment,
    param_expression,
    WHITESPACE,
    COMMENT,
    ARRAY_SEP,
    ident,
    symbol,
    symbol_name,
    group,
    key_combo,
    integer,
    decimal,
    boolean,
    negation,
    calc_expression,
    color,
    string,
    string_content,
    char,
}

Variants

EOIfiledefinitionblock_modifiersblock_modifierdirectivexkb_symbolsxkb_symbols_itemnamekey_typekeykey_modekey_mode_replacekey_mode_overridekey_mode_augmentkey_valuekey_nameskey_namekey_deftype_defsymbol_defvirtual_mods_defvirtual_mods_def_prefixactions_defoverlay_defmodifier_mapmodifierxkb_keycodesxkb_keycodes_itemminimummaximumsymbol_mappingalternateindicatorindicator_prefixaliasxkb_typesxkb_types_itemtype_itemtype_item_prefixtype_componentmodifiersmappreservelevel_namexkb_compatibilityxkb_compat_itemcompat_set_modscompat_latch_modscompat_groupcompat_interpret_linecompat_indicator_linecompat_interpret_blockinterpret_conditioninterpret_itemcompat_actioncompat_modifieruse_mod_map_modscompat_indicator_blockindicator_itemindicator_negationallow_explicitindicator_drives_keyboardindicator_controlswhich_mod_stateindicator_modifiersindicator_groupsxkb_geometryxkb_geometry_itemxkb_geometry_blockgeometry_assigmentgeometry_assigment_valuegeometry_assigment_linegeometry_aliasgeometry_section_blockgeometry_section_itemgeometry_alias_linegeometry_shape_blockgeometry_shape_itemgeometry_shape_coordinatesgeometry_shape_approxgeometry_shape_primarygeometry_solid_blockgeometry_text_blockgeometry_outline_blockgeometry_indicator_blockgeometry_indicator_itemgeometry_row_blockgeometry_row_itemgeometry_keys_blockgeometry_keys_itemsgeometry_key_defgeometry_overlay_blockgeometry_logo_blockgeometry_coordinatescomment_lineincludesincludeoverride_augmentvirtual_modifiersactionaction_paramparam_assignmentparam_expressionWHITESPACECOMMENTARRAY_SEPidentsymbolsymbol_namegroupkey_combointegerdecimalbooleannegationcalc_expressioncolorstringstring_contentchar

Trait Implementations

impl Clone for Rule[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Ord for Rule[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl PartialOrd<Rule> for Rule[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Rule> for Rule[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Rule[src]

impl Eq for Rule[src]

impl Debug for Rule[src]

impl Hash for Rule[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Parser<Rule> for XkbParser[src]

Auto Trait Implementations

impl Sync for Rule

impl Send for Rule

impl Unpin for Rule

impl RefUnwindSafe for Rule

impl UnwindSafe for Rule

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]