pub struct ConstantPoolBuilder { /* private fields */ }Implementations§
Source§impl ConstantPoolBuilder
impl ConstantPoolBuilder
pub fn new() -> Self
pub fn into_pool(self) -> Vec<CpInfo>
pub fn utf8(&mut self, value: &str) -> u16
pub fn class(&mut self, name: &str) -> u16
pub fn string(&mut self, value: &str) -> u16
pub fn name_and_type(&mut self, name: &str, descriptor: &str) -> u16
pub fn field_ref(&mut self, owner: &str, name: &str, descriptor: &str) -> u16
pub fn method_ref(&mut self, owner: &str, name: &str, descriptor: &str) -> u16
Trait Implementations§
Source§impl Debug for ConstantPoolBuilder
impl Debug for ConstantPoolBuilder
Source§impl Default for ConstantPoolBuilder
impl Default for ConstantPoolBuilder
Source§fn default() -> ConstantPoolBuilder
fn default() -> ConstantPoolBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConstantPoolBuilder
impl RefUnwindSafe for ConstantPoolBuilder
impl Send for ConstantPoolBuilder
impl Sync for ConstantPoolBuilder
impl Unpin for ConstantPoolBuilder
impl UnsafeUnpin for ConstantPoolBuilder
impl UnwindSafe for ConstantPoolBuilder
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