pub enum AxisScheduler {
Offset(OffsetAxisScheduler),
Naive(NaiveAxisScheduler),
}Expand description
Axis-specific scheduler that delegates to either OffsetAxisScheduler or NaiveAxisScheduler.
Variants§
Offset(OffsetAxisScheduler)
Naive(NaiveAxisScheduler)
Implementations§
Source§impl AxisScheduler
impl AxisScheduler
pub fn new_Offset(_0: OffsetAxisScheduler) -> Self
pub fn __expand_new_Offset( _: &Scope, _0: <OffsetAxisScheduler as CubeType>::ExpandType, ) -> AxisSchedulerExpand
pub fn new_Naive(_0: NaiveAxisScheduler) -> Self
pub fn __expand_new_Naive( _: &Scope, _0: <NaiveAxisScheduler as CubeType>::ExpandType, ) -> AxisSchedulerExpand
Source§impl AxisScheduler
impl AxisScheduler
pub fn map(&self, i: u32) -> u32
pub fn __expand_map( scope: &Scope, this: &<Self as CubeType>::ExpandType, i: <u32 as CubeType>::ExpandType, ) -> <u32 as CubeType>::ExpandType
Trait Implementations§
Source§impl CubeDebug for AxisScheduler
impl CubeDebug for AxisScheduler
Source§fn set_debug_name(&self, scope: &Scope, name: &'static str)
fn set_debug_name(&self, scope: &Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl CubeType for AxisScheduler
impl CubeType for AxisScheduler
Auto Trait Implementations§
impl Freeze for AxisScheduler
impl RefUnwindSafe for AxisScheduler
impl Send for AxisScheduler
impl Sync for AxisScheduler
impl Unpin for AxisScheduler
impl UnsafeUnpin for AxisScheduler
impl UnwindSafe for AxisScheduler
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more