pub enum ProcessorPriority {
High = 3,
Normal = 2,
Low = 1,
}Expand description
Priority levels for logits processors
Variants§
High = 3
Applied first (e.g., hard constraints, token masking)
Normal = 2
Normal processing order
Low = 1
Applied later (e.g., temperature scaling)
Trait Implementations§
Source§impl Clone for ProcessorPriority
impl Clone for ProcessorPriority
Source§fn clone(&self) -> ProcessorPriority
fn clone(&self) -> ProcessorPriority
Returns a duplicate 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 ProcessorPriority
impl Debug for ProcessorPriority
Source§impl Ord for ProcessorPriority
impl Ord for ProcessorPriority
Source§fn cmp(&self, other: &ProcessorPriority) -> Ordering
fn cmp(&self, other: &ProcessorPriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProcessorPriority
impl PartialEq for ProcessorPriority
Source§impl PartialOrd for ProcessorPriority
impl PartialOrd for ProcessorPriority
impl Copy for ProcessorPriority
impl Eq for ProcessorPriority
impl StructuralPartialEq for ProcessorPriority
Auto Trait Implementations§
impl Freeze for ProcessorPriority
impl RefUnwindSafe for ProcessorPriority
impl Send for ProcessorPriority
impl Sync for ProcessorPriority
impl Unpin for ProcessorPriority
impl UnsafeUnpin for ProcessorPriority
impl UnwindSafe for ProcessorPriority
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