[−][src]Enum libchisel::dropsection::DropSection
Enum on which ModuleTranslator is implemented.
Variants
CustomSectionByName(String)
Name of the custom section.
CustomSectionByIndex(usize)
Index of the custom section.
UnknownSectionByIndex(usize)
Index of the unknown section.
Trait Implementations
impl<'a> ChiselModule<'a> for DropSection
[src]
type ObjectReference = &'a dyn ModuleTranslator
fn id(&'a self) -> String
[src]
fn kind(&'a self) -> ModuleKind
[src]
fn as_abstract(&'a self) -> Self::ObjectReference
[src]
impl<'a> ModuleTranslator for DropSection
[src]
fn translate_inplace(&self, module: &mut Module) -> Result<bool, ModuleError>
[src]
fn translate(&self, module: &Module) -> Result<Option<Module>, ModuleError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for DropSection
impl Send for DropSection
impl Sync for DropSection
impl Unpin for DropSection
impl UnwindSafe for DropSection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,