pub enum SyncDirection {
Rust,
Runtime,
}Variantsยง
Rust
Synchronize tensor data from the device/runtime so that it is accessible to Rust code.
Runtime
Synchronize tensor data from Rust code so that it is accessible to the runtime.
Trait Implementationsยง
Sourceยงimpl Clone for SyncDirection
impl Clone for SyncDirection
Sourceยงfn clone(&self) -> SyncDirection
fn clone(&self) -> SyncDirection
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 SyncDirection
impl Debug for SyncDirection
Sourceยงimpl PartialEq for SyncDirection
impl PartialEq for SyncDirection
impl Copy for SyncDirection
impl Eq for SyncDirection
impl StructuralPartialEq for SyncDirection
Auto Trait Implementationsยง
impl Freeze for SyncDirection
impl RefUnwindSafe for SyncDirection
impl Send for SyncDirection
impl Sync for SyncDirection
impl Unpin for SyncDirection
impl UnwindSafe for SyncDirection
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