pub struct MissingPrimitives {
pub backend_domain: &'static str,
pub backend_version: i64,
pub missing: Vec<&'static str>,
}Expand description
Result of opset_covers_primitives when a backend’s
declared opset is missing one or more entries from the floor.
Fields§
§backend_domain: &'static strThe backend’s atomic_opset().domain.
backend_version: i64The backend’s atomic_opset().version.
missing: Vec<&'static str>Primitive op names absent from the backend’s opset.
Reported in TENSOR_PRIMITIVES_OPS declaration order.
Trait Implementations§
Source§impl Clone for MissingPrimitives
impl Clone for MissingPrimitives
Source§fn clone(&self) -> MissingPrimitives
fn clone(&self) -> MissingPrimitives
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 MissingPrimitives
impl Debug for MissingPrimitives
Source§impl Display for MissingPrimitives
impl Display for MissingPrimitives
impl Eq for MissingPrimitives
Source§impl Error for MissingPrimitives
impl Error for MissingPrimitives
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for MissingPrimitives
impl PartialEq for MissingPrimitives
Source§fn eq(&self, other: &MissingPrimitives) -> bool
fn eq(&self, other: &MissingPrimitives) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MissingPrimitives
Auto Trait Implementations§
impl Freeze for MissingPrimitives
impl RefUnwindSafe for MissingPrimitives
impl Send for MissingPrimitives
impl Sync for MissingPrimitives
impl Unpin for MissingPrimitives
impl UnsafeUnpin for MissingPrimitives
impl UnwindSafe for MissingPrimitives
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