Enum prost_reflect::Syntax
source · pub enum Syntax {
Proto2,
Proto3,
}
Expand description
The syntax of a proto file.
Variants§
Trait Implementations§
source§impl PartialEq for Syntax
impl PartialEq for Syntax
impl Copy for Syntax
impl Eq for Syntax
impl StructuralPartialEq for Syntax
Auto Trait Implementations§
impl Freeze for Syntax
impl RefUnwindSafe for Syntax
impl Send for Syntax
impl Sync for Syntax
impl Unpin for Syntax
impl UnwindSafe for Syntax
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more