Struct protobuf::CachedSize
[−]
[src]
pub struct CachedSize { /* fields omitted */ }Cached size field used in generated code.
It is always equal to itself to simplify generated code.
(Generated code can use #[derive(Eq)]).
Methods
impl CachedSize[src]
Trait Implementations
impl Debug for CachedSize[src]
impl Default for CachedSize[src]
fn default() -> CachedSize
Returns the "default value" for a type. Read more
impl Clone for CachedSize[src]
fn clone(&self) -> CachedSize
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 PartialEq<CachedSize> for CachedSize[src]
fn eq(&self, _other: &CachedSize) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.