Struct osmpbfreader::osmformat::DenseNodes [−][src]
pub struct DenseNodes { pub id: Vec<i64>, pub denseinfo: SingularPtrField<DenseInfo>, pub lat: Vec<i64>, pub lon: Vec<i64>, pub keys_vals: Vec<i32>, pub unknown_fields: UnknownFields, pub cached_size: CachedSize, }
Fields
id: Vec<i64>
denseinfo: SingularPtrField<DenseInfo>
lat: Vec<i64>
lon: Vec<i64>
keys_vals: Vec<i32>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl DenseNodes
[src]
impl DenseNodes
[src]pub fn new() -> DenseNodes
[src]
pub fn get_id(&self) -> &[i64]
[src]
pub fn clear_id(&mut self)
[src]
pub fn set_id(&mut self, v: Vec<i64>)
[src]
pub fn mut_id(&mut self) -> &mut Vec<i64>
[src]
pub fn take_id(&mut self) -> Vec<i64>
[src]
pub fn get_denseinfo(&self) -> &DenseInfo
[src]
pub fn clear_denseinfo(&mut self)
[src]
pub fn has_denseinfo(&self) -> bool
[src]
pub fn set_denseinfo(&mut self, v: DenseInfo)
[src]
pub fn mut_denseinfo(&mut self) -> &mut DenseInfo
[src]
pub fn take_denseinfo(&mut self) -> DenseInfo
[src]
pub fn get_lat(&self) -> &[i64]
[src]
pub fn clear_lat(&mut self)
[src]
pub fn set_lat(&mut self, v: Vec<i64>)
[src]
pub fn mut_lat(&mut self) -> &mut Vec<i64>
[src]
pub fn take_lat(&mut self) -> Vec<i64>
[src]
pub fn get_lon(&self) -> &[i64]
[src]
pub fn clear_lon(&mut self)
[src]
pub fn set_lon(&mut self, v: Vec<i64>)
[src]
pub fn mut_lon(&mut self) -> &mut Vec<i64>
[src]
pub fn take_lon(&mut self) -> Vec<i64>
[src]
pub fn get_keys_vals(&self) -> &[i32]
[src]
pub fn clear_keys_vals(&mut self)
[src]
pub fn set_keys_vals(&mut self, v: Vec<i32>)
[src]
pub fn mut_keys_vals(&mut self) -> &mut Vec<i32>
[src]
pub fn take_keys_vals(&mut self) -> Vec<i32>
[src]
Trait Implementations
impl Clear for DenseNodes
[src]
impl Clear for DenseNodes
[src]impl Clone for DenseNodes
[src]
impl Clone for DenseNodes
[src]fn clone(&self) -> DenseNodes
[src]
fn clone(&self) -> DenseNodes
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for DenseNodes
[src]
impl Debug for DenseNodes
[src]impl Default for DenseNodes
[src]
impl Default for DenseNodes
[src]fn default() -> DenseNodes
[src]
fn default() -> DenseNodes
[src]Returns the “default value” for a type. Read more
impl<'a> Default for &'a DenseNodes
[src]
impl<'a> Default for &'a DenseNodes
[src]fn default() -> &'a DenseNodes
[src]
fn default() -> &'a DenseNodes
[src]Returns the “default value” for a type. Read more
impl Message for DenseNodes
[src]
impl Message for DenseNodes
[src]fn is_initialized(&self) -> bool
[src]
fn is_initialized(&self) -> bool
[src]True iff all required fields are initialized.
Always returns true
for protobuf 3. Read more
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]Update this message object with fields read from given stream.
fn compute_size(&self) -> u32
[src]
fn compute_size(&self) -> u32
[src]Compute and cache size of this message and all nested messages
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]Write message to the stream. Read more
fn get_cached_size(&self) -> u32
[src]
fn get_cached_size(&self) -> u32
[src]Get size previously computed by compute_size
.
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]Get a reference to unknown fields.
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]Get a mutable reference to unknown fields.
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]View self as mutable Any
.
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]Message descriptor for this message, used for reflection.
fn new() -> DenseNodes
[src]
fn new() -> DenseNodes
[src]Create an empty message object. Read more
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]Get message descriptor for message type. Read more
fn default_instance() -> &'static DenseNodes
[src]
fn default_instance() -> &'static DenseNodes
[src]Return a pointer to default immutable message with static lifetime. Read more
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[src]
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>
[src]Parse message from stream.
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
[src]
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
[src]Write the message to the stream. Read more
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]Write the message to the vec, prepend the message with message length encoded as varint. Read more
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]Update this message object with fields read from given stream.
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>
[src]Parse message from reader. Parse stops on EOF or when error encountered. Read more
fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
[src]
fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>
[src]Parse message from byte array.
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]Check if all required fields of this object are initialized.
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]Write the message to the writer.
fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]Write the message to bytes vec.
fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]Write the message to bytes vec.
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]Write the message to the writer, prepend the message with message length encoded as varint. Read more
fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
impl PartialEq<DenseNodes> for DenseNodes
[src]
impl PartialEq<DenseNodes> for DenseNodes
[src]fn eq(&self, other: &DenseNodes) -> bool
[src]
fn eq(&self, other: &DenseNodes) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &DenseNodes) -> bool
[src]
fn ne(&self, other: &DenseNodes) -> bool
[src]This method tests for !=
.
impl ProtobufValue for DenseNodes
[src]
impl ProtobufValue for DenseNodes
[src]fn as_ref(&self) -> ReflectValueRef<'_>
[src]
fn as_ref(&self) -> ReflectValueRef<'_>
[src]As ref
fn is_non_zero(&self) -> bool
[src]
fn is_non_zero(&self) -> bool
[src]Is value non-zero?
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>
[src]Return ProtobufValueRef
if self is Copy
. Read more
impl StructuralPartialEq for DenseNodes
[src]
Auto Trait Implementations
impl RefUnwindSafe for DenseNodes
impl Send for DenseNodes
impl Sync for DenseNodes
impl Unpin for DenseNodes
impl UnwindSafe for DenseNodes
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more