pub struct InterfaceMethodRef {
pub class: Index<Class>,
pub name_and_type: Index<NameAndType>,
}
Fields
class: Index<Class>
name_and_type: Index<NameAndType>
Implementations
sourceimpl InterfaceMethodRef
impl InterfaceMethodRef
pub fn by<Class, Nat>(
class: Class,
name_and_type: Nat
) -> InterfaceMethodRefInserter<Class, Nat> where
Class: Insertable<Class>,
Nat: Insertable<NameAndType>,
Trait Implementations
sourceimpl Clone for InterfaceMethodRef
impl Clone for InterfaceMethodRef
sourcefn clone(&self) -> InterfaceMethodRef
fn clone(&self) -> InterfaceMethodRef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterfaceMethodRef
impl Debug for InterfaceMethodRef
sourceimpl From<InterfaceMethodRef> for Item
impl From<InterfaceMethodRef> for Item
sourcefn from(item: InterfaceMethodRef) -> Item
fn from(item: InterfaceMethodRef) -> Item
Converts to this type from the input type.
sourceimpl Hash for InterfaceMethodRef
impl Hash for InterfaceMethodRef
sourceimpl Insertable<InterfaceMethodRef> for InterfaceMethodRef
impl Insertable<InterfaceMethodRef> for InterfaceMethodRef
fn insert<Ctx: EncoderContext>(
self,
context: &mut Ctx
) -> Result<Index<InterfaceMethodRef>, EncodeError>
sourceimpl Insertable<InterfaceMethodRef> for Index<InterfaceMethodRef>
impl Insertable<InterfaceMethodRef> for Index<InterfaceMethodRef>
fn insert<Ctx: EncoderContext>(
self,
_: &mut Ctx
) -> Result<Index<InterfaceMethodRef>, EncodeError>
sourceimpl<Class, Nat> Insertable<InterfaceMethodRef> for InterfaceMethodRefInserter<Class, Nat> where
Class: Insertable<Class>,
Nat: Insertable<NameAndType>,
impl<Class, Nat> Insertable<InterfaceMethodRef> for InterfaceMethodRefInserter<Class, Nat> where
Class: Insertable<Class>,
Nat: Insertable<NameAndType>,
fn insert<Ctx: EncoderContext>(
self,
context: &mut Ctx
) -> Result<Index<InterfaceMethodRef>, EncodeError>
sourceimpl PartialEq<InterfaceMethodRef> for InterfaceMethodRef
impl PartialEq<InterfaceMethodRef> for InterfaceMethodRef
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &InterfaceMethodRef) -> bool
fn ne(&self, other: &InterfaceMethodRef) -> bool
This method tests for !=
.
impl Eq for InterfaceMethodRef
impl StructuralEq for InterfaceMethodRef
impl StructuralPartialEq for InterfaceMethodRef
Auto Trait Implementations
impl RefUnwindSafe for InterfaceMethodRef
impl Send for InterfaceMethodRef
impl Sync for InterfaceMethodRef
impl Unpin for InterfaceMethodRef
impl UnwindSafe for InterfaceMethodRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more