pub enum AttributeOwner {
Class,
Field(usize),
Method(usize),
}Expand description
The legal classfile owner of an attribute shell.
Variants§
Class
The class declaration.
Field(usize)
A field declaration at the given classfile ordinal.
Method(usize)
A method declaration at the given classfile ordinal.
Trait Implementations§
Source§impl Clone for AttributeOwner
impl Clone for AttributeOwner
Source§fn clone(&self) -> AttributeOwner
fn clone(&self) -> AttributeOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttributeOwner
Source§impl Debug for AttributeOwner
impl Debug for AttributeOwner
impl Eq for AttributeOwner
Source§impl PartialEq for AttributeOwner
impl PartialEq for AttributeOwner
impl StructuralPartialEq for AttributeOwner
Auto Trait Implementations§
impl Freeze for AttributeOwner
impl RefUnwindSafe for AttributeOwner
impl Send for AttributeOwner
impl Sync for AttributeOwner
impl Unpin for AttributeOwner
impl UnsafeUnpin for AttributeOwner
impl UnwindSafe for AttributeOwner
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