pub struct Dxc { /* private fields */ }
Implementations§
source§impl Dxc
impl Dxc
sourcepub fn new(lib_path: Option<PathBuf>) -> Result<Self>
pub fn new(lib_path: Option<PathBuf>) -> Result<Self>
dxc_path
can point to a library directly or the directory containing the library,
in which case the appended filename depends on the platform.
pub fn create_compiler(&self) -> Result<DxcCompiler>
pub fn create_library(&self) -> Result<DxcLibrary>
pub fn create_reflector(&self) -> Result<DxcReflector>
source§impl Dxc
impl Dxc
pub fn create_intellisense(&self) -> Result<DxcIntellisense>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Dxc
impl Send for Dxc
impl Sync for Dxc
impl Unpin for Dxc
impl UnwindSafe for Dxc
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