Struct noak::writer::cpool::InterfaceMethodRef
source · pub struct InterfaceMethodRef {
pub class: Index<Class>,
pub name_and_type: Index<NameAndType>,
}
Fields§
§class: Index<Class>
§name_and_type: Index<NameAndType>
Implementations§
source§impl InterfaceMethodRef
impl InterfaceMethodRef
pub fn by<Class, Nat>( class: Class, name_and_type: Nat, ) -> InterfaceMethodRefInserter<Class, Nat>
Trait Implementations§
source§impl Clone for InterfaceMethodRef
impl Clone for InterfaceMethodRef
source§fn clone(&self) -> InterfaceMethodRef
fn clone(&self) -> InterfaceMethodRef
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 InterfaceMethodRef
impl Debug for InterfaceMethodRef
source§impl From<InterfaceMethodRef> for Item
impl From<InterfaceMethodRef> for Item
source§fn from(item: InterfaceMethodRef) -> Item
fn from(item: InterfaceMethodRef) -> Item
Converts to this type from the input type.
source§impl Hash for InterfaceMethodRef
impl Hash for InterfaceMethodRef
source§impl Insertable<InterfaceMethodRef> for Index<InterfaceMethodRef>
impl Insertable<InterfaceMethodRef> for Index<InterfaceMethodRef>
fn insert<Ctx: EncoderContext>( self, _: &mut Ctx, ) -> Result<Index<InterfaceMethodRef>, EncodeError>
source§impl Insertable<InterfaceMethodRef> for InterfaceMethodRef
impl Insertable<InterfaceMethodRef> for InterfaceMethodRef
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<InterfaceMethodRef>, EncodeError>
source§impl<Class, Nat> Insertable<InterfaceMethodRef> for InterfaceMethodRefInserter<Class, Nat>
impl<Class, Nat> Insertable<InterfaceMethodRef> for InterfaceMethodRefInserter<Class, Nat>
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<InterfaceMethodRef>, EncodeError>
source§impl PartialEq for InterfaceMethodRef
impl PartialEq for InterfaceMethodRef
source§fn eq(&self, other: &InterfaceMethodRef) -> bool
fn eq(&self, other: &InterfaceMethodRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterfaceMethodRef
impl StructuralPartialEq for InterfaceMethodRef
Auto Trait Implementations§
impl Freeze for InterfaceMethodRef
impl RefUnwindSafe for InterfaceMethodRef
impl Send for InterfaceMethodRef
impl Sync for InterfaceMethodRef
impl Unpin for InterfaceMethodRef
impl UnwindSafe for InterfaceMethodRef
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.