pub struct DTypeConstraints(/* private fields */);Implementations§
Source§impl DTypeConstraints
impl DTypeConstraints
Sourcepub const PARAMETER_ONLY: Self
pub const PARAMETER_ONLY: Self
This dtype is accepted only when a constant is consumed as a compile-time operator parameter and does not become a graph-visible provider tensor.
Trait Implementations§
Source§impl Clone for DTypeConstraints
impl Clone for DTypeConstraints
Source§fn clone(&self) -> DTypeConstraints
fn clone(&self) -> DTypeConstraints
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 moreimpl Copy for DTypeConstraints
Source§impl Debug for DTypeConstraints
impl Debug for DTypeConstraints
Source§impl Default for DTypeConstraints
impl Default for DTypeConstraints
Source§fn default() -> DTypeConstraints
fn default() -> DTypeConstraints
Returns the “default value” for a type. Read more
impl Eq for DTypeConstraints
Source§impl Hash for DTypeConstraints
impl Hash for DTypeConstraints
Source§impl PartialEq for DTypeConstraints
impl PartialEq for DTypeConstraints
Source§fn eq(&self, other: &DTypeConstraints) -> bool
fn eq(&self, other: &DTypeConstraints) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DTypeConstraints
Auto Trait Implementations§
impl Freeze for DTypeConstraints
impl RefUnwindSafe for DTypeConstraints
impl Send for DTypeConstraints
impl Sync for DTypeConstraints
impl Unpin for DTypeConstraints
impl UnsafeUnpin for DTypeConstraints
impl UnwindSafe for DTypeConstraints
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