pub struct AuxBinding {
pub name: String,
pub value: Expr,
pub projection: Option<(String, PortType)>,
}Expand description
One binding emitted by sugar after cursor input wiring.
If projection is Some, the binding’s output wire is
promoted to a cursor projection — both registered on the
SourceSchema.projections list and added as a kernel output
the runtime can read.
Fields§
§name: StringThe binding’s name.
value: ExprIts expression.
projection: Option<(String, PortType)>The cursor projection it becomes, as (name, type), if any.
Auto Trait Implementations§
impl Freeze for AuxBinding
impl RefUnwindSafe for AuxBinding
impl Send for AuxBinding
impl Sync for AuxBinding
impl Unpin for AuxBinding
impl UnsafeUnpin for AuxBinding
impl UnwindSafe for AuxBinding
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> 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