pub enum LangOptions {
None,
Cpp(CppOptions),
Ida(IdaOptions),
Binja(BinjaOptions),
}Expand description
Backend-specific options.
Variants§
Implementations§
Source§impl LangOptions
impl LangOptions
pub fn as_cpp(&self) -> Option<&CppOptions>
pub fn as_ida(&self) -> Option<&IdaOptions>
pub fn as_binja(&self) -> Option<&BinjaOptions>
Trait Implementations§
Source§impl Clone for LangOptions
impl Clone for LangOptions
Source§fn clone(&self) -> LangOptions
fn clone(&self) -> LangOptions
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 LangOptions
impl Debug for LangOptions
Source§impl Default for LangOptions
impl Default for LangOptions
Source§fn default() -> LangOptions
fn default() -> LangOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LangOptions
impl RefUnwindSafe for LangOptions
impl Send for LangOptions
impl Sync for LangOptions
impl Unpin for LangOptions
impl UnsafeUnpin for LangOptions
impl UnwindSafe for LangOptions
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