fn new() -> Self {
        let rofi_retv = std::env::var("ROFI_RETV")
            .ok()
            .and_then(|var| var.parse::<i8>().ok().map(Retv::from));

        RofiEnv { rofi_retv }
    }
/// Create a new RofiEnv from current environment variables
Create a new RofiEnv from current environment variables
Create a new RofiEnv from current environment variables
fn new() -> Self {
        let rofi_retv = std::env::var("ROFI_RETV")
            .ok()
            .and_then(|var| var.parse::<i8>().ok().map(Retv::from));
        RofiEnv { rofi_retv }
    }
fn new ( ) -> Self { let rofi_retv = std :: env :: var ( " " ) . ok ( ) . and_then ( | var | var . parse :: < i8 > ( ) . ok ( ) . map ( Retv :: from ) ) ; RofiEnv { rofi_retv } }
Create a new RofiEnv from current environment variables
Create a new RofiEnv from current environment variables