pub enum LinkInputType {
Ptx,
Cubin,
Fatbin,
Object,
Library,
}Expand description
The type of input data being added to the linker.
Each variant corresponds to a CUjitInputType constant.
Variants§
Ptx
PTX source code.
Cubin
Compiled device code (cubin).
Fatbin
Fat binary bundle.
Object
Relocatable device object.
Library
Device code library.
Implementations§
Source§impl LinkInputType
impl LinkInputType
Sourcepub fn to_raw(self) -> CUjitInputType
pub fn to_raw(self) -> CUjitInputType
Convert to the raw FFI enum value.
Trait Implementations§
Source§impl Clone for LinkInputType
impl Clone for LinkInputType
Source§fn clone(&self) -> LinkInputType
fn clone(&self) -> LinkInputType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkInputType
impl Debug for LinkInputType
Source§impl Hash for LinkInputType
impl Hash for LinkInputType
Source§impl PartialEq for LinkInputType
impl PartialEq for LinkInputType
impl Copy for LinkInputType
impl Eq for LinkInputType
impl StructuralPartialEq for LinkInputType
Auto Trait Implementations§
impl Freeze for LinkInputType
impl RefUnwindSafe for LinkInputType
impl Send for LinkInputType
impl Sync for LinkInputType
impl Unpin for LinkInputType
impl UnsafeUnpin for LinkInputType
impl UnwindSafe for LinkInputType
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