[][src]Trait lucetc::LucetcOpts

pub trait LucetcOpts {
    fn bindings(&mut self, bindings: Bindings);
fn with_bindings(self, bindings: Bindings) -> Self;
fn target(&mut self, target: Triple);
fn with_target(self, target: Triple) -> Self;
fn opt_level(&mut self, opt_level: OptLevel);
fn with_opt_level(self, opt_level: OptLevel) -> Self;
fn cpu_features(&mut self, cpu_features: CpuFeatures);
fn with_cpu_features(self, cpu_features: CpuFeatures) -> Self;
fn builtins<P: AsRef<Path>>(&mut self, builtins_path: P);
fn with_builtins<P: AsRef<Path>>(self, builtins_path: P) -> Self;
fn validator(&mut self, validator: Validator);
fn with_validator(self, validator: Validator) -> Self;
fn min_reserved_size(&mut self, min_reserved_size: u64);
fn with_min_reserved_size(self, min_reserved_size: u64) -> Self;
fn max_reserved_size(&mut self, max_reserved_size: u64);
fn with_max_reserved_size(self, max_reserved_size: u64) -> Self;
fn reserved_size(&mut self, reserved_size: u64);
fn with_reserved_size(self, reserved_size: u64) -> Self;
fn guard_size(&mut self, guard_size: u64);
fn with_guard_size(self, guard_size: u64) -> Self;
fn pk(&mut self, pk: PublicKey);
fn with_pk(self, pk: PublicKey) -> Self;
fn sk(&mut self, sk: SecretKey);
fn with_sk(self, sk: SecretKey) -> Self;
fn verify(&mut self);
fn with_verify(self) -> Self;
fn sign(&mut self);
fn with_sign(self) -> Self;
fn count_instructions(&mut self, enable_count: bool);
fn with_count_instructions(self, enable_count: bool) -> Self;
fn canonicalize_nans(&mut self, enable_canonicalize_nans: bool);
fn with_canonicalize_nans(self, enable_canonicalize_nans: bool) -> Self; }

Required methods

fn bindings(&mut self, bindings: Bindings)

fn with_bindings(self, bindings: Bindings) -> Self

fn target(&mut self, target: Triple)

fn with_target(self, target: Triple) -> Self

fn opt_level(&mut self, opt_level: OptLevel)

fn with_opt_level(self, opt_level: OptLevel) -> Self

fn cpu_features(&mut self, cpu_features: CpuFeatures)

fn with_cpu_features(self, cpu_features: CpuFeatures) -> Self

fn builtins<P: AsRef<Path>>(&mut self, builtins_path: P)

fn with_builtins<P: AsRef<Path>>(self, builtins_path: P) -> Self

fn validator(&mut self, validator: Validator)

fn with_validator(self, validator: Validator) -> Self

fn min_reserved_size(&mut self, min_reserved_size: u64)

fn with_min_reserved_size(self, min_reserved_size: u64) -> Self

fn max_reserved_size(&mut self, max_reserved_size: u64)

fn with_max_reserved_size(self, max_reserved_size: u64) -> Self

fn reserved_size(&mut self, reserved_size: u64)

Set the reserved size exactly.

Equivalent to setting the minimum and maximum reserved sizes to the same value.

fn with_reserved_size(self, reserved_size: u64) -> Self

Set the reserved size exactly.

Equivalent to setting the minimum and maximum reserved sizes to the same value.

fn guard_size(&mut self, guard_size: u64)

fn with_guard_size(self, guard_size: u64) -> Self

fn pk(&mut self, pk: PublicKey)

fn with_pk(self, pk: PublicKey) -> Self

fn sk(&mut self, sk: SecretKey)

fn with_sk(self, sk: SecretKey) -> Self

fn verify(&mut self)

fn with_verify(self) -> Self

fn sign(&mut self)

fn with_sign(self) -> Self

fn count_instructions(&mut self, enable_count: bool)

fn with_count_instructions(self, enable_count: bool) -> Self

fn canonicalize_nans(&mut self, enable_canonicalize_nans: bool)

fn with_canonicalize_nans(self, enable_canonicalize_nans: bool) -> Self

Loading content...

Implementors

impl<T: AsLucetc> LucetcOpts for T[src]

Loading content...