pub struct Arguments<'a>(/* private fields */);Implementations§
Source§impl<'a> Arguments<'a>
impl<'a> Arguments<'a>
pub fn new() -> Self
pub fn source_name(self, source: &'a str) -> Self
pub fn target(self, target: &'a str) -> Self
pub fn entry_point(self, entry_point: &'a str) -> Self
pub fn include_dir(self, path: &'a Path) -> Self
pub fn include_dirs(self, paths: &[&'a Path]) -> Self
pub fn define(self, d: &'a str) -> Self
pub fn defines(self, ds: &[&'a str]) -> Self
pub fn optimization(self, level: Option<u32>) -> Self
pub fn enable_strict_mode(self) -> Self
pub fn no_legacy_cbuf_layout(self) -> Self
pub fn no_warnings(self) -> Self
pub fn disable_validation(self) -> Self
pub fn enable_debug_info(self) -> Self
pub fn hash_considering_only_binary(self) -> Self
pub fn hash_considering_source_info(self) -> Self
pub fn embed_debug(self) -> Self
pub fn warnings_as_errors(self) -> Self
pub fn hlsl_version(self, version: Version) -> Self
pub fn extra(self, args: &[&'a str]) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Arguments<'a>
impl<'a> RefUnwindSafe for Arguments<'a>
impl<'a> Send for Arguments<'a>
impl<'a> Sync for Arguments<'a>
impl<'a> Unpin for Arguments<'a>
impl<'a> UnwindSafe for Arguments<'a>
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