parameters: (self, field, index, ordinal)
docstring: Args:
        field: the original field.
        index: the position of the original field in the struct.
        ordinal: the ordinal of the field for serialization.
docstring_summary: Args:
        field: the original field.
        index: the position of the original field in the struct.
        ordinal: the ordinal of the field for serialization.
docstring_tokens: Args : field : the original field . index : the position of the original field in the struct . ordinal : the ordinal of the field for serialization .
function: def __init__(self, field, index, ordinal):
      """
      Args:
        field: the original field.
        index: the position of the original field in the struct.
        ordinal: the ordinal of the field for serialization.
      """
      self.field = field
      self.index = index
      self.ordinal = ordinal
      self.size = self.GetSizeForKind(field.kind)
      self.alignment = self.GetAlignmentForKind(field.kind)
      self.offset = None
      self.bit = None
      self.min_version = None
function_tokens: def __init__ ( self , field , index , ordinal ) : self . field = field self . index = index self . ordinal = ordinal self . size = self . GetSizeForKind ( field . kind ) self . alignment = self . GetAlignmentForKind ( field . kind ) self . offset = None self . bit = None self . min_version = None