pub trait ConstantPoolExt {
// Required methods
fn resolve_utf8(&self, index: u16) -> Option<&str>;
fn get_int(&self, index: u16) -> Option<i32>;
fn get_long(&self, index: u16) -> Option<i64>;
fn get_float(&self, index: u16) -> Option<f32>;
fn get_double(&self, index: u16) -> Option<f64>;
}Required Methods§
fn resolve_utf8(&self, index: u16) -> Option<&str>
fn get_int(&self, index: u16) -> Option<i32>
fn get_long(&self, index: u16) -> Option<i64>
fn get_float(&self, index: u16) -> Option<f32>
fn get_double(&self, index: u16) -> Option<f64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".