pub enum Resolved {
Primitive(ResolvedPrimitive),
Fused(ResolvedFused),
}Expand description
The result of lowering one kernel section: a primitive xor a fused
record (exactly one of op_kind / fused_op).
Variants§
Primitive(ResolvedPrimitive)
An op_kind contract → the binding table.
Fused(ResolvedFused)
A fused_op contract → the fused registry.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Resolved
impl Freeze for Resolvedwhere
*const DType is !null: Freeze,
PhantomData<DType>: Freeze,
*const u8 is !null: Freeze,
PhantomData<ResolvedLayout>: Freeze,
&'static str: Freeze,
PhantomData<u8>: Freeze,
*const CostNode is !null: Freeze,
PhantomData<CostNode>: Freeze,
PhantomData<String>: Freeze,
impl Move for Resolved
impl RefUnwindSafe for Resolvedwhere
DType: RefUnwindSafe,
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolvedwhere
*const DType is !null: UnsafeUnpin,
PhantomData<DType>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<ResolvedLayout>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CostNode is !null: UnsafeUnpin,
PhantomData<CostNode>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Resolvedwhere
NonNull<DType>: UnwindSafe,
DType: UnwindSafe,
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
BoxRaw<CostNode>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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