Struct protobuf::descriptor::GeneratedCodeInfo[][src]

pub struct GeneratedCodeInfo {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GeneratedCodeInfo[src]

pub fn new() -> GeneratedCodeInfo[src]

pub fn get_annotation(&self) -> &[GeneratedCodeInfo_Annotation]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn clear_annotation(&mut self)[src]

pub fn set_annotation(&mut self, v: RepeatedField<GeneratedCodeInfo_Annotation>)[src]

pub fn mut_annotation(
    &mut self
) -> &mut RepeatedField<GeneratedCodeInfo_Annotation>
[src]

pub fn take_annotation(&mut self) -> RepeatedField<GeneratedCodeInfo_Annotation>[src]

Trait Implementations

impl Clear for GeneratedCodeInfo[src]

impl Clone for GeneratedCodeInfo[src]

impl Debug for GeneratedCodeInfo[src]

impl Default for GeneratedCodeInfo[src]

impl<'a> Default for &'a GeneratedCodeInfo[src]

impl Message for GeneratedCodeInfo[src]

impl PartialEq<GeneratedCodeInfo> for GeneratedCodeInfo[src]

impl ProtobufValue for GeneratedCodeInfo[src]

impl StructuralPartialEq for GeneratedCodeInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for GeneratedCodeInfo

impl Send for GeneratedCodeInfo

impl Sync for GeneratedCodeInfo

impl Unpin for GeneratedCodeInfo

impl UnwindSafe for GeneratedCodeInfo

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.