pub struct DriverEntryPoint {
pub fn_ptr: *mut c_void,
pub status: i32,
}Expand description
Typed outcome of driver_entry_point. status mirrors the
cudaDriverEntryPointQueryResult enum reported by the runtime:
0 = Success, 1 = SymbolNotFound, 2 = VersionNotSufficient.
Fields§
§fn_ptr: *mut c_void§status: i32Implementations§
Source§impl DriverEntryPoint
impl DriverEntryPoint
pub fn is_success(&self) -> bool
Trait Implementations§
Source§impl Clone for DriverEntryPoint
impl Clone for DriverEntryPoint
Source§fn clone(&self) -> DriverEntryPoint
fn clone(&self) -> DriverEntryPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DriverEntryPoint
impl Debug for DriverEntryPoint
impl Copy for DriverEntryPoint
Auto Trait Implementations§
impl Freeze for DriverEntryPoint
impl RefUnwindSafe for DriverEntryPoint
impl !Send for DriverEntryPoint
impl !Sync for DriverEntryPoint
impl Unpin for DriverEntryPoint
impl UnsafeUnpin for DriverEntryPoint
impl UnwindSafe for DriverEntryPoint
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