#[non_exhaustive]pub enum ParameterTransformConstraint {
None,
Linear {
packed_axis: usize,
},
}Expand description
Architecture declaration of whether and how a parameter may be transformed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
This parameter is not an executable affine projection weight.
Linear
The declared axis is the input/packing axis of a linear parameter.
Trait Implementations§
Source§impl Clone for ParameterTransformConstraint
impl Clone for ParameterTransformConstraint
Source§fn clone(&self) -> ParameterTransformConstraint
fn clone(&self) -> ParameterTransformConstraint
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 ParameterTransformConstraint
Source§impl Debug for ParameterTransformConstraint
impl Debug for ParameterTransformConstraint
impl Eq for ParameterTransformConstraint
impl StructuralPartialEq for ParameterTransformConstraint
Auto Trait Implementations§
impl Freeze for ParameterTransformConstraint
impl RefUnwindSafe for ParameterTransformConstraint
impl Send for ParameterTransformConstraint
impl Sync for ParameterTransformConstraint
impl Unpin for ParameterTransformConstraint
impl UnsafeUnpin for ParameterTransformConstraint
impl UnwindSafe for ParameterTransformConstraint
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