Struct protobuf::types::ProtobufTypeFloat [−][src]
pub struct ProtobufTypeFloat;
float
Trait Implementations
impl ProtobufType for ProtobufTypeFloat
[src]
impl ProtobufType for ProtobufTypeFloat
[src]type Value = f32
Rust type of value
fn wire_type() -> WireType
[src]
fn read(is: &mut CodedInputStream<'_>) -> ProtobufResult<f32>
[src]
fn compute_size(_value: &f32) -> u32
[src]
fn get_from_unknown(unknown_values: &UnknownValues) -> Option<f32>
[src]
fn write_with_cached_size(
field_number: u32,
value: &f32,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
field_number: u32,
value: &f32,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn compute_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
fn get_cached_size(value: &Self::Value) -> u32
[src]
fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProtobufTypeFloat
impl RefUnwindSafe for ProtobufTypeFloat
impl Send for ProtobufTypeFloat
impl Send for ProtobufTypeFloat
impl Sync for ProtobufTypeFloat
impl Sync for ProtobufTypeFloat
impl Unpin for ProtobufTypeFloat
impl Unpin for ProtobufTypeFloat
impl UnwindSafe for ProtobufTypeFloat
impl UnwindSafe for ProtobufTypeFloat