pub enum FieldType {
}
Variants§
Int32
Int64
Uint32
Uint64
Sint32
Sint64
Bool
Enum(EnumIndex)
Fixed64
Sfixed64
Double
StringCow
BytesCow
String_
Bytes_
Message(MessageIndex)
MessageOrEnum(String)
Fixed32
Sfixed32
Float
Map(Box<FieldType>, Box<FieldType>)
Implementations§
Source§impl FieldType
impl FieldType
pub fn is_primitive(&self) -> bool
pub fn message(&self) -> Option<&MessageIndex>
Trait Implementations§
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnwindSafe for FieldType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more