pub enum AltKind {
Message(Vec<Field>),
String {
text: String,
decoded: Option<Box<Node>>,
},
PackedVarint(Vec<u64>),
PackedFixed32(Vec<u32>),
PackedFixed64(Vec<u64>),
Bytes {
decoded: Option<Box<Node>>,
},
Empty,
}Variants§
Message(Vec<Field>)
String
Fields
PackedVarint(Vec<u64>)
PackedFixed32(Vec<u32>)
Little-endian 4-byte values (packed fixed32 / sfixed32 / float).
PackedFixed64(Vec<u64>)
Little-endian 8-byte values (packed fixed64 / sfixed64 / double).
Bytes
Fields
Empty
Implementations§
Trait Implementations§
impl StructuralPartialEq for AltKind
Auto Trait Implementations§
impl Forget for AltKind
impl Freeze for AltKindwhere
*const u8 is !null: Freeze,
PhantomData<Field>: Freeze,
PhantomData<u8>: Freeze,
*const Node is !null: Freeze,
PhantomData<Node>: Freeze,
PhantomData<u64>: Freeze,
PhantomData<u32>: Freeze,
impl Move for AltKind
impl RefUnwindSafe for AltKind
impl Send for AltKind
impl Sync for AltKind
impl Unpin for AltKind
impl UnsafeUnpin for AltKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Field>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Node is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for AltKind
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