[][src]Struct protobuf::descriptorx::FileScope

pub struct FileScope<'a> {
    pub file_descriptor: &'a FileDescriptorProto,
}

Fields

file_descriptor: &'a FileDescriptorProto

Methods

impl<'a> FileScope<'a>[src]

pub fn syntax(&self) -> Syntax[src]

pub fn to_scope(&self) -> Scope<'a>[src]

pub fn find_enums(&self) -> Vec<EnumWithScope<'a>>[src]

pub fn find_messages(&self) -> Vec<MessageWithScope<'a>>[src]

pub fn find_messages_and_enums(&self) -> Vec<MessageOrEnumWithScope<'a>>[src]

Trait Implementations

impl<'a> Clone for FileScope<'a>[src]

Auto Trait Implementations

impl<'a> Send for FileScope<'a>

impl<'a> Unpin for FileScope<'a>

impl<'a> Sync for FileScope<'a>

impl<'a> !UnwindSafe for FileScope<'a>

impl<'a> !RefUnwindSafe for FileScope<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]