pub struct TypeField { /* private fields */ }
Expand description
A type field used within table types.
The foo: number
in { foo: number }
.
Implementations
Creates a new TypeField from the given key and value
The key of the field, foo
in foo: number
.
The colon in between the key name and the value type.
Returns a new TypeField with the given key
Returns a new TypeField with the :
token
Returns a new TypeField with the :
token
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The start position of a node. None if can’t be determined
The end position of a node. None if it can’t be determined
Whether another node of the same type is the same as this one semantically, ignoring position
The token references that comprise a node
The full range of a node, if it has both start and end positions
Auto Trait Implementations
impl RefUnwindSafe for TypeField
impl UnwindSafe for TypeField
Blanket Implementations
Mutably borrows from an owned value. Read more