Struct sc2_proto::common::ImageData
[−]
[src]
pub struct ImageData { /* fields omitted */ }
Methods
impl ImageData
[src]
fn new() -> ImageData
[src]
fn default_instance() -> &'static ImageData
[src]
fn clear_bits_per_pixel(&mut self)
[src]
fn has_bits_per_pixel(&self) -> bool
[src]
fn set_bits_per_pixel(&mut self, v: i32)
[src]
fn get_bits_per_pixel(&self) -> i32
[src]
fn clear_size(&mut self)
[src]
fn has_size(&self) -> bool
[src]
fn set_size(&mut self, v: Size2DI)
[src]
fn mut_size(&mut self) -> &mut Size2DI
[src]
fn take_size(&mut self) -> Size2DI
[src]
fn get_size(&self) -> &Size2DI
[src]
fn clear_data(&mut self)
[src]
fn has_data(&self) -> bool
[src]
fn set_data(&mut self, v: Vec<u8>)
[src]
fn mut_data(&mut self) -> &mut Vec<u8>
[src]
fn take_data(&mut self) -> Vec<u8>
[src]
fn get_data(&self) -> &[u8]
[src]
Trait Implementations
impl PartialEq for ImageData
[src]
fn eq(&self, __arg_0: &ImageData) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ImageData) -> bool
[src]
This method tests for !=
.
impl Clone for ImageData
[src]
fn clone(&self) -> ImageData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ImageData
[src]
impl Sync for ImageData
[src]
impl Message for ImageData
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &Any
[src]
fn as_any_mut(&mut self) -> &mut Any
[src]
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>