pub struct Content<'a> {
pub bintab: BinTable<'a>,
pub symtab: SymTable,
pub consttab: ConstTable,
pub packtab: PackTable,
pub unpacktab: UnpackTable,
pub functab: FuncTable<'a>,
pub debugbintab: BinTable<'a>,
pub funcdebugtab: FuncDebugTable,
pub module_name: Option<StrId>,
}Fields§
§bintab: BinTable<'a>§symtab: SymTable§consttab: ConstTable§packtab: PackTable§unpacktab: UnpackTable§functab: FuncTable<'a>§debugbintab: BinTable<'a>§funcdebugtab: FuncDebugTable§module_name: Option<StrId>Trait Implementations§
Source§impl<'c> Context for Content<'c>
impl<'c> Context for Content<'c>
type Phase = Serde<'c>
fn slice<'a>(&'a self, bytes: &'a <Self::Phase as Phase>::Bytes) -> &'a [u8] ⓘ
fn function(&self, index: usize) -> Option<&Func<'c>>
fn pack(&self, index: usize) -> Option<impl Iterator<Item = Arg>>
fn unpack_arity(&self, index: usize) -> Option<usize>
fn symbol_valid(&self, index: usize) -> bool
fn constant_valid(&self, index: usize) -> bool
Source§impl<'de: 'a, 'a> Deserialize<'de> for Content<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Content<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'a> StructuralPartialEq for Content<'a>
Auto Trait Implementations§
impl<'a> Freeze for Content<'a>
impl<'a> RefUnwindSafe for Content<'a>
impl<'a> Send for Content<'a>
impl<'a> Sync for Content<'a>
impl<'a> Unpin for Content<'a>
impl<'a> UnsafeUnpin for Content<'a>
impl<'a> UnwindSafe for Content<'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