pub struct VyperCompilationCtx {
pub version: String,
pub abi_v2: bool,
pub include_runtime: bool,
pub extra_pragmas: Vec<String>,
}Expand description
Compilation context for a single Vyper source file.
Fields§
§version: StringVyper version pragma (e.g., "0.3.10").
abi_v2: boolWhether ABI v2 is enabled.
include_runtime: boolWhether to include runtime helpers.
extra_pragmas: Vec<String>Extra # pragma lines.
Trait Implementations§
Source§impl Clone for VyperCompilationCtx
impl Clone for VyperCompilationCtx
Source§fn clone(&self) -> VyperCompilationCtx
fn clone(&self) -> VyperCompilationCtx
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 VyperCompilationCtx
impl Debug for VyperCompilationCtx
Auto Trait Implementations§
impl Freeze for VyperCompilationCtx
impl RefUnwindSafe for VyperCompilationCtx
impl Send for VyperCompilationCtx
impl Sync for VyperCompilationCtx
impl Unpin for VyperCompilationCtx
impl UnsafeUnpin for VyperCompilationCtx
impl UnwindSafe for VyperCompilationCtx
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