pub enum MatchKind {
OpySpelling,
CatalogId,
DisplayName,
Alias,
Path,
Near,
}Expand description
Which spelling form a hit matched on.
Variants§
OpySpelling
The OPY source spelling (e.g. hudText, Hero.SOLDIER).
CatalogId
The canonical Workshop id (e.g. createHudText).
DisplayName
A Workshop display name (e.g. Create HUD Text).
Alias
A declared OPY alias spelling (e.g. getPlayers).
Path
A settings path (e.g. gamemodes.ffa.scoreToWin).
Near
No form matched exactly; the hit is the closest near-spelling.
Implementations§
Trait Implementations§
impl Copy for MatchKind
impl Eq for MatchKind
impl StructuralPartialEq for MatchKind
Auto Trait Implementations§
impl Freeze for MatchKind
impl RefUnwindSafe for MatchKind
impl Send for MatchKind
impl Sync for MatchKind
impl Unpin for MatchKind
impl UnsafeUnpin for MatchKind
impl UnwindSafe for MatchKind
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