pub struct Runtime { /* private fields */ }Expand description
Synchronous implementation of crate::Runtime.
Refer to crate::Runtime for documentation.
Implementations§
source§impl Runtime
impl Runtime
pub fn new() -> Self
pub fn deserialize_engine_from_plan( self, plan: &HostBuffer ) -> Result<Engine, Error>
pub fn deserialize_engine(self, buffer: &[u8]) -> Result<Engine, Error>
pub fn as_ptr(&self) -> *const c_void
pub fn as_mut_ptr(&mut self) -> *mut c_void
pub fn device(&self) -> DeviceId
Trait Implementations§
impl Send for Runtime
impl Sync for Runtime
Auto Trait Implementations§
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