rusty-snake

Results 98 issues of rusty-snake
trafficstars

**Use case** - Have related/frequently used overlays next to each other, w/o scrolling **Proposed Solution** A way to reorder (custom) overlays instead of using creation order.

PR welcome

**Use case** - Show (colored) existing values on all elements selected for the overlay - e.g. select:`ways with highway` color:`surface` - Show data as missing for `!access or access ~...

Settings gear aperas on normal overlays. ![ResizedImage_2024-07-09_15-18-51_2641](https://github.com/Helium314/SCEE/assets/41237666/5b0329c5-3b5a-476b-9b06-b6cb079dba63) **How to Reproduce** - Add custom overlays (more than fit on screen) - Open overlay menu - Scroll down - Scroll up -...

bug

```rust impl ScmpSyscall { fn is_error(&self) -> bool { self.nr == libseccomp_sys::__NR_SCMP_ERROR } fn is_undef(&self) -> bool { self.nr == libseccomp_sys::__NR_SCMP_UNDEF } } ```

enhancement

In addition to `From`/`Into` provide `ScmpSyscall::{from,as}_raw_syscall` methods. ```rust type RawSyscall = c_int; impl ScmpSyscall { fn from_raw_syscall(raw_syscall: RawSyscall) -> Self { Self::from_sys(nr) } fn as_raw_syscall(self) -> RawSyscall { self.nr }...

enhancement

This issue tries to outline a solution to some of the problems of bitflags. There is plenty room for discussion right now. bitflag suffers from the fact that it hadn't...

Introduced by Linux 6.6. linux_raw requires linux-raw-sys >= 0.6.5.

semver bump

See https://rust-lang.github.io/api-guidelines/interoperability.html#c-good-err I would recommend a type like the following: ```rust #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] struct ParseSysnoError { string: String, } impl fmt::Display for ParseSysnoError { fn...

Previous discussed in #41 but closed w/o result. https://doc.rust-lang.org/std/convert/trait.From.html says: > **Note: This trait must not fail.** The From trait is intended for perfect conversions. If the conversion can fail...

**Use case** Say you have an `tracktype` overlay and your coloring details are `!tracktype` (i.e. color by `tracktype` only, and auto-select it when editing tags). Second example is a `cycleway:surface`...