Enum noak::reader::attributes::annotations::TargetType
source · pub enum TargetType {
Show 22 variants
ClassTypeParameter,
MethodTypeParameter,
ClassExtends,
ClassTypeParameterBound,
MethodTypeParameterBound,
Field,
MethodReturn,
MethodReceiver,
MethodFormalParameter,
Throws,
LocalVariable,
ResourceVariable,
ExceptionParameter,
InstanceOf,
New,
ConstructorReference,
MethodReference,
Cast,
ConstructorInvocationTypeArgument,
MethodInvocationTypeArgument,
ConstructorReferenceTypeArgument,
MethodReferenceTypeArgument,
}
Variants§
ClassTypeParameter
MethodTypeParameter
ClassExtends
ClassTypeParameterBound
MethodTypeParameterBound
Field
MethodReturn
MethodReceiver
MethodFormalParameter
Throws
LocalVariable
ResourceVariable
ExceptionParameter
InstanceOf
New
ConstructorReference
MethodReference
Cast
ConstructorInvocationTypeArgument
MethodInvocationTypeArgument
ConstructorReferenceTypeArgument
MethodReferenceTypeArgument
Trait Implementations§
source§impl Clone for TargetType
impl Clone for TargetType
source§fn clone(&self) -> TargetType
fn clone(&self) -> TargetType
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 TargetType
impl Debug for TargetType
source§impl PartialEq for TargetType
impl PartialEq for TargetType
source§fn eq(&self, other: &TargetType) -> bool
fn eq(&self, other: &TargetType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TargetType
impl Eq for TargetType
impl StructuralPartialEq for TargetType
Auto Trait Implementations§
impl Freeze for TargetType
impl RefUnwindSafe for TargetType
impl Send for TargetType
impl Sync for TargetType
impl Unpin for TargetType
impl UnwindSafe for TargetType
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.