pub struct MethodInfo {
pub method_id: MethodId,
pub name: String,
pub signature: String,
pub generic_signature: Option<String>,
pub mod_bits: i32,
}Expand description
Method information
Fields§
§method_id: MethodId§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.
mod_bits: i32Trait Implementations§
Source§impl Clone for MethodInfo
impl Clone for MethodInfo
Source§fn clone(&self) -> MethodInfo
fn clone(&self) -> MethodInfo
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 MethodInfo
impl Debug for MethodInfo
Source§impl<'de> Deserialize<'de> for MethodInfo
impl<'de> Deserialize<'de> for MethodInfo
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 MethodInfo
impl RefUnwindSafe for MethodInfo
impl Send for MethodInfo
impl Sync for MethodInfo
impl Unpin for MethodInfo
impl UnsafeUnpin for MethodInfo
impl UnwindSafe for MethodInfo
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