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 Freeze for Dxc
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