Struct golem_wasm_ast::core::Custom
source · pub struct Custom {
pub name: String,
pub data: Vec<u8>,
}
Fields§
§name: String
§data: Vec<u8>
Trait Implementations§
source§impl<'a> From<Custom> for CustomSection<'a>
impl<'a> From<Custom> for CustomSection<'a>
source§impl From<Custom> for IgnoredCustom
impl From<Custom> for IgnoredCustom
source§impl From<Custom> for MetadataOnlyCustom
impl From<Custom> for MetadataOnlyCustom
source§impl PartialEq for Custom
impl PartialEq for Custom
source§impl RetainsCustomSection for Custom
impl RetainsCustomSection for Custom
source§impl Section<ComponentIndexSpace, ComponentSectionType> for Custom
impl Section<ComponentIndexSpace, ComponentSectionType> for Custom
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
source§impl Section<CoreIndexSpace, CoreSectionType> for Custom
impl Section<CoreIndexSpace, CoreSectionType> for Custom
fn index_space(&self) -> CoreIndexSpace
fn section_type(&self) -> CoreSectionType
impl Eq for Custom
impl StructuralPartialEq for Custom
Auto Trait Implementations§
impl Freeze for Custom
impl RefUnwindSafe for Custom
impl Send for Custom
impl Sync for Custom
impl Unpin for Custom
impl UnwindSafe for Custom
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.