Struct futhark_bindgen::Compiler
source · [−]pub struct Compiler { /* private fields */ }Implementations
sourceimpl Compiler
impl Compiler
pub fn new(backend: Backend, src: impl AsRef<Path>) -> Compiler
pub fn with_executable_name(self, name: impl AsRef<str>) -> Self
pub fn with_extra_args(self, args: Vec<String>) -> Self
pub fn with_output_dir(self, dir: impl AsRef<Path>) -> Self
pub fn compile(&self) -> Result<Option<Library>, Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Compiler
impl Send for Compiler
impl Sync for Compiler
impl Unpin for Compiler
impl UnwindSafe for Compiler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more