Struct protobuf::descriptor::SourceCodeInfo[][src]

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

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SourceCodeInfo[src]

pub fn new() -> SourceCodeInfo[src]

pub fn get_location(&self) -> &[SourceCodeInfo_Location]

Notable traits for &'_ [u8]

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

pub fn clear_location(&mut self)[src]

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

pub fn mut_location(&mut self) -> &mut RepeatedField<SourceCodeInfo_Location>[src]

pub fn take_location(&mut self) -> RepeatedField<SourceCodeInfo_Location>[src]

Trait Implementations

impl Clear for SourceCodeInfo[src]

impl Clone for SourceCodeInfo[src]

impl Debug for SourceCodeInfo[src]

impl Default for SourceCodeInfo[src]

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

impl Message for SourceCodeInfo[src]

impl PartialEq<SourceCodeInfo> for SourceCodeInfo[src]

impl ProtobufValue for SourceCodeInfo[src]

impl StructuralPartialEq for SourceCodeInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for SourceCodeInfo

impl Send for SourceCodeInfo

impl Sync for SourceCodeInfo

impl Unpin for SourceCodeInfo

impl UnwindSafe for SourceCodeInfo

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.