Struct power_protobuf_lib::ProtobufPath
source · pub struct ProtobufPath {
pub segments: Punctuated<Ident, Dot>,
}
Fields§
§segments: Punctuated<Ident, Dot>
Implementations§
source§impl ProtobufPath
impl ProtobufPath
source§impl ProtobufPath
impl ProtobufPath
pub fn local_name(&self) -> &Ident
Trait Implementations§
source§impl Clone for ProtobufPath
impl Clone for ProtobufPath
source§fn clone(&self) -> ProtobufPath
fn clone(&self) -> ProtobufPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProtobufPath
impl Debug for ProtobufPath
source§impl Hash for ProtobufPath
impl Hash for ProtobufPath
source§impl Parse for ProtobufPath
impl Parse for ProtobufPath
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq for ProtobufPath
impl PartialEq for ProtobufPath
source§fn eq(&self, other: &ProtobufPath) -> bool
fn eq(&self, other: &ProtobufPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToTokens for ProtobufPath
impl ToTokens for ProtobufPath
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for ProtobufPath
impl StructuralPartialEq for ProtobufPath
Auto Trait Implementations§
impl Freeze for ProtobufPath
impl RefUnwindSafe for ProtobufPath
impl !Send for ProtobufPath
impl !Sync for ProtobufPath
impl Unpin for ProtobufPath
impl UnwindSafe for ProtobufPath
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.