Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/serde_derive/src/internals/mod.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / serde_derive / src / internals / mod.rs` 28 lines ยท 395 bytes Raw Blame History 1 pub mod ast; 2 pub mod attr; 3 pub mod name; 4 5 mod case; 6 mod check; 7 mod ctxt; 8 mod receiver; 9 mod respan; 10 mod symbol; 11 12 use syn::Type; 13 14 pub use self::ctxt::Ctxt; 15 pub use self::receiver::replace_receiver; 16 17 #[derive(Copy, Clone)] 18 pub enum Derive { 19 Serialize, 20 Deserialize, 21 } 22 23 pub fn ungroup(mut ty: &Type) -> &Type { 24 while let Type::Group(group) = ty { 25 ty = &group.elem; 26 } 27 ty 28 }