pub struct NestedAttribute {
pub name_index: u16,
pub owner: NestedAttributeOwner,
pub order: usize,
pub declared_length: u32,
pub bytes: Vec<u8>,
pub origin: AttributeOrigin,
}Expand description
A nested attribute retained in declaration order with an unresolved name index.
Fields§
§name_index: u16Constant-pool index naming the attribute.
owner: NestedAttributeOwnerOwner category in which this attribute was decoded.
order: usizeZero-based order within its owner’s table.
declared_length: u32Body length declared by the attribute header.
bytes: Vec<u8>Exact attribute payload.
origin: AttributeOriginSource range covering the complete header and body.
Trait Implementations§
Source§impl Clone for NestedAttribute
impl Clone for NestedAttribute
Source§fn clone(&self) -> NestedAttribute
fn clone(&self) -> NestedAttribute
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 NestedAttribute
impl Debug for NestedAttribute
impl Eq for NestedAttribute
Source§impl PartialEq for NestedAttribute
impl PartialEq for NestedAttribute
impl StructuralPartialEq for NestedAttribute
Auto Trait Implementations§
impl Freeze for NestedAttribute
impl RefUnwindSafe for NestedAttribute
impl Send for NestedAttribute
impl Sync for NestedAttribute
impl Unpin for NestedAttribute
impl UnsafeUnpin for NestedAttribute
impl UnwindSafe for NestedAttribute
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