Struct reproto_core::RpFile [] [src]

pub struct RpFile<F: 'static> where
    F: Flavor
{ pub comment: Vec<String>, pub decls: Vec<RpDecl<F>>, }

Fields

Methods

impl<F: 'static> RpFile<F> where
    F: Flavor
[src]

[src]

Iterate over all declarations in file.

Trait Implementations

impl<F: Debug + 'static> Debug for RpFile<F> where
    F: Flavor
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone + 'static> Clone for RpFile<F> where
    F: Flavor
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

Translate into different flavor.

Auto Trait Implementations

impl<F> Send for RpFile<F> where
    <F as Flavor>::Endpoint: Send,
    <F as Flavor>::Field: Send,
    <F as Flavor>::Name: Send

impl<F> Sync for RpFile<F> where
    <F as Flavor>::Endpoint: Sync,
    <F as Flavor>::Field: Sync,
    <F as Flavor>::Name: Sync