This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Clone, Copy, PartialEq, Eq)] | |
#[non_exhaustive] | |
enum Container { | |
Vector, | |
Any, | |
} | |
trait MyAny: Any { | |
fn get_container(&self) -> Container; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use serde::{Deserialize, Serialize}; | |
use std::collections::HashMap; | |
#[derive(Debug, Deserialize, Serialize)] | |
struct VexillaBaseStructThingy { | |
field1: String, | |
field2: i32, | |
#[serde(flatten)] | |
extra_fields: HashMap<String, serde_json::Value>, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- branch | |
jobs: | |
deploy: | |
name: 🚀 Deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes enter { | |
0% { | |
opacity: 0; | |
transform: translateY(10px) | |
} | |
to { | |
opacity: 1; | |
transform: none | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
max_width = 150 | |
hard_tabs = true | |
tab_spaces = 4 | |
newline_style = "Unix" | |
use_small_heuristics = "Default" | |
reorder_imports = true | |
reorder_modules = true | |
remove_nested_parens = true | |
edition = "2021" | |
merge_derives = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"arrowParens": "always", | |
"bracketSpacing": true, | |
"endOfLine": "lf", | |
"htmlWhitespaceSensitivity": "css", | |
"jsxBracketSameLine": true, | |
"printWidth": 80, | |
"proseWrap": "preserve", | |
"jsxSingleQuote": true, | |
"requirePragma": false, |