#[non_exhaustive]pub struct OneApiHost {
pub version: OneApiVersion,
}Expand description
The host’s Intel oneAPI installation.
The Intel counterpart of RocmHost, and equally narrow: a userspace
install, with no driver version behind it. See oneapi_host.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: OneApiVersionInstalled oneAPI toolkit release.
Trait Implementations§
Source§impl Clone for OneApiHost
impl Clone for OneApiHost
Source§fn clone(&self) -> OneApiHost
fn clone(&self) -> OneApiHost
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 moreimpl Copy for OneApiHost
Source§impl Debug for OneApiHost
impl Debug for OneApiHost
impl Eq for OneApiHost
Source§impl PartialEq for OneApiHost
impl PartialEq for OneApiHost
impl StructuralPartialEq for OneApiHost
Auto Trait Implementations§
impl Freeze for OneApiHost
impl RefUnwindSafe for OneApiHost
impl Send for OneApiHost
impl Sync for OneApiHost
impl Unpin for OneApiHost
impl UnsafeUnpin for OneApiHost
impl UnwindSafe for OneApiHost
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