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]
impl CachedSizeTrait Implementations
impl Debug for CachedSize[src]
impl Debug for CachedSizefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for CachedSize[src]
impl Default for CachedSizefn default() -> CachedSize[src]
fn default() -> CachedSizeReturns the "default value" for a type. Read more
impl Clone for CachedSize[src]
impl Clone for CachedSizefn clone(&self) -> CachedSize[src]
fn clone(&self) -> CachedSizeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq<CachedSize> for CachedSize[src]
impl PartialEq<CachedSize> for CachedSizefn eq(&self, _other: &CachedSize) -> bool[src]
fn eq(&self, _other: &CachedSize) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CachedSize[src]
impl Eq for CachedSizeAuto Trait Implementations
impl Send for CachedSize
impl Send for CachedSizeimpl Sync for CachedSize
impl Sync for CachedSize