pub struct ShellBudget {
pub interfaces: usize,
pub fields: usize,
pub methods: usize,
pub attributes: usize,
pub attribute_bytes: usize,
}Expand description
Limits for allocations made while structurally decoding one classfile shell.
Fields§
§interfaces: usizeMaximum implemented interfaces.
fields: usizeMaximum field declarations.
methods: usizeMaximum method declarations.
attributes: usizeMaximum attributes across the class and all members.
attribute_bytes: usizeMaximum aggregate bytes retained in attribute bodies.
Trait Implementations§
Source§impl Clone for ShellBudget
impl Clone for ShellBudget
Source§fn clone(&self) -> ShellBudget
fn clone(&self) -> ShellBudget
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 ShellBudget
Source§impl Debug for ShellBudget
impl Debug for ShellBudget
impl Eq for ShellBudget
Source§impl PartialEq for ShellBudget
impl PartialEq for ShellBudget
impl StructuralPartialEq for ShellBudget
Auto Trait Implementations§
impl Freeze for ShellBudget
impl RefUnwindSafe for ShellBudget
impl Send for ShellBudget
impl Sync for ShellBudget
impl Unpin for ShellBudget
impl UnsafeUnpin for ShellBudget
impl UnwindSafe for ShellBudget
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