pub enum PackedContent {
Expr(Box<Expr>),
Pack(ExprPack),
}Expand description
Enum generated by strutuct! for PackedContent.
Variants§
Expr(Box<Expr>)
Variant PackedContent::Expr generated by strutuct!.
Pack(ExprPack)
Variant PackedContent::Pack generated by strutuct!.
Trait Implementations§
Source§impl Debug for PackedContent
impl Debug for PackedContent
Source§impl From<AngleBarList> for PackedContent
impl From<AngleBarList> for PackedContent
Source§fn from(value: AngleBarList) -> Self
fn from(value: AngleBarList) -> Self
Converts to this type from the input type.
Source§impl From<Array> for PackedContent
impl From<Array> for PackedContent
Source§impl From<Expr> for PackedContent
impl From<Expr> for PackedContent
Source§impl From<ExprAssign> for PackedContent
impl From<ExprAssign> for PackedContent
Source§fn from(value: ExprAssign) -> Self
fn from(value: ExprAssign) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignAugmented> for PackedContent
impl From<ExprAssignAugmented> for PackedContent
Source§fn from(value: ExprAssignAugmented) -> Self
fn from(value: ExprAssignAugmented) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignEvaluated> for PackedContent
impl From<ExprAssignEvaluated> for PackedContent
Source§fn from(value: ExprAssignEvaluated) -> Self
fn from(value: ExprAssignEvaluated) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignInstall> for PackedContent
impl From<ExprAssignInstall> for PackedContent
Source§fn from(value: ExprAssignInstall) -> Self
fn from(value: ExprAssignInstall) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignInstallMethod> for PackedContent
impl From<ExprAssignInstallMethod> for PackedContent
Source§fn from(value: ExprAssignInstallMethod) -> Self
fn from(value: ExprAssignInstallMethod) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignInstallNew> for PackedContent
impl From<ExprAssignInstallNew> for PackedContent
Source§fn from(value: ExprAssignInstallNew) -> Self
fn from(value: ExprAssignInstallNew) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignInstallOp> for PackedContent
impl From<ExprAssignInstallOp> for PackedContent
Source§fn from(value: ExprAssignInstallOp) -> Self
fn from(value: ExprAssignInstallOp) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignOp> for PackedContent
impl From<ExprAssignOp> for PackedContent
Source§fn from(value: ExprAssignOp) -> Self
fn from(value: ExprAssignOp) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignParallel> for PackedContent
impl From<ExprAssignParallel> for PackedContent
Source§fn from(value: ExprAssignParallel) -> Self
fn from(value: ExprAssignParallel) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignParallelGlobal> for PackedContent
impl From<ExprAssignParallelGlobal> for PackedContent
Source§fn from(value: ExprAssignParallelGlobal) -> Self
fn from(value: ExprAssignParallelGlobal) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignParallelLocal> for PackedContent
impl From<ExprAssignParallelLocal> for PackedContent
Source§fn from(value: ExprAssignParallelLocal) -> Self
fn from(value: ExprAssignParallelLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignSimple> for PackedContent
impl From<ExprAssignSimple> for PackedContent
Source§fn from(value: ExprAssignSimple) -> Self
fn from(value: ExprAssignSimple) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignSimpleGlobal> for PackedContent
impl From<ExprAssignSimpleGlobal> for PackedContent
Source§fn from(value: ExprAssignSimpleGlobal) -> Self
fn from(value: ExprAssignSimpleGlobal) -> Self
Converts to this type from the input type.
Source§impl From<ExprAssignSimpleLocal> for PackedContent
impl From<ExprAssignSimpleLocal> for PackedContent
Source§fn from(value: ExprAssignSimpleLocal) -> Self
fn from(value: ExprAssignSimpleLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprCatch> for PackedContent
impl From<ExprCatch> for PackedContent
Source§impl From<ExprCollection> for PackedContent
impl From<ExprCollection> for PackedContent
Source§fn from(value: ExprCollection) -> Self
fn from(value: ExprCollection) -> Self
Converts to this type from the input type.
Source§impl From<ExprControl> for PackedContent
impl From<ExprControl> for PackedContent
Source§fn from(value: ExprControl) -> Self
fn from(value: ExprControl) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlBreak> for PackedContent
impl From<ExprControlBreak> for PackedContent
Source§fn from(value: ExprControlBreak) -> Self
fn from(value: ExprControlBreak) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlContinue> for PackedContent
impl From<ExprControlContinue> for PackedContent
Source§fn from(value: ExprControlContinue) -> Self
fn from(value: ExprControlContinue) -> Self
Converts to this type from the input type.
Source§impl From<ExprControlReturn> for PackedContent
impl From<ExprControlReturn> for PackedContent
Source§fn from(value: ExprControlReturn) -> Self
fn from(value: ExprControlReturn) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebug> for PackedContent
impl From<ExprDebug> for PackedContent
Source§impl From<ExprDebugBreakpoint> for PackedContent
impl From<ExprDebugBreakpoint> for PackedContent
Source§fn from(value: ExprDebugBreakpoint) -> Self
fn from(value: ExprDebugBreakpoint) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugFinish> for PackedContent
impl From<ExprDebugFinish> for PackedContent
Source§fn from(value: ExprDebugFinish) -> Self
fn from(value: ExprDebugFinish) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugShield> for PackedContent
impl From<ExprDebugShield> for PackedContent
Source§fn from(value: ExprDebugShield) -> Self
fn from(value: ExprDebugShield) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugStep> for PackedContent
impl From<ExprDebugStep> for PackedContent
Source§fn from(value: ExprDebugStep) -> Self
fn from(value: ExprDebugStep) -> Self
Converts to this type from the input type.
Source§impl From<ExprDebugTest> for PackedContent
impl From<ExprDebugTest> for PackedContent
Source§fn from(value: ExprDebugTest) -> Self
fn from(value: ExprDebugTest) -> Self
Converts to this type from the input type.
Source§impl From<ExprFor> for PackedContent
impl From<ExprFor> for PackedContent
Source§impl From<ExprForBare> for PackedContent
impl From<ExprForBare> for PackedContent
Source§fn from(value: ExprForBare) -> Self
fn from(value: ExprForBare) -> Self
Converts to this type from the input type.
Source§impl From<ExprForIn> for PackedContent
impl From<ExprForIn> for PackedContent
Source§impl From<ExprForRange> for PackedContent
impl From<ExprForRange> for PackedContent
Source§fn from(value: ExprForRange) -> Self
fn from(value: ExprForRange) -> Self
Converts to this type from the input type.
Source§impl From<ExprIf> for PackedContent
impl From<ExprIf> for PackedContent
Source§impl From<ExprLambda> for PackedContent
impl From<ExprLambda> for PackedContent
Source§fn from(value: ExprLambda) -> Self
fn from(value: ExprLambda) -> Self
Converts to this type from the input type.
Source§impl From<ExprLambdaList> for PackedContent
impl From<ExprLambdaList> for PackedContent
Source§fn from(value: ExprLambdaList) -> Self
fn from(value: ExprLambdaList) -> Self
Converts to this type from the input type.
Source§impl From<ExprLambdaVariadic> for PackedContent
impl From<ExprLambdaVariadic> for PackedContent
Source§fn from(value: ExprLambdaVariadic) -> Self
fn from(value: ExprLambdaVariadic) -> Self
Converts to this type from the input type.
Source§impl From<ExprLiteral> for PackedContent
impl From<ExprLiteral> for PackedContent
Source§fn from(value: ExprLiteral) -> Self
fn from(value: ExprLiteral) -> Self
Converts to this type from the input type.
Source§impl From<ExprNew> for PackedContent
impl From<ExprNew> for PackedContent
Source§impl From<ExprOp> for PackedContent
impl From<ExprOp> for PackedContent
Source§impl From<ExprOpBin> for PackedContent
impl From<ExprOpBin> for PackedContent
Source§impl From<ExprOpBinAdj> for PackedContent
impl From<ExprOpBinAdj> for PackedContent
Source§fn from(value: ExprOpBinAdj) -> Self
fn from(value: ExprOpBinAdj) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinIndex> for PackedContent
impl From<ExprOpBinIndex> for PackedContent
Source§fn from(value: ExprOpBinIndex) -> Self
fn from(value: ExprOpBinIndex) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMember> for PackedContent
impl From<ExprOpBinMember> for PackedContent
Source§fn from(value: ExprOpBinMember) -> Self
fn from(value: ExprOpBinMember) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMemberDot> for PackedContent
impl From<ExprOpBinMemberDot> for PackedContent
Source§fn from(value: ExprOpBinMemberDot) -> Self
fn from(value: ExprOpBinMemberDot) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinMemberOptional> for PackedContent
impl From<ExprOpBinMemberOptional> for PackedContent
Source§fn from(value: ExprOpBinMemberOptional) -> Self
fn from(value: ExprOpBinMemberOptional) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpBinRegular> for PackedContent
impl From<ExprOpBinRegular> for PackedContent
Source§fn from(value: ExprOpBinRegular) -> Self
fn from(value: ExprOpBinRegular) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPostfix> for PackedContent
impl From<ExprOpPostfix> for PackedContent
Source§fn from(value: ExprOpPostfix) -> Self
fn from(value: ExprOpPostfix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOpPrefix> for PackedContent
impl From<ExprOpPrefix> for PackedContent
Source§fn from(value: ExprOpPrefix) -> Self
fn from(value: ExprOpPrefix) -> Self
Converts to this type from the input type.
Source§impl From<ExprOption> for PackedContent
impl From<ExprOption> for PackedContent
Source§fn from(value: ExprOption) -> Self
fn from(value: ExprOption) -> Self
Converts to this type from the input type.
Source§impl From<ExprPack> for PackedContent
impl From<ExprPack> for PackedContent
Source§impl From<ExprProfile> for PackedContent
impl From<ExprProfile> for PackedContent
Source§fn from(value: ExprProfile) -> Self
fn from(value: ExprProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileElapsedTime> for PackedContent
impl From<ExprProfileElapsedTime> for PackedContent
Source§fn from(value: ExprProfileElapsedTime) -> Self
fn from(value: ExprProfileElapsedTime) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileElapsedTiming> for PackedContent
impl From<ExprProfileElapsedTiming> for PackedContent
Source§fn from(value: ExprProfileElapsedTiming) -> Self
fn from(value: ExprProfileElapsedTiming) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileProfile> for PackedContent
impl From<ExprProfileProfile> for PackedContent
Source§fn from(value: ExprProfileProfile) -> Self
fn from(value: ExprProfileProfile) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileTime> for PackedContent
impl From<ExprProfileTime> for PackedContent
Source§fn from(value: ExprProfileTime) -> Self
fn from(value: ExprProfileTime) -> Self
Converts to this type from the input type.
Source§impl From<ExprProfileTiming> for PackedContent
impl From<ExprProfileTiming> for PackedContent
Source§fn from(value: ExprProfileTiming) -> Self
fn from(value: ExprProfileTiming) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuote> for PackedContent
impl From<ExprQuote> for PackedContent
Source§impl From<ExprQuoteGlobal> for PackedContent
impl From<ExprQuoteGlobal> for PackedContent
Source§fn from(value: ExprQuoteGlobal) -> Self
fn from(value: ExprQuoteGlobal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteLocal> for PackedContent
impl From<ExprQuoteLocal> for PackedContent
Source§fn from(value: ExprQuoteLocal) -> Self
fn from(value: ExprQuoteLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteSymbol> for PackedContent
impl From<ExprQuoteSymbol> for PackedContent
Source§fn from(value: ExprQuoteSymbol) -> Self
fn from(value: ExprQuoteSymbol) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteThreadLocal> for PackedContent
impl From<ExprQuoteThreadLocal> for PackedContent
Source§fn from(value: ExprQuoteThreadLocal) -> Self
fn from(value: ExprQuoteThreadLocal) -> Self
Converts to this type from the input type.
Source§impl From<ExprQuoteThreadVariable> for PackedContent
impl From<ExprQuoteThreadVariable> for PackedContent
Source§fn from(value: ExprQuoteThreadVariable) -> Self
fn from(value: ExprQuoteThreadVariable) -> Self
Converts to this type from the input type.
Source§impl From<ExprThrow> for PackedContent
impl From<ExprThrow> for PackedContent
Source§impl From<ExprTrap> for PackedContent
impl From<ExprTrap> for PackedContent
Source§impl From<ExprTry> for PackedContent
impl From<ExprTry> for PackedContent
Source§impl From<ExprWhile> for PackedContent
impl From<ExprWhile> for PackedContent
Source§impl From<FloatLiteral> for PackedContent
impl From<FloatLiteral> for PackedContent
Source§fn from(value: FloatLiteral) -> Self
fn from(value: FloatLiteral) -> Self
Converts to this type from the input type.
Source§impl From<Holder> for PackedContent
impl From<Holder> for PackedContent
Source§impl From<IntegerLiteral> for PackedContent
impl From<IntegerLiteral> for PackedContent
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<List> for PackedContent
impl From<List> for PackedContent
Source§impl From<RawStringLiteral> for PackedContent
impl From<RawStringLiteral> for PackedContent
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<Sequence> for PackedContent
impl From<Sequence> for PackedContent
Source§impl From<StringLiteral> for PackedContent
impl From<StringLiteral> for PackedContent
Source§fn from(value: StringLiteral) -> Self
fn from(value: StringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<Symbol> for PackedContent
impl From<Symbol> for PackedContent
Source§impl Lex for PackedContent
impl Lex for PackedContent
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl<N> Migrate<N> for PackedContentwhere
N: ExternalCstNode,
impl<N> Migrate<N> for PackedContentwhere
N: ExternalCstNode,
Source§impl PrettyTree for PackedContent
impl PrettyTree for PackedContent
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for PackedContent
impl RefUnwindSafe for PackedContent
impl Send for PackedContent
impl Sync for PackedContent
impl Unpin for PackedContent
impl UnsafeUnpin for PackedContent
impl UnwindSafe for PackedContent
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