pub enum FastDivmodExpand<I: FastDivmodInt> {
Fast {
divisor: <I as CubeType>::ExpandType,
multiplier: <I as CubeType>::ExpandType,
shift_right: <u32 as CubeType>::ExpandType,
},
Fallback {
divisor: <I as CubeType>::ExpandType,
},
}Variants§
Fast
Fields
§
divisor: <I as CubeType>::ExpandType§
multiplier: <I as CubeType>::ExpandType§
shift_right: <u32 as CubeType>::ExpandTypeFallback
Fields
§
divisor: <I as CubeType>::ExpandTypeImplementations§
Source§impl<I: FastDivmodInt> FastDivmodExpand<I>
impl<I: FastDivmodInt> FastDivmodExpand<I>
pub fn __expand_div_method( self, scope: &mut Scope, dividend: <I as CubeType>::ExpandType, ) -> <I as CubeType>::ExpandType
pub fn __expand_modulo_method( self, scope: &mut Scope, dividend: <I as CubeType>::ExpandType, ) -> <I as CubeType>::ExpandType
pub fn __expand_div_mod_method( self, scope: &mut Scope, dividend: <I as CubeType>::ExpandType, ) -> <(I, I) as CubeType>::ExpandType
pub fn __expand_div( scope: &mut Scope, this: Self, dividend: <I as CubeType>::ExpandType, ) -> <I as CubeType>::ExpandType
pub fn __expand_modulo( scope: &mut Scope, this: Self, dividend: <I as CubeType>::ExpandType, ) -> <I as CubeType>::ExpandType
pub fn __expand_div_mod( scope: &mut Scope, this: Self, dividend: <I as CubeType>::ExpandType, ) -> <(I, I) as CubeType>::ExpandType
Trait Implementations§
Source§impl<I: FastDivmodInt> Clone for FastDivmodExpand<I>
impl<I: FastDivmodInt> Clone for FastDivmodExpand<I>
Source§impl<I: FastDivmodInt> CubeDebug for FastDivmodExpand<I>
impl<I: FastDivmodInt> CubeDebug for FastDivmodExpand<I>
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut 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<I: FastDivmodInt> IntoMut for FastDivmodExpand<I>
impl<I: FastDivmodInt> IntoMut for FastDivmodExpand<I>
Auto Trait Implementations§
impl<I> Freeze for FastDivmodExpand<I>
impl<I> RefUnwindSafe for FastDivmodExpand<I>where
I: RefUnwindSafe,
impl<I> !Send for FastDivmodExpand<I>
impl<I> !Sync for FastDivmodExpand<I>
impl<I> Unpin for FastDivmodExpand<I>where
I: Unpin,
impl<I> UnwindSafe for FastDivmodExpand<I>where
I: UnwindSafe,
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