pub struct IndexListAttribute {
pub indices: Vec<u16>,
}Expand description
An ordered list of unresolved indices (Exceptions, NestMembers,
PermittedSubclasses, or ModulePackages).
Fields§
§indices: Vec<u16>Indices in classfile order.
Implementations§
Source§impl IndexListAttribute
impl IndexListAttribute
Sourcepub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
pub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
Decode an unsigned-short-counted index list.
Trait Implementations§
Source§impl Clone for IndexListAttribute
impl Clone for IndexListAttribute
Source§fn clone(&self) -> IndexListAttribute
fn clone(&self) -> IndexListAttribute
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 moreSource§impl Debug for IndexListAttribute
impl Debug for IndexListAttribute
impl Eq for IndexListAttribute
Source§impl PartialEq for IndexListAttribute
impl PartialEq for IndexListAttribute
impl StructuralPartialEq for IndexListAttribute
Auto Trait Implementations§
impl Freeze for IndexListAttribute
impl RefUnwindSafe for IndexListAttribute
impl Send for IndexListAttribute
impl Sync for IndexListAttribute
impl Unpin for IndexListAttribute
impl UnsafeUnpin for IndexListAttribute
impl UnwindSafe for IndexListAttribute
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