Enum protobuf::descriptor::field_options::CType [−][src]
pub enum CType {
STRING,
CORD,
STRING_PIECE,
}
Variants
STRING
CORD
STRING_PIECE
Trait Implementations
Try to create an enum from i32
value.
Return None
if value is unknown. Read more
Get all enum values for enum type.
Get enum descriptor by type.
Get enum value descriptor.
Get enum descriptor.
type RuntimeType = RuntimeTypeEnum<Self>
type RuntimeType = RuntimeTypeEnum<Self>
Actual implementation of type properties.
Dynamic version of the type.
Pointer to a dynamic reference.
Mutable pointer to a dynamic mutable reference.
Construct a value from given reflective value. Read more
Write the value.
Default value for this type.
Convert a value into a ref value if possible. Read more
Value is non-default?
Auto Trait Implementations
impl RefUnwindSafe for CType
impl UnwindSafe for CType
Blanket Implementations
Mutably borrows from an owned value. Read more