pub struct MethodImplRow {
pub class: u32,
pub method_body: CodedIndex,
pub method_declaration: CodedIndex,
}Expand description
MethodImpl table row (0x19).
Fields§
§class: u32TypeDef index of the class.
method_body: CodedIndexMethodDefOrRef coded index of the implementation.
method_declaration: CodedIndexMethodDefOrRef coded index of the declaration.
Implementations§
Source§impl MethodImplRow
impl MethodImplRow
pub fn parse(reader: &mut Reader<'_>, ctx: &TableContext) -> Result<Self>
pub fn write(&self, writer: &mut Writer, ctx: &TableContext)
Trait Implementations§
Source§impl Clone for MethodImplRow
impl Clone for MethodImplRow
Source§fn clone(&self) -> MethodImplRow
fn clone(&self) -> MethodImplRow
Returns a duplicate 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 MethodImplRow
impl Debug for MethodImplRow
Source§impl Default for MethodImplRow
impl Default for MethodImplRow
Source§fn default() -> MethodImplRow
fn default() -> MethodImplRow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MethodImplRow
impl RefUnwindSafe for MethodImplRow
impl Send for MethodImplRow
impl Sync for MethodImplRow
impl Unpin for MethodImplRow
impl UnwindSafe for MethodImplRow
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