pub struct ExportSpec {
pub name: String,
pub port_type: PortType,
pub modifier: BindingModifier,
pub classification: ExportClassification,
}Expand description
Typed export declaration: a named value the child produces, available to its own descendants.
Fields§
§name: StringName as it appears in the child’s body.
port_type: PortTypePort type the child binds.
modifier: BindingModifierModifier (final / shared / none) — the standard GK
modifier set; finalize uses the export to apply Rule 2.
classification: ExportClassificationLifecycle classification.
Implementations§
Trait Implementations§
Source§impl Clone for ExportSpec
impl Clone for ExportSpec
Auto Trait Implementations§
impl Freeze for ExportSpec
impl RefUnwindSafe for ExportSpec
impl Send for ExportSpec
impl Sync for ExportSpec
impl Unpin for ExportSpec
impl UnsafeUnpin for ExportSpec
impl UnwindSafe for ExportSpec
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