INNER CODE UNIT · Rust

is_colorized_field

jhspetersson/fselect · src/field/mod.rs:125

            pub fn is_colorized_field(&self) -> bool {
                match self {
                    $(
                        $(#[$variant_attrs])*
                        $enum_name::$variant => {
                            stringify!($($colorized)?) == "true"
                        }
                    )*
                }
            }
            
            pub fn is_available_for_archived_files(&self) -> bool {
                match self {
                    $(
                        $(#[$variant_attrs])*
                        $enum_name::$variant => {
                            stringify!($($for_archived)?) == "true"
                        }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…