pub struct Variable {
pub code_index: u64,
pub name: String,
pub signature: String,
pub generic_signature: Option<String>,
pub length: u32,
pub slot: u32,
}Fields§
§code_index: u64§name: String§signature: String§generic_signature: Option<String>The generic signature from the class file’s Signature attribute, when it carries one
(DISC-12, #95).
None is the ordinary answer, not a degraded one: the attribute is optional, absent for code
compiled without it and for synthetic members whose types were erased. JDWP’s generic commands
answer with an EMPTY STRING in that case rather than an error, and an empty string is normalised to
None here so that no caller can render a blank type.
length: u32§slot: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Variable
impl<'de> Deserialize<'de> for Variable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnsafeUnpin for Variable
impl UnwindSafe for Variable
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