Struct noak::writer::cpool::MethodType
source · pub struct MethodType {
pub descriptor: Index<Utf8>,
}
Fields§
§descriptor: Index<Utf8>
Implementations§
source§impl MethodType
impl MethodType
pub fn by<I>(descriptor: I) -> MethodTypeInserter<I>where
I: Insertable<Utf8>,
Trait Implementations§
source§impl Clone for MethodType
impl Clone for MethodType
source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
Returns a copy 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 From<MethodType> for Item
impl From<MethodType> for Item
source§fn from(item: MethodType) -> Item
fn from(item: MethodType) -> Item
Converts to this type from the input type.
source§impl Hash for MethodType
impl Hash for MethodType
source§impl Insertable<MethodType> for Index<MethodType>
impl Insertable<MethodType> for Index<MethodType>
fn insert<Ctx: EncoderContext>( self, _: &mut Ctx, ) -> Result<Index<MethodType>, EncodeError>
source§impl Insertable<MethodType> for MethodType
impl Insertable<MethodType> for MethodType
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<MethodType>, EncodeError>
source§impl<I: Insertable<Utf8>> Insertable<MethodType> for MethodTypeInserter<I>
impl<I: Insertable<Utf8>> Insertable<MethodType> for MethodTypeInserter<I>
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<MethodType>, EncodeError>
source§impl PartialEq for MethodType
impl PartialEq for MethodType
source§fn eq(&self, other: &MethodType) -> bool
fn eq(&self, other: &MethodType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.