"struct" meaning in English

See struct in All languages combined, or Wiktionary

Noun

Forms: structs [plural]
Etymology: Abbreviation of structure, used as a keyword in the C programming language and its descendants. Head templates: {{en-noun}} struct (plural structs)
  1. (computing, programming) A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference. Categories (topical): Computing, Programming Synonyms: structure, record (english: in some contexts) Translations (Translations): tietue (Finnish), Struktur [feminine] (German), Verbund [masculine] (German), 構造体 (Japanese), структу́ра (struktúra) [feminine] (Russian)

Inflected forms

Download JSON data for struct meaning in English (3.0kB)

{
  "etymology_text": "Abbreviation of structure, used as a keyword in the C programming language and its descendants.",
  "forms": [
    {
      "form": "structs",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "struct (plural structs)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Computing",
          "orig": "en:Computing",
          "parents": [
            "Technology",
            "All topics",
            "Fundamental"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "ref": "2005, Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones, Professional C# 2005, John Wiley & Sons, page 103",
          "text": "Note that because structs are value types, the new operator does not work in the same way as it does for classes and other reference types.",
          "type": "quotation"
        },
        {
          "ref": "2015, Michael Dippery, Professional Swift, John Wiley & Sons, page 62",
          "text": "Like most object-oriented languages, including Objective-C, Swift supports two basic object-oriented data structures: classes and structs.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference."
      ],
      "id": "en-struct-en-noun-5UGmFLMP",
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "programming",
          "programming#Noun"
        ],
        [
          "data structure",
          "data structure"
        ],
        [
          "field",
          "field"
        ],
        [
          "object-oriented",
          "object-oriented"
        ],
        [
          "class",
          "class"
        ],
        [
          "method",
          "method"
        ],
        [
          "passed by value",
          "pass by value"
        ],
        [
          "by reference",
          "pass by reference"
        ]
      ],
      "raw_glosses": [
        "(computing, programming) A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference."
      ],
      "synonyms": [
        {
          "word": "structure"
        },
        {
          "english": "in some contexts",
          "word": "record"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "Translations",
          "word": "tietue"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "Struktur"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "Translations",
          "tags": [
            "masculine"
          ],
          "word": "Verbund"
        },
        {
          "code": "ja",
          "lang": "Japanese",
          "sense": "Translations",
          "word": "構造体"
        },
        {
          "code": "ru",
          "lang": "Russian",
          "roman": "struktúra",
          "sense": "Translations",
          "tags": [
            "feminine"
          ],
          "word": "структу́ра"
        }
      ]
    }
  ],
  "word": "struct"
}
{
  "etymology_text": "Abbreviation of structure, used as a keyword in the C programming language and its descendants.",
  "forms": [
    {
      "form": "structs",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "struct (plural structs)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English nouns",
        "English terms with quotations",
        "Translation table header lacks gloss",
        "en:C programming language",
        "en:Computing",
        "en:Programming"
      ],
      "examples": [
        {
          "ref": "2005, Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones, Professional C# 2005, John Wiley & Sons, page 103",
          "text": "Note that because structs are value types, the new operator does not work in the same way as it does for classes and other reference types.",
          "type": "quotation"
        },
        {
          "ref": "2015, Michael Dippery, Professional Swift, John Wiley & Sons, page 62",
          "text": "Like most object-oriented languages, including Objective-C, Swift supports two basic object-oriented data structures: classes and structs.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference."
      ],
      "links": [
        [
          "computing",
          "computing#Noun"
        ],
        [
          "programming",
          "programming#Noun"
        ],
        [
          "data structure",
          "data structure"
        ],
        [
          "field",
          "field"
        ],
        [
          "object-oriented",
          "object-oriented"
        ],
        [
          "class",
          "class"
        ],
        [
          "method",
          "method"
        ],
        [
          "passed by value",
          "pass by value"
        ],
        [
          "by reference",
          "pass by reference"
        ]
      ],
      "raw_glosses": [
        "(computing, programming) A data structure, especially one that serves to group a number of fields (in contrast to an object-oriented class with methods) or one that is passed by value rather than by reference."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "synonyms": [
    {
      "word": "structure"
    },
    {
      "english": "in some contexts",
      "word": "record"
    }
  ],
  "translations": [
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "Translations",
      "word": "tietue"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "Struktur"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "Translations",
      "tags": [
        "masculine"
      ],
      "word": "Verbund"
    },
    {
      "code": "ja",
      "lang": "Japanese",
      "sense": "Translations",
      "word": "構造体"
    },
    {
      "code": "ru",
      "lang": "Russian",
      "roman": "struktúra",
      "sense": "Translations",
      "tags": [
        "feminine"
      ],
      "word": "структу́ра"
    }
  ],
  "word": "struct"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-25 from the enwiktionary dump dated 2024-05-02 using wiktextract (bb24e0f and c7ea76d). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.