# ``Swift/RawRepresentable`` ## Topics ### Creating a Value - ``Swift/RawRepresentable/init(rawValue:)`` ### Accessing the Raw Value - ``Swift/RawRepresentable/rawValue-swift.property`` - ``Swift/RawRepresentable/RawValue-swift.associatedtype`` ### Comparing Values - ``Swift/==(_:_:)-9hu5c`` - ``Swift/!=(_:_:)-9wy5n`` - ``Swift/!=(_:_:)-8pggn`` ### Decoding a Value These initializer overloads are available for any conforming type with a `RawValue` that is a `Decodable` standard library type. - ``Swift/RawRepresentable/init(from:)-5auil`` - ``Swift/RawRepresentable/init(from:)-5ar5m`` - ``Swift/RawRepresentable/init(from:)-417i8`` - ``Swift/RawRepresentable/init(from:)-9u9tp`` - ``Swift/RawRepresentable/init(from:)-4ibll`` - ``Swift/RawRepresentable/init(from:)-3hvw1`` - ``Swift/RawRepresentable/init(from:)-5ktev`` - ``Swift/RawRepresentable/init(from:)-2hvc0`` - ``Swift/RawRepresentable/init(from:)-114vz`` - ``Swift/RawRepresentable/init(from:)-29lhi`` - ``Swift/RawRepresentable/init(from:)-94955`` - ``Swift/RawRepresentable/init(from:)-6z4x4`` - ``Swift/RawRepresentable/init(from:)-3arr3`` - ``Swift/RawRepresentable/init(from:)-812cy`` ### Encoding a Value These overloads are available for any conforming type with a `RawValue` that is an `Encodable` standard library type. - ``Swift/RawRepresentable/encode(to:)-4evma`` - ``Swift/RawRepresentable/encode(to:)-5igsi`` - ``Swift/RawRepresentable/encode(to:)-4tbh4`` - ``Swift/RawRepresentable/encode(to:)-21ma8`` - ``Swift/RawRepresentable/encode(to:)-8horh`` - ``Swift/RawRepresentable/encode(to:)-78oqu`` - ``Swift/RawRepresentable/encode(to:)-4pavm`` - ``Swift/RawRepresentable/encode(to:)-86dqn`` - ``Swift/RawRepresentable/encode(to:)-7dyeb`` - ``Swift/RawRepresentable/encode(to:)-4gohs`` - ``Swift/RawRepresentable/encode(to:)-9u5rt`` - ``Swift/RawRepresentable/encode(to:)-cla3`` - ``Swift/RawRepresentable/encode(to:)-27waz`` - ``Swift/RawRepresentable/encode(to:)-16ame``