| Crates.io | swamp-types |
| lib.rs | swamp-types |
| version | 0.2.29 |
| created_at | 2025-03-29 14:38:30.769267+00 |
| updated_at | 2025-09-08 08:44:16.252335+00 |
| description | types used in Swamp |
| homepage | |
| repository | https://github.com/swamp/types |
| max_upload_size | |
| id | 1611363 |
| size | 89,342 |
Core data structures for the Swamp compiler and tooling, defining the language’s type system.
ByteIntFloatBoolStringUnit (empty)NeverStringStorage(TypeRef, capacity)Tuple(Vec<TypeRef>)Range(TypeRef)FixedCapacityAndLengthArray(TypeRef, len)SliceView(TypeRef)NamedStruct(NamedStructType)AnonymousStruct(AnonymousStructType)Enum(EnumType)Function(Signature)Optional(TypeRef)VecStorage(TypeRef, capacity) / DynamicLengthVecView(TypeRef)StackStorage(TypeRef, cap) / StackView(TypeRef)QueueStorage(TypeRef, cap) / QueueView(TypeRef)MapStorage(Rc<Key>, Rc<Value>, cap) / DynamicLengthMapView(Rc<Key>, Rc<Value>)SparseStorage(TypeRef, cap) / SparseView(TypeRef)GridStorage(TypeRef, rows, cols) / GridView(TypeRef)MIT — see LICENSE for details.
Copyright Peter Bjorklund. All rights reserved. https://github.com/swamp/swamp