Struct protobuf_native::FileDescriptor
source · pub struct FileDescriptor { /* private fields */ }
Expand description
Describes a whole .proto file.
To get the FileDescriptor
for a compiled-in file, get the descriptor for
something defined in that file and call descriptor.file()
. Use
DescriptorPool
to construct your own descriptors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileDescriptor
impl RefUnwindSafe for FileDescriptor
impl Send for FileDescriptor
impl Sync for FileDescriptor
impl !Unpin for FileDescriptor
impl UnwindSafe for FileDescriptor
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