Struct reproto_core::RpTupleBody
[−]
[src]
pub struct RpTupleBody<F: 'static> where
F: Flavor, { pub name: F::Name, pub ident: String, pub comment: Vec<String>, pub decls: Vec<RpDecl<F>>, pub fields: Vec<Loc<F::Field>>, pub codes: Vec<Loc<RpCode>>, }
Fields
name: F::Name
ident: String
comment: Vec<String>
decls: Vec<RpDecl<F>>
fields: Vec<Loc<F::Field>>
codes: Vec<Loc<RpCode>>
Methods
impl<F: 'static> RpTupleBody<F> where
F: Flavor,
[src]
F: Flavor,
Trait Implementations
impl<F: Debug + 'static> Debug for RpTupleBody<F> where
F: Flavor,
F::Name: Debug,
F::Field: Debug,
[src]
F: Flavor,
F::Name: Debug,
F::Field: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<F: Clone + 'static> Clone for RpTupleBody<F> where
F: Flavor,
F::Name: Clone,
F::Field: Clone,
[src]
F: Flavor,
F::Name: Clone,
F::Field: Clone,
fn clone(&self) -> RpTupleBody<F>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F: 'static, T> Translate<T> for RpTupleBody<F> where
F: Flavor,
T: Translator<Source = F>,
[src]
F: Flavor,
T: Translator<Source = F>,
type Source = F
type Out = RpTupleBody<T::Target>
fn translate(self, translator: &T) -> Result<RpTupleBody<T::Target>>
[src]
Translate into different flavor.