pub enum Rule {
Show 68 variants
EOI,
WHITESPACE,
COMMENT,
file,
statement,
string,
reserved,
char,
name_char,
name,
word,
value,
number,
id,
id_with_state,
range,
ids,
index,
time,
state,
layer_type,
charcode,
pixel,
pixellayer,
scancode,
unicode,
unistr,
usbcode,
consumer,
system,
indicator,
layer,
trig,
none,
key,
kv,
kvmap,
array,
function,
rhs,
lhs,
property,
define,
capability,
position,
trigger_type,
trigger,
trigger_group,
triggers,
result_type,
result,
result_group,
results,
binding,
mapping,
pixeldef,
pixelmap,
animation,
animation_result,
animdef,
op,
channel,
channels,
pixelindex,
pixelval,
pixelvals,
frame,
animframe,
}
Variants§
EOI
End-of-input
WHITESPACE
COMMENT
file
statement
string
reserved
char
name_char
name
word
value
number
id
id_with_state
range
ids
index
time
state
layer_type
charcode
pixel
pixellayer
scancode
unicode
unistr
usbcode
consumer
system
indicator
layer
trig
none
key
kv
kvmap
array
function
rhs
lhs
property
define
capability
position
trigger_type
trigger
trigger_group
triggers
result_type
result
result_group
results
binding
mapping
pixeldef
pixelmap
animation
animation_result
animdef
op
channel
channels
pixelindex
pixelval
pixelvals
frame
animframe
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.