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
impl Copy for DTypeConstraints
Source§impl Debug for DTypeConstraints
impl Debug for DTypeConstraints
Source§impl Default for DTypeConstraints
impl Default for DTypeConstraints
impl Eq for DTypeConstraints
Source§impl Hash for DTypeConstraints
impl Hash for DTypeConstraints
Source§impl PartialEq for DTypeConstraints
impl PartialEq for DTypeConstraints
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