Crate key_paths_core

Crate key_paths_core 

Source

Macros§

readable_enum_macro
writable_enum_macro

Enums§

AnyKeyPath
AnyKeyPath - Fully type-erased keypath for unknown Root and Value Equivalent to Swift’s AnyKeyPath Useful when Root and Value types are unknown or need to be hidden
KeyPaths
Go to examples section to see the implementations
PartialKeyPath
PartialKeyPath - Type-erased keypath with known Root but unknown Value Equivalent to Swift’s PartialKeyPath Useful for collections of keypaths from the same root type but with different value types

Traits§

WithContainer
Trait for no-clone callback-based access to container types Provides methods to execute closures with references to values inside containers without requiring cloning of the values

Functions§

compose
Global compose function that combines two compatible key paths