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§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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