pub struct MethodType {
pub descriptor_index: u16,
}Expand description
Represents constant MethodType.
Fields§
§descriptor_index: u16Implementations§
Source§impl MethodType
impl MethodType
Sourcepub fn descriptor<'constant, 'constant_pool: 'constant>(
&'constant self,
constant_pool: &'constant_pool ConstantPool,
) -> Option<&'constant_pool Utf8>
pub fn descriptor<'constant, 'constant_pool: 'constant>( &'constant self, constant_pool: &'constant_pool ConstantPool, ) -> Option<&'constant_pool Utf8>
Gets descriptor of the MethodType.
Trait Implementations§
Source§impl Clone for MethodType
impl Clone for MethodType
Source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
Returns a duplicate of the value. Read more
1.0.0 · 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 MethodType
impl Debug for MethodType
Source§impl<'de> Deserialize<'de> for MethodType
impl<'de> Deserialize<'de> for MethodType
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
Source§impl PartialEq for MethodType
impl PartialEq for MethodType
Source§impl Serialize for MethodType
impl Serialize for MethodType
impl Eq for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl Freeze for MethodType
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnwindSafe for MethodType
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