[−][src]Struct dynamic_ocl::program::ProgramBuilder
A partially built OpenCL program
Methods
impl<'a> ProgramBuilder<'a, FromSource<'a>>
[src]
pub fn with_source(ctx: &'a Context, src: &'a impl AsRef<[u8]>) -> Self
[src]
Begin building a program with a single source file
impl<'a, T: ProgramBuilderType> ProgramBuilder<'a, T>
[src]
pub fn opt(&mut self, opts: impl Into<Cow<'a, str>>) -> &mut Self
[src]
Append an option to be passed to the compiler
pub fn build(&self) -> Result<Program>
[src]
Build the program
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ProgramBuilder<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for ProgramBuilder<'a, T>
impl<'a, T> !Sync for ProgramBuilder<'a, T>
impl<'a, T> Unpin for ProgramBuilder<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for ProgramBuilder<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,