pub struct MethodDef {
pub reader: &'static TypeReader,
pub row: Row,
}Fields§
§reader: &'static TypeReader§row: RowImplementations§
Source§impl MethodDef
impl MethodDef
pub fn flags(&self) -> MethodFlags
pub fn params(&self) -> impl Iterator<Item = Param> + '_
pub fn name(&self) -> &'static str
pub fn sig(&self) -> Blob
pub fn category(&self) -> MethodCategory
pub fn attributes(&self) -> impl Iterator<Item = Attribute> + '_
pub fn impl_map(&self) -> Option<ImplMap>
Trait Implementations§
Source§impl Ord for MethodDef
impl Ord for MethodDef
Source§impl PartialOrd for MethodDef
impl PartialOrd for MethodDef
impl Copy for MethodDef
impl Eq for MethodDef
Auto Trait Implementations§
impl Freeze for MethodDef
impl RefUnwindSafe for MethodDef
impl Send for MethodDef
impl Sync for MethodDef
impl Unpin for MethodDef
impl UnsafeUnpin for MethodDef
impl UnwindSafe for MethodDef
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