# ItemSize

    public enum ItemSize : Hashable

Represents desired item size.

- `auto`

  Item size should be fully calculated by the `CollectionViewChatLayout`. Initial estimated size will be taken from `ChatLayoutSettings`.

  #### Declaration

  Swift

      case auto

- `estimated(_:)`

  Item size should be fully calculated by the `CollectionViewChatLayout`. Initial estimated size should be taken from the value provided.

  #### Declaration

  Swift

      case estimated(CGSize)

- `exact(_:)`

  Item size should be exactly equal to the value provided.

  #### Declaration

  Swift

      case exact(CGSize)

- `CaseType`

  Represents current item size case type.

  See more

  #### Declaration

  Swift

      public enum CaseType : Hashable, CaseIterable

- `caseType`

  Returns current item size case type.

  #### Declaration

  Swift

      public var caseType: CaseType { get }

- `hash(into:)`

  #### Declaration

  Swift

      public func hash(into hasher: inout Hasher)