Skip to main content

Vvis

Struct Vvis 

Source
pub struct Vvis {
    pub selected_args: Vec<VvisArg>,
}
Expand description

Performs visibility tests for optimization.

Fields§

§selected_args: Vec<VvisArg>

Implementations§

Source§

impl Vvis

Source

pub fn new() -> Self

Trait Implementations§

Source§

impl Clone for Vvis

Source§

fn clone(&self) -> Vvis

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Compiler for Vvis

Source§

type Arg = VvisArg

The specific argument type associated with this compiler.
Source§

fn name(&self) -> &'static str

Returns the human-readable name of the compiler.
Source§

fn description(&self) -> &'static str

Returns a brief description of what the compiler does.
Source§

fn working_dir_template(&self) -> &'static str

Returns the default working directory for the compiler.
Source§

fn get_args(&self) -> &[Self::Arg]

Returns a slice of the arguments configured for this compiler instance.
Source§

fn add_arg(&mut self, arg: Self::Arg)

Adds a configured argument to this compiler instance.
Source§

fn clear_args(&mut self)

Removes all user-configured arguments. Base arguments are unaffected.
Source§

fn get_metadata(&self) -> CompilerMetadata

Convenience method for getting all metadata at once
Source§

fn get_structured_args(&self) -> Vec<(&'static str, Option<String>)>

Returns the configured arguments in a structured format.
Source§

fn build_args(&self) -> Vec<String>

Builds the final, flattened list of command-line arguments for execution.
Source§

fn build_command( &self, context: &CompilerContext, executable: Option<PathBuf>, ) -> CommandInfo

Build the final command-line string for execution using context values./// If provided, executable will be used as the compiler path. Otherwise, it defaults to <bin_dir>/<compiler_name>.exe.
Source§

impl Debug for Vvis

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Vvis

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for Vvis

§

impl RefUnwindSafe for Vvis

§

impl Send for Vvis

§

impl Sync for Vvis

§

impl Unpin for Vvis

§

impl UnsafeUnpin for Vvis

§

impl UnwindSafe for Vvis

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.