pub enum PathPart<'a> {
Part(&'a str),
Team,
Hero,
}Expand description
One segment of an exact settings path.
Variants§
Part(&'a str)
A literal key (mode names under gamemodes are literal keys too:
per-key subsets are exact-path entries, #86).
Team
Any team slot (allTeams), rendered through team_name.
Hero
Any hero-config slot, rendered through hero_name.
Trait Implementations§
impl<'a> Copy for PathPart<'a>
impl Eq for PathPart<'_>
Auto Trait Implementations§
impl<'a> Freeze for PathPart<'a>
impl<'a> RefUnwindSafe for PathPart<'a>
impl<'a> Send for PathPart<'a>
impl<'a> Sync for PathPart<'a>
impl<'a> Unpin for PathPart<'a>
impl<'a> UnsafeUnpin for PathPart<'a>
impl<'a> UnwindSafe for PathPart<'a>
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