Enum juice::weight::DimCheckMode
source · pub enum DimCheckMode {
Strict,
Permissive,
}
Expand description
Enum for specifing the shared weights behaviour
Variants§
Strict
Strict requires that shapes match.
Permissive
Permissive requires only the count of weights to match.
Trait Implementations§
source§impl Clone for DimCheckMode
impl Clone for DimCheckMode
source§fn clone(&self) -> DimCheckMode
fn clone(&self) -> DimCheckMode
Returns a copy 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 DimCheckMode
impl Debug for DimCheckMode
impl Copy for DimCheckMode
Auto Trait Implementations§
impl RefUnwindSafe for DimCheckMode
impl Send for DimCheckMode
impl Sync for DimCheckMode
impl Unpin for DimCheckMode
impl UnwindSafe for DimCheckMode
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