Enum noak::reader::attributes::annotations::TypePathSegmentKind
source · pub enum TypePathSegmentKind {
ArrayElement,
InnerType,
WildcardBound,
TypeArgument,
}
Variants§
Trait Implementations§
source§impl Clone for TypePathSegmentKind
impl Clone for TypePathSegmentKind
source§fn clone(&self) -> TypePathSegmentKind
fn clone(&self) -> TypePathSegmentKind
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 TypePathSegmentKind
impl Debug for TypePathSegmentKind
source§impl PartialEq for TypePathSegmentKind
impl PartialEq for TypePathSegmentKind
source§fn eq(&self, other: &TypePathSegmentKind) -> bool
fn eq(&self, other: &TypePathSegmentKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TypePathSegmentKind
impl Eq for TypePathSegmentKind
impl StructuralPartialEq for TypePathSegmentKind
Auto Trait Implementations§
impl Freeze for TypePathSegmentKind
impl RefUnwindSafe for TypePathSegmentKind
impl Send for TypePathSegmentKind
impl Sync for TypePathSegmentKind
impl Unpin for TypePathSegmentKind
impl UnwindSafe for TypePathSegmentKind
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.