pub struct MethodDefOrRef(/* private fields */);Implementations§
Source§impl MethodDefOrRef
impl MethodDefOrRef
pub fn read_compressed(stream: &mut Cursor<&[u8]>) -> Result<Self>
Trait Implementations§
Source§impl Clone for MethodDefOrRef
impl Clone for MethodDefOrRef
Source§fn clone(&self) -> MethodDefOrRef
fn clone(&self) -> MethodDefOrRef
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 moreimpl Copy for MethodDefOrRef
Source§impl Debug for MethodDefOrRef
impl Debug for MethodDefOrRef
impl Eq for MethodDefOrRef
Source§impl From<MethodDefOrRef> for MetadataToken
impl From<MethodDefOrRef> for MetadataToken
Source§fn from(value: MethodDefOrRef) -> Self
fn from(value: MethodDefOrRef) -> Self
Converts to this type from the input type.
Source§impl FromByteStream for MethodDefOrRef
impl FromByteStream for MethodDefOrRef
Source§impl Hash for MethodDefOrRef
impl Hash for MethodDefOrRef
Source§impl PartialEq for MethodDefOrRef
impl PartialEq for MethodDefOrRef
Source§fn eq(&self, other: &MethodDefOrRef) -> bool
fn eq(&self, other: &MethodDefOrRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MethodDefOrRef
Source§impl TryFrom<MethodDefOrRef> for MethodDef
impl TryFrom<MethodDefOrRef> for MethodDef
Source§impl TryFrom<MethodDefOrRef> for MemberRef
impl TryFrom<MethodDefOrRef> for MemberRef
Auto Trait Implementations§
impl Freeze for MethodDefOrRef
impl RefUnwindSafe for MethodDefOrRef
impl Send for MethodDefOrRef
impl Sync for MethodDefOrRef
impl Unpin for MethodDefOrRef
impl UnsafeUnpin for MethodDefOrRef
impl UnwindSafe for MethodDefOrRef
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