Struct osmpbfreader::fileformat::Blob [] [src]

pub struct Blob {
    // some fields omitted
}

Methods

impl Blob
[src]

fn new() -> Blob

fn default_instance() -> &'static Blob

fn clear_raw(&mut self)

fn has_raw(&self) -> bool

fn set_raw(&mut self, v: Vec<u8>)

fn mut_raw<'a>(&'a mut self) -> &'a mut Vec<u8>

fn take_raw(&mut self) -> Vec<u8>

fn get_raw<'a>(&'a self) -> &'a [u8]

fn clear_raw_size(&mut self)

fn has_raw_size(&self) -> bool

fn set_raw_size(&mut self, v: i32)

fn get_raw_size<'a>(&self) -> i32

fn clear_zlib_data(&mut self)

fn has_zlib_data(&self) -> bool

fn set_zlib_data(&mut self, v: Vec<u8>)

fn mut_zlib_data<'a>(&'a mut self) -> &'a mut Vec<u8>

fn take_zlib_data(&mut self) -> Vec<u8>

fn get_zlib_data<'a>(&'a self) -> &'a [u8]

fn clear_lzma_data(&mut self)

fn has_lzma_data(&self) -> bool

fn set_lzma_data(&mut self, v: Vec<u8>)

fn mut_lzma_data<'a>(&'a mut self) -> &'a mut Vec<u8>

fn take_lzma_data(&mut self) -> Vec<u8>

fn get_lzma_data<'a>(&'a self) -> &'a [u8]

fn clear_OBSOLETE_bzip2_data(&mut self)

fn has_OBSOLETE_bzip2_data(&self) -> bool

fn set_OBSOLETE_bzip2_data(&mut self, v: Vec<u8>)

fn mut_OBSOLETE_bzip2_data<'a>(&'a mut self) -> &'a mut Vec<u8>

fn take_OBSOLETE_bzip2_data(&mut self) -> Vec<u8>

fn get_OBSOLETE_bzip2_data<'a>(&'a self) -> &'a [u8]

Trait Implementations

impl Debug for Blob
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Blob
[src]

fn default() -> Blob

Returns the "default value" for a type. Read more

impl Clone for Blob
[src]

fn clone(&self) -> Blob

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Sync for Blob
[src]

impl Message for Blob
[src]

fn is_initialized(&self) -> bool

fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>

fn compute_size(&self) -> u32

fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields

fn type_id(&self) -> TypeId

fn as_any(&self) -> &Any

fn descriptor(&self) -> &'static MessageDescriptor

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>

fn check_initialized(&self) -> Result<(), ProtobufError>

fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

fn write_length_delimited_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

impl MessageStatic for Blob
[src]

fn new() -> Blob

fn descriptor_static(Option<Self>) -> &'static MessageDescriptor

impl Clear for Blob
[src]

fn clear(&mut self)

impl PartialEq for Blob
[src]

fn eq(&self, other: &Blob) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.