#[non_exhaustive]#[repr(i32)]pub enum ggml_sched_priority {
GGML_SCHED_PRIO_LOW = -1,
GGML_SCHED_PRIO_NORMAL = 0,
GGML_SCHED_PRIO_MEDIUM = 1,
GGML_SCHED_PRIO_HIGH = 2,
GGML_SCHED_PRIO_REALTIME = 3,
}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.
GGML_SCHED_PRIO_LOW = -1
GGML_SCHED_PRIO_NORMAL = 0
GGML_SCHED_PRIO_MEDIUM = 1
GGML_SCHED_PRIO_HIGH = 2
GGML_SCHED_PRIO_REALTIME = 3
Trait Implementations§
Source§impl Clone for ggml_sched_priority
impl Clone for ggml_sched_priority
Source§fn clone(&self) -> ggml_sched_priority
fn clone(&self) -> ggml_sched_priority
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 ggml_sched_priority
impl Debug for ggml_sched_priority
Source§impl Hash for ggml_sched_priority
impl Hash for ggml_sched_priority
Source§impl PartialEq for ggml_sched_priority
impl PartialEq for ggml_sched_priority
impl Copy for ggml_sched_priority
impl Eq for ggml_sched_priority
impl StructuralPartialEq for ggml_sched_priority
Auto Trait Implementations§
impl Freeze for ggml_sched_priority
impl RefUnwindSafe for ggml_sched_priority
impl Send for ggml_sched_priority
impl Sync for ggml_sched_priority
impl Unpin for ggml_sched_priority
impl UnwindSafe for ggml_sched_priority
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