Home
last modified time | relevance | path

Searched refs:UnknownValueRef (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/protobuf/src/
Dunknown.rs35 pub fn get_ref<'s>(&'s self) -> UnknownValueRef<'s> { in get_ref()
37 UnknownValue::Fixed32(fixed32) => UnknownValueRef::Fixed32(fixed32), in get_ref()
38 UnknownValue::Fixed64(fixed64) => UnknownValueRef::Fixed64(fixed64), in get_ref()
39 UnknownValue::Varint(varint) => UnknownValueRef::Varint(varint), in get_ref()
40 UnknownValue::LengthDelimited(ref bytes) => UnknownValueRef::LengthDelimited(&bytes), in get_ref()
58 pub enum UnknownValueRef<'o> { enum
69 impl<'o> UnknownValueRef<'o> { implementation
73 UnknownValueRef::Fixed32(_) => wire_format::WireTypeFixed32, in wire_type()
74 UnknownValueRef::Fixed64(_) => wire_format::WireTypeFixed64, in wire_type()
75 UnknownValueRef::Varint(_) => wire_format::WireTypeVarint, in wire_type()
[all …]
Dcoded_output_stream.rs11 use crate::UnknownValueRef;
361 pub fn write_unknown_no_tag(&mut self, unknown: UnknownValueRef) -> ProtobufResult<()> { in write_unknown_no_tag()
363 UnknownValueRef::Fixed64(fixed64) => self.write_raw_little_endian64(fixed64), in write_unknown_no_tag()
364 UnknownValueRef::Fixed32(fixed32) => self.write_raw_little_endian32(fixed32), in write_unknown_no_tag()
365 UnknownValueRef::Varint(varint) => self.write_raw_varint64(varint), in write_unknown_no_tag()
366 UnknownValueRef::LengthDelimited(bytes) => self.write_bytes_no_tag(bytes), in write_unknown_no_tag()
466 value: UnknownValueRef, in write_unknown() argument
Dlib.rs42 pub use crate::unknown::UnknownValueRef;