pub struct DevicePlan { /* private fields */ }Expand description
Backend and device selected for one complete model session.
Implementations§
Source§impl DevicePlan
impl DevicePlan
Trait Implementations§
Source§impl Clone for DevicePlan
impl Clone for DevicePlan
Source§fn clone(&self) -> DevicePlan
fn clone(&self) -> DevicePlan
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 DevicePlan
impl Debug for DevicePlan
Source§impl<'de> Deserialize<'de> for DevicePlan
impl<'de> Deserialize<'de> for DevicePlan
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DevicePlan
Source§impl PartialEq for DevicePlan
impl PartialEq for DevicePlan
Source§impl Serialize for DevicePlan
impl Serialize for DevicePlan
impl StructuralPartialEq for DevicePlan
Auto Trait Implementations§
impl Freeze for DevicePlan
impl RefUnwindSafe for DevicePlan
impl Send for DevicePlan
impl Sync for DevicePlan
impl Unpin for DevicePlan
impl UnsafeUnpin for DevicePlan
impl UnwindSafe for DevicePlan
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