Struct reproto_core::RpFile
[−]
[src]
pub struct RpFile<F: 'static> where
F: Flavor, { pub comment: Vec<String>, pub decls: Vec<RpDecl<F>>, }
Fields
comment: Vec<String>
decls: Vec<RpDecl<F>>
Methods
impl<F: 'static> RpFile<F> where
F: Flavor,
[src]
F: Flavor,
pub fn for_each_decl(&self) -> ForEachDecl<F>
[src]
Iterate over all declarations in file.
Trait Implementations
impl<F: Debug + 'static> Debug for RpFile<F> where
F: Flavor,
[src]
F: Flavor,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<F: Clone + 'static> Clone for RpFile<F> where
F: Flavor,
[src]
F: Flavor,
fn clone(&self) -> RpFile<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 RpFile<F> where
F: Flavor,
T: Translator<Source = F>,
[src]
F: Flavor,
T: Translator<Source = F>,