Expand description
Helpers for working with Property types in the Crabstep deserializer.
Structs§
- Type
Length Pair - Represents a range pair that contains a type index and a length.
Functions§
- as_
float - Converts a
Propertyto anOption<f64>if it is an unsigned integer or similar structure. - as_
ns_ dictionary - Converts a
PropertytoVec<Property>if it is aNSDictionary - as_
nsstring - Converts a
Propertyto anOption<&str>if it is aNSStringor similar structure. - as_
nsurl - Given a mutable reference to a resolved
Property,
walks 2 levels of nested groups under an NSURL→NSString and returns the inner &str. - as_
signed_ integer - Converts a
Propertyto anOption<i64>if it is a signed integer or similar structure. - as_
type_ length_ pair - Converts a
Propertyto a range pair used to denote a type index and a length - as_
unsigned_ integer - Converts a
Propertyto anOption<u64>if it is an unsigned integer or similar structure.