pub struct MethodDef<'a>(/* private fields */);Implementations§
Source§impl MethodDef<'_>
impl MethodDef<'_>
pub fn rva(&self) -> usize
pub fn impl_flags(&self) -> MethodImplAttributes
pub fn flags(&self) -> MethodAttributes
pub fn name(&self) -> &str
pub fn signature(&self, generics: &[Type]) -> Signature
pub fn params(&self) -> RowIterator<'_, MethodParam<'_>> ⓘ
pub fn parent(&self) -> MemberRefParent<'_>
pub fn impl_map(&self) -> Option<ImplMap<'_>>
pub fn calling_convention(&self) -> &str
Trait Implementations§
Source§impl<'a> AsRow<'a> for MethodDef<'a>
impl<'a> AsRow<'a> for MethodDef<'a>
const TABLE: usize = 6usize
fn to_row(&self) -> Row<'a>
fn from_row(row: Row<'a>) -> Self
fn index(&self) -> &'a Index
fn file(&self) -> &'a File
fn pos(&self) -> usize
fn usize(&self, column: usize) -> usize
fn str(&self, column: usize) -> &'a str
fn row<R: AsRow<'a>>(&self, column: usize) -> R
fn decode<T: Decode<'a>>(&self, column: usize) -> T
fn blob(&self, column: usize) -> Blob<'a>
fn list<R: AsRow<'a>>(&self, column: usize) -> RowIterator<'a, R> ⓘ
fn equal_range<L: AsRow<'a>>( &self, column: usize, value: usize, ) -> RowIterator<'a, L> ⓘ
fn parent_row<P: AsRow<'a>>(&'a self, column: usize) -> P
Source§impl<'a> From<MethodDef<'a>> for AttributeType<'a>
impl<'a> From<MethodDef<'a>> for AttributeType<'a>
Source§impl<'a> From<MethodDef<'a>> for HasAttribute<'a>
impl<'a> From<MethodDef<'a>> for HasAttribute<'a>
Source§impl<'a> From<MethodDef<'a>> for MemberForwarded<'a>
impl<'a> From<MethodDef<'a>> for MemberForwarded<'a>
Source§impl<'a> Ord for MethodDef<'a>
impl<'a> Ord for MethodDef<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for MethodDef<'a>
impl<'a> PartialOrd for MethodDef<'a>
impl<'a> Copy for MethodDef<'a>
impl<'a> Eq for MethodDef<'a>
impl<'a> StructuralPartialEq for MethodDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MethodDef<'a>
impl<'a> RefUnwindSafe for MethodDef<'a>
impl<'a> Send for MethodDef<'a>
impl<'a> Sync for MethodDef<'a>
impl<'a> Unpin for MethodDef<'a>
impl<'a> UnwindSafe for MethodDef<'a>
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