Module foster

Source
Expand description

Foster utilities.

Macros§

delegate_newtype_of_foster_byte_stringbyte_string
Delegates traits to a FosterByteString newtype.
delegate_newtype_of_foster_byte_string_vectorbyte_string
Delegates traits to a FosterByteStringVector newtype.
delegate_newtype_of_foster_string
Delegates traits to a FosterString newtype.
delegate_newtype_of_foster_string_vector
Delegates traits to a FosterStringVector newtype.

Enums§

Foster
Fostering allows for subjective equivalence between owned values and differently-typed fostered values. Equivalence can mean comparison, iteration, hashing, representation, etc.

Traits§

HasLength
Has length.

Type Aliases§

FosterByteStringbyte_string
Foster for ByteString.
FosterByteStringVectorbyte_string
Foster for Vec<ByteString>.
FosterIterator
Foster Iterator.
FosterString
Foster for String.
FosterStringVector
Foster for Vec<String>.