#[non_exhaustive]#[repr(u32)]pub enum scheduler_t {
DISCRETE_SCHEDULER = 0,
KARRAS_SCHEDULER = 1,
EXPONENTIAL_SCHEDULER = 2,
AYS_SCHEDULER = 3,
GITS_SCHEDULER = 4,
SGM_UNIFORM_SCHEDULER = 5,
SIMPLE_SCHEDULER = 6,
SMOOTHSTEP_SCHEDULER = 7,
KL_OPTIMAL_SCHEDULER = 8,
LCM_SCHEDULER = 9,
SCHEDULER_COUNT = 10,
}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.
DISCRETE_SCHEDULER = 0
KARRAS_SCHEDULER = 1
EXPONENTIAL_SCHEDULER = 2
AYS_SCHEDULER = 3
GITS_SCHEDULER = 4
SGM_UNIFORM_SCHEDULER = 5
SIMPLE_SCHEDULER = 6
SMOOTHSTEP_SCHEDULER = 7
KL_OPTIMAL_SCHEDULER = 8
LCM_SCHEDULER = 9
SCHEDULER_COUNT = 10
Trait Implementations§
Source§impl Clone for scheduler_t
impl Clone for scheduler_t
Source§fn clone(&self) -> scheduler_t
fn clone(&self) -> scheduler_t
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 scheduler_t
impl Debug for scheduler_t
Source§impl Hash for scheduler_t
impl Hash for scheduler_t
Source§impl PartialEq for scheduler_t
impl PartialEq for scheduler_t
impl Copy for scheduler_t
impl Eq for scheduler_t
impl StructuralPartialEq for scheduler_t
Auto Trait Implementations§
impl Freeze for scheduler_t
impl RefUnwindSafe for scheduler_t
impl Send for scheduler_t
impl Sync for scheduler_t
impl Unpin for scheduler_t
impl UnwindSafe for scheduler_t
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