Struct protobuf::well_known_types::FloatValue
[−]
[src]
pub struct FloatValue { pub value: f32, // some fields omitted }
Fields
value: f32
Methods
impl FloatValue
[src]
fn new() -> FloatValue
fn default_instance() -> &'static FloatValue
fn clear_value(&mut self)
fn set_value(&mut self, v: f32)
fn get_value(&self) -> f32
Trait Implementations
impl PartialEq for FloatValue
[src]
fn eq(&self, __arg_0: &FloatValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FloatValue) -> bool
This method tests for !=
.
impl Clone for FloatValue
[src]
fn clone(&self) -> FloatValue
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 Default for FloatValue
[src]
fn default() -> FloatValue
Returns the "default value" for a type. Read more
impl Sync for FloatValue
[src]
impl Message for FloatValue
[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<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>