Enum protobuf::descriptorx::Syntax [−][src]
pub enum Syntax {
PROTO2,
PROTO3,
}Variants
PROTO2PROTO3
Methods
impl Syntax[src]
impl SyntaxTrait Implementations
impl Debug for Syntax[src]
impl Debug for Syntaxfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Syntax[src]
impl Copy for Syntaximpl Clone for Syntax[src]
impl Clone for Syntaxfn clone(&self) -> Syntax[src]
fn clone(&self) -> SyntaxReturns 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 for Syntax[src]
impl PartialEq for Syntaxfn eq(&self, other: &Syntax) -> bool[src]
fn eq(&self, other: &Syntax) -> 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 Syntax[src]
impl Eq for Syntax