Enum koto_parser::MapKey [−][src]
pub enum MapKey {
Id(ConstantIndex),
Str(AstString),
Meta(MetaKeyId, Option<ConstantIndex>),
}
Expand description
A map key definition
Variants
Id(ConstantIndex)
Tuple Fields
An identifier
Str(AstString)
Tuple Fields
0: AstString
A string
Meta(MetaKeyId, Option<ConstantIndex>)
A meta key
Some meta keys require an additional identifier, e.g. @test test_name
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MapKey
impl UnwindSafe for MapKey
Blanket Implementations
Mutably borrows from an owned value. Read more