pub struct ValidatedClassShell {
pub this_class: ClassIndex,
pub super_class: Option<ClassIndex>,
pub interfaces: Vec<ClassIndex>,
pub fields: Vec<ValidatedFieldShell>,
pub methods: Vec<ValidatedMethodShell>,
pub attribute_names: Vec<Utf8Index>,
}Expand description
Typed shell references produced only after structural decoding succeeds.
Fields§
§this_class: ClassIndexValidated index of this class.
super_class: Option<ClassIndex>Validated superclass index, absent only when the raw index is zero.
interfaces: Vec<ClassIndex>Validated interface indices in classfile order.
fields: Vec<ValidatedFieldShell>Validated field projections.
methods: Vec<ValidatedMethodShell>Validated method projections.
attribute_names: Vec<Utf8Index>Validated class-attribute name indices in classfile order.
Trait Implementations§
Source§impl Clone for ValidatedClassShell
impl Clone for ValidatedClassShell
Source§fn clone(&self) -> ValidatedClassShell
fn clone(&self) -> ValidatedClassShell
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 ValidatedClassShell
impl Debug for ValidatedClassShell
impl Eq for ValidatedClassShell
Source§impl PartialEq for ValidatedClassShell
impl PartialEq for ValidatedClassShell
impl StructuralPartialEq for ValidatedClassShell
Auto Trait Implementations§
impl Freeze for ValidatedClassShell
impl RefUnwindSafe for ValidatedClassShell
impl Send for ValidatedClassShell
impl Sync for ValidatedClassShell
impl Unpin for ValidatedClassShell
impl UnsafeUnpin for ValidatedClassShell
impl UnwindSafe for ValidatedClassShell
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