From ac5e5c012282f61a2e11d27ea6cec130568a8297 Mon Sep 17 00:00:00 2001 From: sosthene-nitrokey Date: Fri, 24 Jan 2025 08:59:28 +0000 Subject: [PATCH] deploy: ded01cb9be2e20a0f29e0cf3263c7b9fca482468 --- delog/all.html | 2 +- delog/enum.Level.html | 68 +- delog/enum.LevelFilter.html | 68 +- delog/fn.dequeue.html | 2 +- delog/fn.enqueue.html | 2 +- delog/fn.logger.html | 2 +- delog/fn.try_enqueue.html | 4 +- delog/hex/fn.HexStr.html | 4 +- delog/hex/index.html | 2 +- delog/hex/struct.HexStr.html | 74 +- delog/hex/struct.U1.html | 22 +- delog/hex/trait.Separator.html | 8 +- delog/hex/trait.Unsigned.html | 8 +- delog/index.html | 2 +- delog/macro.delog.html | 12 +- delog/macro.generate_macros.html | 4 +- delog/macro.hex_str.html | 12 +- delog/macro.hexstr.html | 6 +- delog/render/fn.default.html | 2 +- delog/render/fn.render_arguments.html | 2 +- delog/render/fn.render_record.html | 2 +- delog/render/index.html | 2 +- delog/render/struct.DefaultRenderer.html | 26 +- delog/render/struct.RipgrepRenderer.html | 26 +- delog/struct.Record.html | 44 +- delog/struct.Statistics.html | 44 +- delog/trait.Delogger.html | 24 +- delog/trait.Flusher.html | 6 +- delog/trait.Renderer.html | 8 +- delog/trait.State.html | 12 +- delog/trait.TryLog.html | 6 +- delog/trait.TryLogWithStatistics.html | 4 +- flexiber/all.html | 2 +- flexiber/derive.Decodable.html | 2 +- flexiber/derive.Encodable.html | 2 +- flexiber/enum.Class.html | 26 +- flexiber/enum.ErrorKind.html | 40 +- flexiber/index.html | 2 +- flexiber/struct.Decoder.html | 40 +- flexiber/struct.Encoder.html | 40 +- flexiber/struct.Error.html | 34 +- flexiber/struct.Length.html | 48 +- flexiber/struct.SimpleTag.html | 30 +- flexiber/struct.Slice.html | 34 +- flexiber/struct.Tag.html | 34 +- flexiber/struct.TaggedValue.html | 72 +- flexiber/trait.Container.html | 10 +- flexiber/trait.Decodable.html | 16 +- flexiber/trait.Encodable.html | 90 +- flexiber/trait.TagLike.html | 16 +- flexiber/trait.Tagged.html | 6 +- flexiber/type.Result.html | 4 +- flexiber/type.TaggedSlice.html | 24 +- flexiber_derive/all.html | 2 +- flexiber_derive/derive.Decodable.html | 2 +- flexiber_derive/derive.Encodable.html | 2 +- flexiber_derive/index.html | 2 +- help.html | 2 +- log/all.html | 2 +- log/constant.STATIC_MAX_LEVEL.html | 2 +- log/enum.Level.html | 66 +- log/enum.LevelFilter.html | 66 +- log/fn.logger.html | 2 +- log/fn.max_level.html | 2 +- log/fn.set_logger.html | 2 +- log/fn.set_logger_racy.html | 4 +- log/fn.set_max_level.html | 2 +- log/fn.set_max_level_racy.html | 2 +- log/index.html | 5 +- log/macro.debug.html | 8 +- log/macro.error.html | 8 +- log/macro.info.html | 8 +- log/macro.log.html | 10 +- log/macro.log_enabled.html | 8 +- log/macro.trace.html | 8 +- log/macro.warn.html | 8 +- log/struct.Metadata.html | 48 +- log/struct.MetadataBuilder.html | 48 +- log/struct.ParseLevelError.html | 24 +- log/struct.Record.html | 44 +- log/struct.RecordBuilder.html | 48 +- log/struct.SetLoggerError.html | 22 +- log/trait.Log.html | 14 +- proc_macro2/all.html | 2 +- proc_macro2/enum.Delimiter.html | 28 +- proc_macro2/enum.Spacing.html | 28 +- proc_macro2/enum.TokenTree.html | 38 +- proc_macro2/extra/index.html | 2 +- proc_macro2/extra/struct.DelimSpan.html | 32 +- proc_macro2/index.html | 2 +- proc_macro2/struct.Group.html | 46 +- proc_macro2/struct.Ident.html | 60 +- proc_macro2/struct.LexError.html | 24 +- proc_macro2/struct.Literal.html | 100 +- proc_macro2/struct.Punct.html | 40 +- proc_macro2/struct.Span.html | 42 +- proc_macro2/struct.TokenStream.html | 42 +- proc_macro2/token_stream/index.html | 2 +- proc_macro2/token_stream/struct.IntoIter.html | 376 +++---- quote/all.html | 2 +- quote/index.html | 2 +- quote/macro.format_ident.html | 20 +- quote/macro.quote.html | 8 +- quote/macro.quote_spanned.html | 6 +- quote/trait.IdentFragment.html | 14 +- quote/trait.ToTokens.html | 14 +- quote/trait.TokenStreamExt.html | 56 +- search-index.js | 4 +- settings.html | 2 +- src/delog/hex.rs.html | 2 +- src/delog/lib.rs.html | 2 +- src/delog/logger.rs.html | 2 +- src/delog/macros.rs.html | 2 +- src/delog/render.rs.html | 2 +- src/flexiber/decoder.rs.html | 2 +- src/flexiber/encoder.rs.html | 2 +- src/flexiber/error.rs.html | 2 +- src/flexiber/header.rs.html | 2 +- src/flexiber/length.rs.html | 2 +- src/flexiber/lib.rs.html | 2 +- src/flexiber/simpletag.rs.html | 2 +- src/flexiber/slice.rs.html | 2 +- src/flexiber/tag.rs.html | 2 +- src/flexiber/tagged.rs.html | 2 +- src/flexiber/traits.rs.html | 2 +- src/flexiber_derive/decodable.rs.html | 2 +- src/flexiber_derive/encodable.rs.html | 2 +- src/flexiber_derive/lib.rs.html | 2 +- src/log/__private_api.rs.html | 2 +- src/log/lib.rs.html | 18 +- src/log/macros.rs.html | 2 +- src/proc_macro2/detection.rs.html | 2 +- src/proc_macro2/extra.rs.html | 2 +- src/proc_macro2/fallback.rs.html | 52 +- src/proc_macro2/lib.rs.html | 4 +- src/proc_macro2/marker.rs.html | 2 +- src/proc_macro2/parse.rs.html | 2 +- src/proc_macro2/rcvec.rs.html | 14 +- src/proc_macro2/wrapper.rs.html | 2 +- src/quote/ext.rs.html | 2 +- src/quote/format.rs.html | 2 +- src/quote/ident_fragment.rs.html | 2 +- src/quote/lib.rs.html | 8 +- src/quote/runtime.rs.html | 24 +- src/quote/spanned.rs.html | 2 +- src/quote/to_tokens.rs.html | 6 +- src/syn/attr.rs.html | 2 +- src/syn/bigint.rs.html | 2 +- src/syn/buffer.rs.html | 2 +- src/syn/classify.rs.html | 180 +--- src/syn/custom_keyword.rs.html | 2 +- src/syn/custom_punctuation.rs.html | 2 +- src/syn/data.rs.html | 2 +- src/syn/derive.rs.html | 2 +- src/syn/discouraged.rs.html | 2 +- src/syn/drops.rs.html | 2 +- src/syn/error.rs.html | 2 +- src/syn/export.rs.html | 2 +- src/syn/expr.rs.html | 360 +++++-- src/syn/ext.rs.html | 2 +- src/syn/fixup.rs.html | 996 ++++++++++++++++-- src/syn/gen/clone.rs.html | 2 +- src/syn/gen/debug.rs.html | 2 +- src/syn/gen/eq.rs.html | 2 +- src/syn/gen/hash.rs.html | 2 +- src/syn/gen/visit.rs.html | 2 +- src/syn/generics.rs.html | 2 +- src/syn/group.rs.html | 2 +- src/syn/ident.rs.html | 2 +- src/syn/lib.rs.html | 8 +- src/syn/lifetime.rs.html | 2 +- src/syn/lit.rs.html | 2 +- src/syn/lookahead.rs.html | 2 +- src/syn/mac.rs.html | 2 +- src/syn/macros.rs.html | 2 +- src/syn/meta.rs.html | 2 +- src/syn/op.rs.html | 2 +- src/syn/parse.rs.html | 2 +- src/syn/parse_macro_input.rs.html | 2 +- src/syn/parse_quote.rs.html | 42 +- src/syn/path.rs.html | 12 +- src/syn/precedence.rs.html | 2 +- src/syn/print.rs.html | 2 +- src/syn/punctuated.rs.html | 2 +- src/syn/restriction.rs.html | 2 +- src/syn/scan_expr.rs.html | 2 +- src/syn/sealed.rs.html | 2 +- src/syn/span.rs.html | 2 +- src/syn/spanned.rs.html | 2 +- src/syn/thread.rs.html | 2 +- src/syn/token.rs.html | 2 +- src/syn/tt.rs.html | 2 +- src/syn/ty.rs.html | 2 +- src/syn/verbatim.rs.html | 2 +- src/synstructure/lib.rs.html | 2 +- src/synstructure/macros.rs.html | 2 +- src/unicode_ident/lib.rs.html | 14 +- src/unicode_ident/tables.rs.html | 2 +- ...de6c69aea69.txt => COPYRIGHT-eb44e4cf.txt} | 0 ...2d97.txt => FiraSans-LICENSE-05ab6dbd.txt} | 0 ...8.woff2 => FiraSans-Medium-e1aa3f0a.woff2} | Bin ....woff2 => FiraSans-Regular-0fe48ade.woff2} | Bin ...47b86a.txt => LICENSE-APACHE-a60eea81.txt} | 0 ...22b3f6c56.txt => LICENSE-MIT-23f18e03.txt} | 0 ...f2 => NanumBarunGothic-13b3dcba.ttf.woff2} | Bin ... => NanumBarunGothic-LICENSE-a37d393b.txt} | 0 ...f2 => SourceCodePro-It-fc8b9304.ttf.woff2} | Bin ...txt => SourceCodePro-LICENSE-67f54ca7.txt} | 0 ... SourceCodePro-Regular-8badfe75.ttf.woff2} | Bin ...SourceCodePro-Semibold-aa29a496.ttf.woff2} | Bin ...2 => SourceSerif4-Bold-6d4fd4c0.ttf.woff2} | Bin ...ff2 => SourceSerif4-It-ca3b17ed.ttf.woff2} | Bin ...b7.md => SourceSerif4-LICENSE-a2cfd9d5.md} | 0 ...> SourceSerif4-Regular-6b053e98.ttf.woff2} | Bin ...20d218678b618.svg => favicon-044be391.svg} | 0 ...2889060.png => favicon-32x32-6580c154.png} | Bin ...n-f070b9041d14864c.js => main-5f194d8c.js} | 0 ...96aa4d2e634.css => normalize-9960930a.css} | 0 ...fcff984fae8f.css => noscript-893ab5e7.css} | 0 ...9464ae7ed46.svg => rust-logo-9a9549ea.svg} | 0 ...42ba02757f159.css => rustdoc-42caa33d.css} | 6 +- ...763a438.js => scrape-examples-d508a8a9.js} | 0 static.files/search-92e6798f.js | 6 + static.files/search-f0d225181b97f9a4.js | 6 - ...5db61a62df4bd2.js => settings-0f613d39.js} | 0 ...777a5a92e9b2.js => src-script-56102188.js} | 0 ...d39b6787ed640ff.js => storage-59e33391.js} | 0 syn/all.html | 2 +- syn/buffer/index.html | 2 +- syn/buffer/struct.Cursor.html | 58 +- syn/buffer/struct.TokenBuffer.html | 28 +- syn/enum.AttrStyle.html | 34 +- syn/enum.BinOp.html | 40 +- syn/enum.Data.html | 34 +- syn/enum.Expr.html | 44 +- syn/enum.FieldMutability.html | 34 +- syn/enum.Fields.html | 52 +- syn/enum.GenericArgument.html | 40 +- syn/enum.GenericParam.html | 40 +- syn/enum.Lit.html | 42 +- syn/enum.MacroDelimiter.html | 34 +- syn/enum.Member.html | 38 +- syn/enum.Meta.html | 48 +- syn/enum.PathArguments.html | 40 +- syn/enum.ReturnType.html | 44 +- syn/enum.TraitBoundModifier.html | 40 +- syn/enum.Type.html | 42 +- syn/enum.TypeParamBound.html | 40 +- syn/enum.UnOp.html | 40 +- syn/enum.Visibility.html | 40 +- syn/enum.WherePredicate.html | 40 +- syn/ext/index.html | 2 +- syn/ext/trait.IdentExt.html | 10 +- syn/fn.parse.html | 2 +- syn/fn.parse2.html | 2 +- syn/fn.parse_str.html | 2 +- syn/index.html | 2 +- syn/macro.Token.html | 112 +- syn/macro.braced.html | 6 +- syn/macro.bracketed.html | 6 +- syn/macro.custom_keyword.html | 6 +- syn/macro.custom_punctuation.html | 6 +- syn/macro.parenthesized.html | 6 +- syn/macro.parse_macro_input.html | 10 +- syn/macro.parse_quote.html | 13 +- syn/macro.parse_quote_spanned.html | 6 +- syn/meta/fn.parser.html | 6 +- syn/meta/index.html | 2 +- syn/meta/struct.ParseNestedMeta.html | 32 +- syn/parse/discouraged/index.html | 2 +- syn/parse/discouraged/trait.AnyDelimiter.html | 6 +- syn/parse/discouraged/trait.Speculative.html | 6 +- syn/parse/index.html | 2 +- syn/parse/struct.End.html | 28 +- syn/parse/struct.Error.html | 42 +- syn/parse/struct.Lookahead1.html | 26 +- syn/parse/struct.Nothing.html | 38 +- syn/parse/struct.ParseBuffer.html | 58 +- syn/parse/struct.StepCursor.html | 30 +- syn/parse/trait.Parse.html | 4 +- syn/parse/trait.Parser.html | 16 +- syn/parse/trait.Peek.html | 4 +- syn/parse/type.ParseStream.html | 2 +- syn/parse/type.Result.html | 2 +- syn/punctuated/enum.Pair.html | 86 +- syn/punctuated/index.html | 2 +- syn/punctuated/struct.IntoIter.html | 435 ++++---- syn/punctuated/struct.IntoPairs.html | 430 ++++---- syn/punctuated/struct.Iter.html | 424 ++++---- syn/punctuated/struct.IterMut.html | 418 ++++---- syn/punctuated/struct.Pairs.html | 421 ++++---- syn/punctuated/struct.PairsMut.html | 411 ++++---- syn/punctuated/struct.Punctuated.html | 144 +-- syn/spanned/index.html | 6 +- syn/spanned/trait.Spanned.html | 6 +- syn/struct.Abi.html | 42 +- ...struct.AngleBracketedGenericArguments.html | 42 +- syn/struct.AssocConst.html | 42 +- syn/struct.AssocType.html | 42 +- syn/struct.Attribute.html | 56 +- syn/struct.BareFnArg.html | 44 +- syn/struct.BareVariadic.html | 46 +- syn/struct.BoundLifetimes.html | 40 +- syn/struct.ConstParam.html | 46 +- syn/struct.Constraint.html | 42 +- syn/struct.DataEnum.html | 34 +- syn/struct.DataStruct.html | 36 +- syn/struct.DataUnion.html | 34 +- syn/struct.DeriveInput.html | 42 +- syn/struct.Error.html | 42 +- syn/struct.ExprArray.html | 28 +- syn/struct.ExprAssign.html | 28 +- syn/struct.ExprAsync.html | 28 +- syn/struct.ExprAwait.html | 28 +- syn/struct.ExprBinary.html | 46 +- syn/struct.ExprBlock.html | 28 +- syn/struct.ExprBreak.html | 28 +- syn/struct.ExprCall.html | 44 +- syn/struct.ExprCast.html | 46 +- syn/struct.ExprClosure.html | 28 +- syn/struct.ExprConst.html | 28 +- syn/struct.ExprContinue.html | 28 +- syn/struct.ExprField.html | 44 +- syn/struct.ExprForLoop.html | 28 +- syn/struct.ExprGroup.html | 44 +- syn/struct.ExprIf.html | 28 +- syn/struct.ExprIndex.html | 46 +- syn/struct.ExprInfer.html | 28 +- syn/struct.ExprLet.html | 28 +- syn/struct.ExprLit.html | 42 +- syn/struct.ExprLoop.html | 28 +- syn/struct.ExprMacro.html | 42 +- syn/struct.ExprMatch.html | 28 +- syn/struct.ExprMethodCall.html | 46 +- syn/struct.ExprParen.html | 44 +- syn/struct.ExprPath.html | 44 +- syn/struct.ExprRange.html | 28 +- syn/struct.ExprRawAddr.html | 28 +- syn/struct.ExprReference.html | 46 +- syn/struct.ExprRepeat.html | 28 +- syn/struct.ExprReturn.html | 28 +- syn/struct.ExprStruct.html | 48 +- syn/struct.ExprTry.html | 28 +- syn/struct.ExprTryBlock.html | 28 +- syn/struct.ExprTuple.html | 42 +- syn/struct.ExprUnary.html | 44 +- syn/struct.ExprUnsafe.html | 28 +- syn/struct.ExprWhile.html | 28 +- syn/struct.ExprYield.html | 28 +- syn/struct.Field.html | 52 +- syn/struct.FieldValue.html | 46 +- syn/struct.FieldsNamed.html | 40 +- syn/struct.FieldsUnnamed.html | 40 +- syn/struct.Generics.html | 64 +- syn/struct.Ident.html | 70 +- syn/struct.ImplGenerics.html | 38 +- syn/struct.Index.html | 40 +- syn/struct.Lifetime.html | 54 +- syn/struct.LifetimeParam.html | 44 +- syn/struct.LitBool.html | 42 +- syn/struct.LitByte.html | 40 +- syn/struct.LitByteStr.html | 40 +- syn/struct.LitCStr.html | 40 +- syn/struct.LitChar.html | 40 +- syn/struct.LitFloat.html | 46 +- syn/struct.LitInt.html | 48 +- syn/struct.LitStr.html | 44 +- syn/struct.Macro.html | 44 +- syn/struct.MetaList.html | 50 +- syn/struct.MetaNameValue.html | 40 +- syn/struct.ParenthesizedGenericArguments.html | 40 +- syn/struct.Path.html | 56 +- syn/struct.PathSegment.html | 42 +- syn/struct.PredicateLifetime.html | 40 +- syn/struct.PredicateType.html | 44 +- syn/struct.QSelf.html | 42 +- syn/struct.TraitBound.html | 46 +- syn/struct.Turbofish.html | 38 +- syn/struct.TypeArray.html | 42 +- syn/struct.TypeBareFn.html | 48 +- syn/struct.TypeGenerics.html | 40 +- syn/struct.TypeGroup.html | 42 +- syn/struct.TypeImplTrait.html | 40 +- syn/struct.TypeInfer.html | 40 +- syn/struct.TypeMacro.html | 40 +- syn/struct.TypeNever.html | 40 +- syn/struct.TypeParam.html | 48 +- syn/struct.TypeParen.html | 42 +- syn/struct.TypePath.html | 42 +- syn/struct.TypePtr.html | 46 +- syn/struct.TypeReference.html | 46 +- syn/struct.TypeSlice.html | 42 +- syn/struct.TypeTraitObject.html | 42 +- syn/struct.TypeTuple.html | 40 +- syn/struct.Variant.html | 48 +- syn/struct.VisRestricted.html | 44 +- syn/struct.WhereClause.html | 40 +- syn/token/index.html | 2 +- syn/token/struct.Abstract.html | 38 +- syn/token/struct.And.html | 42 +- syn/token/struct.AndAnd.html | 40 +- syn/token/struct.AndEq.html | 40 +- syn/token/struct.As.html | 38 +- syn/token/struct.Async.html | 38 +- syn/token/struct.At.html | 42 +- syn/token/struct.Auto.html | 38 +- syn/token/struct.Await.html | 38 +- syn/token/struct.Become.html | 38 +- syn/token/struct.Box.html | 38 +- syn/token/struct.Brace.html | 34 +- syn/token/struct.Bracket.html | 34 +- syn/token/struct.Break.html | 38 +- syn/token/struct.Caret.html | 42 +- syn/token/struct.CaretEq.html | 40 +- syn/token/struct.Colon.html | 42 +- syn/token/struct.Comma.html | 42 +- syn/token/struct.Const.html | 38 +- syn/token/struct.Continue.html | 38 +- syn/token/struct.Crate.html | 38 +- syn/token/struct.Default.html | 38 +- syn/token/struct.Do.html | 38 +- syn/token/struct.Dollar.html | 42 +- syn/token/struct.Dot.html | 42 +- syn/token/struct.DotDot.html | 40 +- syn/token/struct.DotDotDot.html | 40 +- syn/token/struct.DotDotEq.html | 40 +- syn/token/struct.Dyn.html | 38 +- syn/token/struct.Else.html | 38 +- syn/token/struct.Enum.html | 38 +- syn/token/struct.Eq.html | 42 +- syn/token/struct.EqEq.html | 40 +- syn/token/struct.Extern.html | 38 +- syn/token/struct.FatArrow.html | 40 +- syn/token/struct.Final.html | 38 +- syn/token/struct.Fn.html | 38 +- syn/token/struct.For.html | 38 +- syn/token/struct.Ge.html | 40 +- syn/token/struct.Group.html | 34 +- syn/token/struct.Gt.html | 42 +- syn/token/struct.If.html | 38 +- syn/token/struct.Impl.html | 38 +- syn/token/struct.In.html | 38 +- syn/token/struct.LArrow.html | 40 +- syn/token/struct.Le.html | 40 +- syn/token/struct.Let.html | 38 +- syn/token/struct.Loop.html | 38 +- syn/token/struct.Lt.html | 42 +- syn/token/struct.Macro.html | 38 +- syn/token/struct.Match.html | 38 +- syn/token/struct.Minus.html | 42 +- syn/token/struct.MinusEq.html | 40 +- syn/token/struct.Mod.html | 38 +- syn/token/struct.Move.html | 38 +- syn/token/struct.Mut.html | 38 +- syn/token/struct.Ne.html | 40 +- syn/token/struct.Not.html | 42 +- syn/token/struct.Or.html | 42 +- syn/token/struct.OrEq.html | 40 +- syn/token/struct.OrOr.html | 40 +- syn/token/struct.Override.html | 38 +- syn/token/struct.Paren.html | 34 +- syn/token/struct.PathSep.html | 40 +- syn/token/struct.Percent.html | 42 +- syn/token/struct.PercentEq.html | 40 +- syn/token/struct.Plus.html | 42 +- syn/token/struct.PlusEq.html | 40 +- syn/token/struct.Pound.html | 42 +- syn/token/struct.Priv.html | 38 +- syn/token/struct.Pub.html | 38 +- syn/token/struct.Question.html | 42 +- syn/token/struct.RArrow.html | 40 +- syn/token/struct.Raw.html | 38 +- syn/token/struct.Ref.html | 38 +- syn/token/struct.Return.html | 38 +- syn/token/struct.SelfType.html | 38 +- syn/token/struct.SelfValue.html | 38 +- syn/token/struct.Semi.html | 42 +- syn/token/struct.Shl.html | 40 +- syn/token/struct.ShlEq.html | 40 +- syn/token/struct.Shr.html | 40 +- syn/token/struct.ShrEq.html | 40 +- syn/token/struct.Slash.html | 42 +- syn/token/struct.SlashEq.html | 40 +- syn/token/struct.Star.html | 42 +- syn/token/struct.StarEq.html | 40 +- syn/token/struct.Static.html | 38 +- syn/token/struct.Struct.html | 38 +- syn/token/struct.Super.html | 38 +- syn/token/struct.Tilde.html | 42 +- syn/token/struct.Trait.html | 38 +- syn/token/struct.Try.html | 38 +- syn/token/struct.Type.html | 38 +- syn/token/struct.Typeof.html | 38 +- syn/token/struct.Underscore.html | 42 +- syn/token/struct.Union.html | 38 +- syn/token/struct.Unsafe.html | 38 +- syn/token/struct.Unsized.html | 38 +- syn/token/struct.Use.html | 38 +- syn/token/struct.Virtual.html | 38 +- syn/token/struct.Where.html | 38 +- syn/token/struct.While.html | 38 +- syn/token/struct.Yield.html | 38 +- syn/token/trait.Token.html | 4 +- syn/type.Result.html | 2 +- syn/visit/fn.visit_abi.html | 4 +- ...sit_angle_bracketed_generic_arguments.html | 6 +- syn/visit/fn.visit_assoc_const.html | 4 +- syn/visit/fn.visit_assoc_type.html | 4 +- syn/visit/fn.visit_attr_style.html | 4 +- syn/visit/fn.visit_attribute.html | 4 +- syn/visit/fn.visit_bare_fn_arg.html | 4 +- syn/visit/fn.visit_bare_variadic.html | 4 +- syn/visit/fn.visit_bin_op.html | 4 +- syn/visit/fn.visit_bound_lifetimes.html | 4 +- syn/visit/fn.visit_const_param.html | 4 +- syn/visit/fn.visit_constraint.html | 4 +- syn/visit/fn.visit_data.html | 4 +- syn/visit/fn.visit_data_enum.html | 4 +- syn/visit/fn.visit_data_struct.html | 4 +- syn/visit/fn.visit_data_union.html | 4 +- syn/visit/fn.visit_derive_input.html | 4 +- syn/visit/fn.visit_expr.html | 4 +- syn/visit/fn.visit_expr_binary.html | 4 +- syn/visit/fn.visit_expr_call.html | 4 +- syn/visit/fn.visit_expr_cast.html | 4 +- syn/visit/fn.visit_expr_field.html | 4 +- syn/visit/fn.visit_expr_group.html | 4 +- syn/visit/fn.visit_expr_index.html | 4 +- syn/visit/fn.visit_expr_lit.html | 4 +- syn/visit/fn.visit_expr_macro.html | 4 +- syn/visit/fn.visit_expr_method_call.html | 4 +- syn/visit/fn.visit_expr_paren.html | 4 +- syn/visit/fn.visit_expr_path.html | 4 +- syn/visit/fn.visit_expr_reference.html | 4 +- syn/visit/fn.visit_expr_struct.html | 4 +- syn/visit/fn.visit_expr_tuple.html | 4 +- syn/visit/fn.visit_expr_unary.html | 4 +- syn/visit/fn.visit_field.html | 4 +- syn/visit/fn.visit_field_mutability.html | 4 +- syn/visit/fn.visit_field_value.html | 4 +- syn/visit/fn.visit_fields.html | 4 +- syn/visit/fn.visit_fields_named.html | 4 +- syn/visit/fn.visit_fields_unnamed.html | 4 +- syn/visit/fn.visit_generic_argument.html | 4 +- syn/visit/fn.visit_generic_param.html | 4 +- syn/visit/fn.visit_generics.html | 4 +- syn/visit/fn.visit_ident.html | 4 +- syn/visit/fn.visit_index.html | 4 +- syn/visit/fn.visit_lifetime.html | 4 +- syn/visit/fn.visit_lifetime_param.html | 4 +- syn/visit/fn.visit_lit.html | 4 +- syn/visit/fn.visit_lit_bool.html | 4 +- syn/visit/fn.visit_lit_byte.html | 4 +- syn/visit/fn.visit_lit_byte_str.html | 4 +- syn/visit/fn.visit_lit_char.html | 4 +- syn/visit/fn.visit_lit_cstr.html | 4 +- syn/visit/fn.visit_lit_float.html | 4 +- syn/visit/fn.visit_lit_int.html | 4 +- syn/visit/fn.visit_lit_str.html | 4 +- syn/visit/fn.visit_macro.html | 4 +- syn/visit/fn.visit_macro_delimiter.html | 4 +- syn/visit/fn.visit_member.html | 4 +- syn/visit/fn.visit_meta.html | 4 +- syn/visit/fn.visit_meta_list.html | 4 +- syn/visit/fn.visit_meta_name_value.html | 4 +- ...visit_parenthesized_generic_arguments.html | 6 +- syn/visit/fn.visit_path.html | 4 +- syn/visit/fn.visit_path_arguments.html | 4 +- syn/visit/fn.visit_path_segment.html | 4 +- syn/visit/fn.visit_predicate_lifetime.html | 6 +- syn/visit/fn.visit_predicate_type.html | 4 +- syn/visit/fn.visit_qself.html | 4 +- syn/visit/fn.visit_return_type.html | 4 +- syn/visit/fn.visit_span.html | 4 +- syn/visit/fn.visit_trait_bound.html | 4 +- syn/visit/fn.visit_trait_bound_modifier.html | 6 +- syn/visit/fn.visit_type.html | 4 +- syn/visit/fn.visit_type_array.html | 4 +- syn/visit/fn.visit_type_bare_fn.html | 4 +- syn/visit/fn.visit_type_group.html | 4 +- syn/visit/fn.visit_type_impl_trait.html | 4 +- syn/visit/fn.visit_type_infer.html | 4 +- syn/visit/fn.visit_type_macro.html | 4 +- syn/visit/fn.visit_type_never.html | 4 +- syn/visit/fn.visit_type_param.html | 4 +- syn/visit/fn.visit_type_param_bound.html | 4 +- syn/visit/fn.visit_type_paren.html | 4 +- syn/visit/fn.visit_type_path.html | 4 +- syn/visit/fn.visit_type_ptr.html | 4 +- syn/visit/fn.visit_type_reference.html | 4 +- syn/visit/fn.visit_type_slice.html | 4 +- syn/visit/fn.visit_type_trait_object.html | 4 +- syn/visit/fn.visit_type_tuple.html | 4 +- syn/visit/fn.visit_un_op.html | 4 +- syn/visit/fn.visit_variant.html | 4 +- syn/visit/fn.visit_vis_restricted.html | 4 +- syn/visit/fn.visit_visibility.html | 4 +- syn/visit/fn.visit_where_clause.html | 4 +- syn/visit/fn.visit_where_predicate.html | 4 +- syn/visit/index.html | 2 +- syn/visit/trait.Visit.html | 8 +- synstructure/all.html | 2 +- synstructure/enum.AddBounds.html | 32 +- synstructure/enum.BindStyle.html | 38 +- synstructure/fn.unpretty_print.html | 2 +- synstructure/index.html | 2 +- synstructure/macro.decl_attribute.html | 6 +- synstructure/macro.decl_derive.html | 6 +- synstructure/macro.test_derive.html | 8 +- synstructure/struct.BindingInfo.html | 44 +- synstructure/struct.Structure.html | 106 +- synstructure/struct.VariantAst.html | 34 +- synstructure/struct.VariantInfo.html | 76 +- synstructure/trait.MacroResult.html | 14 +- trait.impl/core/clone/trait.Clone.js | 2 +- trait.impl/core/cmp/trait.Eq.js | 2 +- trait.impl/core/cmp/trait.Ord.js | 2 +- trait.impl/core/cmp/trait.PartialEq.js | 2 +- trait.impl/core/cmp/trait.PartialOrd.js | 2 +- trait.impl/core/convert/trait.AsRef.js | 2 +- trait.impl/core/convert/trait.From.js | 2 +- trait.impl/core/convert/trait.TryFrom.js | 2 +- trait.impl/core/default/trait.Default.js | 2 +- trait.impl/core/error/trait.Error.js | 2 +- trait.impl/core/fmt/trait.Debug.js | 2 +- trait.impl/core/fmt/trait.Display.js | 2 +- trait.impl/core/fmt/trait.LowerHex.js | 2 +- trait.impl/core/fmt/trait.UpperHex.js | 2 +- trait.impl/core/hash/trait.Hash.js | 2 +- .../core/iter/traits/collect/trait.Extend.js | 2 +- .../iter/traits/collect/trait.FromIterator.js | 2 +- .../iter/traits/collect/trait.IntoIterator.js | 2 +- .../double_ended/trait.DoubleEndedIterator.js | 2 +- .../exact_size/trait.ExactSizeIterator.js | 2 +- .../iter/traits/iterator/trait.Iterator.js | 2 +- trait.impl/core/marker/trait.Copy.js | 2 +- trait.impl/core/marker/trait.Freeze.js | 2 +- trait.impl/core/marker/trait.Send.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- trait.impl/core/marker/trait.Sync.js | 2 +- trait.impl/core/marker/trait.Unpin.js | 2 +- trait.impl/core/ops/arith/trait.Add.js | 2 +- trait.impl/core/ops/deref/trait.Deref.js | 2 +- trait.impl/core/ops/deref/trait.DerefMut.js | 2 +- trait.impl/core/ops/drop/trait.Drop.js | 2 +- trait.impl/core/ops/index/trait.Index.js | 2 +- trait.impl/core/ops/index/trait.IndexMut.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- trait.impl/core/str/traits/trait.FromStr.js | 2 +- type.impl/core/result/enum.Result.js | 2 +- type.impl/flexiber/struct.TaggedValue.js | 2 +- unicode_ident/all.html | 2 +- unicode_ident/fn.is_xid_continue.html | 2 +- unicode_ident/fn.is_xid_start.html | 2 +- unicode_ident/index.html | 12 +- 656 files changed, 9348 insertions(+), 8315 deletions(-) rename static.files/{COPYRIGHT-23e9bde6c69aea69.txt => COPYRIGHT-eb44e4cf.txt} (100%) rename static.files/{FiraSans-LICENSE-db4b642586e02d97.txt => FiraSans-LICENSE-05ab6dbd.txt} (100%) rename static.files/{FiraSans-Medium-8f9a781e4970d388.woff2 => FiraSans-Medium-e1aa3f0a.woff2} (100%) rename static.files/{FiraSans-Regular-018c141bf0843ffd.woff2 => FiraSans-Regular-0fe48ade.woff2} (100%) rename static.files/{LICENSE-APACHE-b91fa81cba47b86a.txt => LICENSE-APACHE-a60eea81.txt} (100%) rename static.files/{LICENSE-MIT-65090b722b3f6c56.txt => LICENSE-MIT-23f18e03.txt} (100%) rename static.files/{NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 => NanumBarunGothic-13b3dcba.ttf.woff2} (100%) rename static.files/{NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt => NanumBarunGothic-LICENSE-a37d393b.txt} (100%) rename static.files/{SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 => SourceCodePro-It-fc8b9304.ttf.woff2} (100%) rename static.files/{SourceCodePro-LICENSE-d180d465a756484a.txt => SourceCodePro-LICENSE-67f54ca7.txt} (100%) rename static.files/{SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 => SourceCodePro-Regular-8badfe75.ttf.woff2} (100%) rename static.files/{SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 => SourceCodePro-Semibold-aa29a496.ttf.woff2} (100%) rename static.files/{SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 => SourceSerif4-Bold-6d4fd4c0.ttf.woff2} (100%) rename static.files/{SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 => SourceSerif4-It-ca3b17ed.ttf.woff2} (100%) rename static.files/{SourceSerif4-LICENSE-3bb119e13b1258b7.md => SourceSerif4-LICENSE-a2cfd9d5.md} (100%) rename static.files/{SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 => SourceSerif4-Regular-6b053e98.ttf.woff2} (100%) rename static.files/{favicon-2c020d218678b618.svg => favicon-044be391.svg} (100%) rename static.files/{favicon-32x32-422f7d1d52889060.png => favicon-32x32-6580c154.png} (100%) rename static.files/{main-f070b9041d14864c.js => main-5f194d8c.js} (100%) rename static.files/{normalize-76eba96aa4d2e634.css => normalize-9960930a.css} (100%) rename static.files/{noscript-0111fcff984fae8f.css => noscript-893ab5e7.css} (100%) rename static.files/{rust-logo-151179464ae7ed46.svg => rust-logo-9a9549ea.svg} (100%) rename static.files/{rustdoc-b0742ba02757f159.css => rustdoc-42caa33d.css} (64%) rename static.files/{scrape-examples-46fc985aa763a438.js => scrape-examples-d508a8a9.js} (100%) create mode 100644 static.files/search-92e6798f.js delete mode 100644 static.files/search-f0d225181b97f9a4.js rename static.files/{settings-805db61a62df4bd2.js => settings-0f613d39.js} (100%) rename static.files/{src-script-e66d777a5a92e9b2.js => src-script-56102188.js} (100%) rename static.files/{storage-1d39b6787ed640ff.js => storage-59e33391.js} (100%) diff --git a/delog/all.html b/delog/all.html index adf62ef..a470832 100644 --- a/delog/all.html +++ b/delog/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/delog/enum.Level.html b/delog/enum.Level.html index 1148285..4cdfb4a 100644 --- a/delog/enum.Level.html +++ b/delog/enum.Level.html @@ -1,4 +1,4 @@ -Level in delog - Rust
delog

Enum Level

source
#[repr(usize)]
pub enum Level { +Level in delog - Rust
delog

Enum Level

Source
#[repr(usize)]
pub enum Level { Error = 1, Warn = 2, Info = 3, @@ -19,11 +19,11 @@

Designates lower priority information.

§

Trace = 5

The “trace” level.

Designates very low priority, often extremely verbose, information.

-

Implementations§

source§

impl Level

source

pub fn max() -> Level

Returns the most verbose logging level.

-
source

pub fn to_level_filter(&self) -> LevelFilter

Converts the Level to the equivalent LevelFilter.

-
source

pub fn as_str(&self) -> &'static str

Returns the string representation of the Level.

+

Implementations§

Source§

impl Level

Source

pub fn max() -> Level

Returns the most verbose logging level.

+
Source

pub fn to_level_filter(&self) -> LevelFilter

Converts the Level to the equivalent LevelFilter.

+
Source

pub fn as_str(&self) -> &'static str

Returns the string representation of the Level.

This returns the same string as the fmt::Display implementation.

-
source

pub fn iter() -> impl Iterator<Item = Level>

Iterate through all supported logging levels.

+
Source

pub fn iter() -> impl Iterator<Item = Level>

Iterate through all supported logging levels.

The order of iteration is from more severe to less severe log messages.

§Examples
use log::Level;
@@ -32,33 +32,33 @@
 
 assert_eq!(Some(Level::Error), levels.next());
 assert_eq!(Some(Level::Trace), levels.last());
-

Trait Implementations§

source§

impl Clone for Level

source§

fn clone(&self) -> Level

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Level

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for Level

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for Level

source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
source§

fn from_str(level: &str) -> Result<Level, <Level as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Level

source§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Level

source§

fn cmp(&self, other: &Level) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Level> for LevelFilter

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq<LevelFilter> for Level

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq for Level

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd<Level> for LevelFilter

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd<LevelFilter> for Level

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd for Level

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Copy for Level

source§

impl Eq for Level

source§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl Freeze for Level

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for Level

Source§

fn clone(&self) -> Level

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Level

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for Level

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for Level

Source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
Source§

fn from_str(level: &str) -> Result<Level, <Level as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Level

Source§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Level

Source§

fn cmp(&self, other: &Level) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq<Level> for LevelFilter

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq<LevelFilter> for Level

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq for Level

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialOrd<Level> for LevelFilter

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd<LevelFilter> for Level

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd for Level

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl Copy for Level

Source§

impl Eq for Level

Source§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl Freeze for Level

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/enum.LevelFilter.html b/delog/enum.LevelFilter.html index b8a25b0..a432acf 100644 --- a/delog/enum.LevelFilter.html +++ b/delog/enum.LevelFilter.html @@ -1,4 +1,4 @@ -LevelFilter in delog - Rust
delog

Enum LevelFilter

source
#[repr(usize)]
pub enum LevelFilter { +LevelFilter in delog - Rust
delog

Enum LevelFilter

Source
#[repr(usize)]
pub enum LevelFilter { Off = 0, Error = 1, Warn = 2, @@ -14,12 +14,12 @@ to get and set the maximum log level with max_
§

Info = 3

Corresponds to the Info log level.

§

Debug = 4

Corresponds to the Debug log level.

§

Trace = 5

Corresponds to the Trace log level.

-

Implementations§

source§

impl LevelFilter

source

pub fn max() -> LevelFilter

Returns the most verbose logging level filter.

-
source

pub fn to_level(&self) -> Option<Level>

Converts self to the equivalent Level.

+

Implementations§

Source§

impl LevelFilter

Source

pub fn max() -> LevelFilter

Returns the most verbose logging level filter.

+
Source

pub fn to_level(&self) -> Option<Level>

Converts self to the equivalent Level.

Returns None if self is LevelFilter::Off.

-
source

pub fn as_str(&self) -> &'static str

Returns the string representation of the LevelFilter.

+
Source

pub fn as_str(&self) -> &'static str

Returns the string representation of the LevelFilter.

This returns the same string as the fmt::Display implementation.

-
source

pub fn iter() -> impl Iterator<Item = LevelFilter>

Iterate through all supported filtering levels.

+
Source

pub fn iter() -> impl Iterator<Item = LevelFilter>

Iterate through all supported filtering levels.

The order of iteration is from less to more verbose filtering.

§Examples
use log::LevelFilter;
@@ -28,33 +28,33 @@ to get and set the maximum log level with max_
 
 assert_eq!(Some(LevelFilter::Off), levels.next());
 assert_eq!(Some(LevelFilter::Trace), levels.last());
-

Trait Implementations§

source§

impl Clone for LevelFilter

source§

fn clone(&self) -> LevelFilter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LevelFilter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for LevelFilter

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for LevelFilter

source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
source§

fn from_str(level: &str) -> Result<LevelFilter, <LevelFilter as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for LevelFilter

source§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for LevelFilter

source§

fn cmp(&self, other: &LevelFilter) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Level> for LevelFilter

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq<LevelFilter> for Level

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq for LevelFilter

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd<Level> for LevelFilter

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd<LevelFilter> for Level

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd for LevelFilter

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Copy for LevelFilter

source§

impl Eq for LevelFilter

source§

impl StructuralPartialEq for LevelFilter

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for LevelFilter

Source§

fn clone(&self) -> LevelFilter

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LevelFilter

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for LevelFilter

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for LevelFilter

Source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
Source§

fn from_str(level: &str) -> Result<LevelFilter, <LevelFilter as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for LevelFilter

Source§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for LevelFilter

Source§

fn cmp(&self, other: &LevelFilter) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq<Level> for LevelFilter

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq<LevelFilter> for Level

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq for LevelFilter

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialOrd<Level> for LevelFilter

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd<LevelFilter> for Level

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd for LevelFilter

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl Copy for LevelFilter

Source§

impl Eq for LevelFilter

Source§

impl StructuralPartialEq for LevelFilter

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/fn.dequeue.html b/delog/fn.dequeue.html index 30ebe21..1bc2c1d 100644 --- a/delog/fn.dequeue.html +++ b/delog/fn.dequeue.html @@ -1,4 +1,4 @@ -dequeue in delog - Rust
delog

Function dequeue

source
pub unsafe fn dequeue(delogger: impl Delogger, buf: &mut [u8]) -> &str
Expand description

The core “read from circular buffer” method. Marked unsafe to discourage use!

+dequeue in delog - Rust
delog

Function dequeue

Source
pub unsafe fn dequeue(delogger: impl Delogger, buf: &mut [u8]) -> &str
Expand description

The core “read from circular buffer” method. Marked unsafe to discourage use!

§Safety

Unfortunately exposed for all to see, as the delog! macro needs access to it to implement the logger at call site. Hence marked as unsafe.

diff --git a/delog/fn.enqueue.html b/delog/fn.enqueue.html index 61055c3..1990e84 100644 --- a/delog/fn.enqueue.html +++ b/delog/fn.enqueue.html @@ -1,4 +1,4 @@ -enqueue in delog - Rust
delog

Function enqueue

source
pub unsafe fn enqueue(delogger: impl Delogger, record: &Record<'_>)
Expand description

The core “write to circular buffer” method. Marked unsafe to discourage use!

+enqueue in delog - Rust
delog

Function enqueue

Source
pub unsafe fn enqueue(delogger: impl Delogger, record: &Record<'_>)
Expand description

The core “write to circular buffer” method. Marked unsafe to discourage use!

§Safety

Unfortunately exposed for all to see, as the delog! macro needs access to it to implement the logger at call site. Hence marked as unsafe.

diff --git a/delog/fn.logger.html b/delog/fn.logger.html index 92c6daa..0bd84a6 100644 --- a/delog/fn.logger.html +++ b/delog/fn.logger.html @@ -1,2 +1,2 @@ -logger in delog - Rust
delog

Function logger

source
pub fn logger() -> &'static mut Option<&'static dyn TryLogWithStatistics>
Expand description

Returns a reference to the logger (as TryLogWithStatistics implementation)

+logger in delog - Rust
delog

Function logger

Source
pub fn logger() -> &'static mut Option<&'static dyn TryLogWithStatistics>
Expand description

Returns a reference to the logger (as TryLogWithStatistics implementation)

\ No newline at end of file diff --git a/delog/fn.try_enqueue.html b/delog/fn.try_enqueue.html index 635217e..b9aec92 100644 --- a/delog/fn.try_enqueue.html +++ b/delog/fn.try_enqueue.html @@ -1,7 +1,7 @@ -try_enqueue in delog - Rust
delog

Function try_enqueue

source
pub unsafe fn try_enqueue(
+try_enqueue in delog - Rust
delog

Function try_enqueue

Source
pub unsafe fn try_enqueue(
     delogger: impl Delogger,
     record: &Record<'_>,
-) -> Result<(), ()>
Expand description

The fallible “write to circular buffer” method. Marked unsafe to discourage use!

+) -> Result<(), ()>
Expand description

The fallible “write to circular buffer” method. Marked unsafe to discourage use!

§Safety

Unfortunately exposed for all to see, as the delog! macro needs access to it to implement the logger at call site. Hence marked as unsafe.

diff --git a/delog/hex/fn.HexStr.html b/delog/hex/fn.HexStr.html index f95a496..84eb0a6 100644 --- a/delog/hex/fn.HexStr.html +++ b/delog/hex/fn.HexStr.html @@ -1,5 +1,5 @@ -HexStr in delog::hex - Rust
delog::hex

Function HexStr

source
pub fn HexStr<T: ?Sized, U: Unsigned, S: Separator>(
-    value: &T,
+HexStr in delog::hex - Rust
delog::hex

Function HexStr

Source
pub fn HexStr<T: ?Sized, U: Unsigned, S: Separator>(
+    value: &T,
 ) -> HexStr<'_, T, U, S>
Expand description

Explicitly construct a newtype to format with.

The first generic parameter specifies the block size in bytes, the second parameter the separator string.

diff --git a/delog/hex/index.html b/delog/hex/index.html index d562d49..42f6b9b 100644 --- a/delog/hex/index.html +++ b/delog/hex/index.html @@ -1,4 +1,4 @@ -delog::hex - Rust
delog

Module hex

source
Expand description

Convenient Display and other traits for binary data.

+delog::hex - Rust
delog

Module hex

Source
Expand description

Convenient Display and other traits for binary data.

Standard Rust uses the fmt::UpperHex and LowerHex traits to implement hexadecimal representations for use in format strings. For instance, format_args!("{:02X?}", &[7, 0xA1, 0xFF]) produces the string "[07, A1, FF]".

diff --git a/delog/hex/struct.HexStr.html b/delog/hex/struct.HexStr.html index 89e18db..c2f0b59 100644 --- a/delog/hex/struct.HexStr.html +++ b/delog/hex/struct.HexStr.html @@ -1,49 +1,49 @@ -HexStr in delog::hex - Rust
delog::hex

Struct HexStr

source
pub struct HexStr<'a, T: ?Sized, U, S>
where +HexStr in delog::hex - Rust
delog::hex

Struct HexStr

Source
pub struct HexStr<'a, T: ?Sized, U, S>
where U: Unsigned, S: Separator,
{ - pub value: &'a T, + pub value: &'a T, /* private fields */ }
Expand description

Zero-sized wrapper newtype, allowing grouping bytes in blocks of N hexadecimals during formatting.

Use the method with the same name to construct this from your byte array or slice, or preferrably the hex_str! or hexstr! macro.

-

Fields§

§value: &'a T

The value to be formatted.

-

Trait Implementations§

source§

impl<T, S, U> Debug for HexStr<'_, T, U, S>
where - T: AsRef<[u8]> + ?Sized, +

Fields§

§value: &'a T

The value to be formatted.

+

Trait Implementations§

Source§

impl<T, S, U> Debug for HexStr<'_, T, U, S>
where + T: AsRef<[u8]> + ?Sized, U: Unsigned, - S: Separator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T, U, S> Display for HexStr<'_, T, U, S>
where - T: AsRef<[u8]> + ?Sized, + S: Separator,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<T, U, S> Display for HexStr<'_, T, U, S>
where + T: AsRef<[u8]> + ?Sized, U: Unsigned, - S: Separator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a, T, U, S> LowerHex for HexStr<'a, T, U, S>
where - T: AsRef<[u8]> + ?Sized, + S: Separator,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a, T, U, S> LowerHex for HexStr<'a, T, U, S>
where + T: AsRef<[u8]> + ?Sized, U: Unsigned, - S: Separator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a, T, U, S> UpperHex for HexStr<'a, T, U, S>
where - T: AsRef<[u8]> + ?Sized, + S: Separator,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a, T, U, S> UpperHex for HexStr<'a, T, U, S>
where + T: AsRef<[u8]> + ?Sized, U: Unsigned, - S: Separator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a, T, U, S> Freeze for HexStr<'a, T, U, S>
where - T: ?Sized,

§

impl<'a, T, U, S> RefUnwindSafe for HexStr<'a, T, U, S>
where - T: RefUnwindSafe + ?Sized, - U: RefUnwindSafe, - S: RefUnwindSafe,

§

impl<'a, T, U, S> Send for HexStr<'a, T, U, S>
where - T: Sync + ?Sized, - U: Send, - S: Send,

§

impl<'a, T, U, S> Sync for HexStr<'a, T, U, S>
where - T: Sync + ?Sized, - U: Sync, - S: Sync,

§

impl<'a, T, U, S> Unpin for HexStr<'a, T, U, S>
where - U: Unpin, - S: Unpin, - T: ?Sized,

§

impl<'a, T, U, S> UnwindSafe for HexStr<'a, T, U, S>
where - T: RefUnwindSafe + ?Sized, - U: UnwindSafe, - S: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ S: Separator,
Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a, T, U, S> Freeze for HexStr<'a, T, U, S>
where + T: ?Sized,

§

impl<'a, T, U, S> RefUnwindSafe for HexStr<'a, T, U, S>
where + T: RefUnwindSafe + ?Sized, + U: RefUnwindSafe, + S: RefUnwindSafe,

§

impl<'a, T, U, S> Send for HexStr<'a, T, U, S>
where + T: Sync + ?Sized, + U: Send, + S: Send,

§

impl<'a, T, U, S> Sync for HexStr<'a, T, U, S>
where + T: Sync + ?Sized, + U: Sync, + S: Sync,

§

impl<'a, T, U, S> Unpin for HexStr<'a, T, U, S>
where + U: Unpin, + S: Unpin, + T: ?Sized,

§

impl<'a, T, U, S> UnwindSafe for HexStr<'a, T, U, S>
where + T: RefUnwindSafe + ?Sized, + U: UnwindSafe, + S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/hex/struct.U1.html b/delog/hex/struct.U1.html index 22c0acc..4c9dbdd 100644 --- a/delog/hex/struct.U1.html +++ b/delog/hex/struct.U1.html @@ -1,12 +1,12 @@ -U1 in delog::hex - Rust
delog::hex

Struct U1

source
pub struct U1;
Expand description

A type that represents the integer 1.

-

Trait Implementations§

source§

impl Unsigned for U1

source§

const N: usize = 1usize

The actual number.

Auto Trait Implementations§

§

impl Freeze for U1

§

impl RefUnwindSafe for U1

§

impl Send for U1

§

impl Sync for U1

§

impl Unpin for U1

§

impl UnwindSafe for U1

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+U1 in delog::hex - Rust
delog::hex

Struct U1

Source
pub struct U1;
Expand description

A type that represents the integer 1.

+

Trait Implementations§

Source§

impl Unsigned for U1

Source§

const N: usize = 1usize

The actual number.

Auto Trait Implementations§

§

impl Freeze for U1

§

impl RefUnwindSafe for U1

§

impl Send for U1

§

impl Sync for U1

§

impl Unpin for U1

§

impl UnwindSafe for U1

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/hex/trait.Separator.html b/delog/hex/trait.Separator.html index ffa8e59..b1584ed 100644 --- a/delog/hex/trait.Separator.html +++ b/delog/hex/trait.Separator.html @@ -1,5 +1,5 @@ -Separator in delog::hex - Rust
delog::hex

Trait Separator

source
pub trait Separator {
-    const SEPARATOR: &'static str;
+Separator in delog::hex - Rust
delog::hex

Trait Separator

Source
pub trait Separator {
+    const SEPARATOR: &'static str;
 }
Expand description

A type that specifies a separator str.

-

Required Associated Constants§

source

const SEPARATOR: &'static str

The actual separator str.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Required Associated Constants§

Source

const SEPARATOR: &'static str

The actual separator str.

+

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/delog/hex/trait.Unsigned.html b/delog/hex/trait.Unsigned.html index a55a1e6..88572cd 100644 --- a/delog/hex/trait.Unsigned.html +++ b/delog/hex/trait.Unsigned.html @@ -1,7 +1,7 @@ -Unsigned in delog::hex - Rust
delog::hex

Trait Unsigned

source
pub trait Unsigned {
-    const N: usize;
+Unsigned in delog::hex - Rust
delog::hex

Trait Unsigned

Source
pub trait Unsigned {
+    const N: usize;
 }
Expand description

A type that specifies an unsigned integer.

We use this instead of typenum as the latter currently lacks a mapping from usize to the associated type.

-

Required Associated Constants§

source

const N: usize

The actual number.

-

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Unsigned for U1

source§

const N: usize = 1usize

\ No newline at end of file +

Required Associated Constants§

Source

const N: usize

The actual number.

+

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Unsigned for U1

Source§

const N: usize = 1usize

\ No newline at end of file diff --git a/delog/index.html b/delog/index.html index e1dea2f..5bda8aa 100644 --- a/delog/index.html +++ b/delog/index.html @@ -1,4 +1,4 @@ -delog - Rust

Crate delog

source
Expand description

§Compile-time configurable deferred logging (for printf()-debugging aka tracing)

+delog - Rust

Crate delog

Source
Expand description

§Compile-time configurable deferred logging (for printf()-debugging aka tracing)

This is an implementation of the log::Log trait, suitable for use in both embedded and desktop environments.

It has two main goals:

diff --git a/delog/macro.delog.html b/delog/macro.delog.html index 5538022..df86b39 100644 --- a/delog/macro.delog.html +++ b/delog/macro.delog.html @@ -1,9 +1,9 @@ -delog in delog - Rust
delog

Macro delog

source
macro_rules! delog {
-    ($logger:ident, $capacity:expr, $render_capacity:expr, $flusher:ty) => { ... };
-    ($logger:ident, $capacity:expr, $flusher:ty) => { ... };
-    ($logger:ident, $capacity:expr, $flusher:ty, renderer: $renderer:ty) => { ... };
-    ($logger:ident, $capacity:expr, $render_capacity:expr, $flusher:ty, renderer: $renderer:ty) => { ... };
-}
Expand description

Generate a deferred logger with specified capacity and flushing mechanism.

+delog in delog - Rust
delog

Macro delog

Source
macro_rules! delog {
+    ($logger:ident, $capacity:expr, $render_capacity:expr, $flusher:ty) => { ... };
+    ($logger:ident, $capacity:expr, $flusher:ty) => { ... };
+    ($logger:ident, $capacity:expr, $flusher:ty, renderer: $renderer:ty) => { ... };
+    ($logger:ident, $capacity:expr, $render_capacity:expr, $flusher:ty, renderer: $renderer:ty) => { ... };
+}
Expand description

Generate a deferred logger with specified capacity and flushing mechanism.

Note that only the final “runner” generates, initializes and flushes such a deferred logger.

Libraries simply make calls to log::log!, or its drop-in replacement delog::log!, and/or its extension delog::log_now!, and/or its alternatives delog::try_log! and delog::try_log_now, diff --git a/delog/macro.generate_macros.html b/delog/macro.generate_macros.html index 519188e..959d5ef 100644 --- a/delog/macro.generate_macros.html +++ b/delog/macro.generate_macros.html @@ -1,6 +1,6 @@ -generate_macros in delog - Rust

delog

Macro generate_macros

source
macro_rules! generate_macros {
+generate_macros in delog - Rust
delog

Macro generate_macros

Source
macro_rules! generate_macros {
     () => { ... };
-}
Expand description

Generate logging macros that can be gated by library.

+}
Expand description

Generate logging macros that can be gated by library.

Realize that these macros are generated in the namespace of the consuming library, the one that actally later makes calls to local_warn! etc.

To see this in action, compile documentation using cargo doc --features example, or inspect diff --git a/delog/macro.hex_str.html b/delog/macro.hex_str.html index 4dc94a3..703d096 100644 --- a/delog/macro.hex_str.html +++ b/delog/macro.hex_str.html @@ -1,9 +1,9 @@ -hex_str in delog - Rust

delog

Macro hex_str

source
macro_rules! hex_str {
-    ($array:expr) => { ... };
-    ($array:expr, sep: $separator:expr) => { ... };
-    ($array:expr, $n:tt) => { ... };
-    ($array:expr, $n:tt, sep: $separator:expr) => { ... };
-}
Expand description

Compactly format byte arrays and slices as hexadecimals.

+hex_str in delog - Rust
delog

Macro hex_str

Source
macro_rules! hex_str {
+    ($array:expr) => { ... };
+    ($array:expr, sep: $separator:expr) => { ... };
+    ($array:expr, $n:tt) => { ... };
+    ($array:expr, $n:tt, sep: $separator:expr) => { ... };
+}
Expand description

Compactly format byte arrays and slices as hexadecimals.

The second parameter refers to the number of bytes in a block (separated by spaces).

use delog::hex_str;
diff --git a/delog/macro.hexstr.html b/delog/macro.hexstr.html
index b6a9d8e..8f68b49 100644
--- a/delog/macro.hexstr.html
+++ b/delog/macro.hexstr.html
@@ -1,6 +1,6 @@
-hexstr in delog - Rust
delog

Macro hexstr

source
macro_rules! hexstr {
-    ($array:expr) => { ... };
-}
Expand description

More compactly format byte arrays and slices as hexadecimals.

+hexstr in delog - Rust
delog

Macro hexstr

Source
macro_rules! hexstr {
+    ($array:expr) => { ... };
+}
Expand description

More compactly format byte arrays and slices as hexadecimals.

use delog::hexstr;
 let four_bytes = &[7u8, 0xA1, 255, 0xC7];
diff --git a/delog/render/fn.default.html b/delog/render/fn.default.html
index 1633318..0da6e1e 100644
--- a/delog/render/fn.default.html
+++ b/delog/render/fn.default.html
@@ -1,2 +1,2 @@
-default in delog::render - Rust
delog::render

Function default

source
pub fn default() -> &'static DefaultRenderer
Expand description

The default, minimal renderer.

+default in delog::render - Rust
delog::render

Function default

Source
pub fn default() -> &'static DefaultRenderer
Expand description

The default, minimal renderer.

\ No newline at end of file diff --git a/delog/render/fn.render_arguments.html b/delog/render/fn.render_arguments.html index 143daae..4b2de86 100644 --- a/delog/render/fn.render_arguments.html +++ b/delog/render/fn.render_arguments.html @@ -1,4 +1,4 @@ -render_arguments in delog::render - Rust
delog::render

Function render_arguments

source
pub fn render_arguments<'a>(buf: &'a mut [u8], args: Arguments<'_>) -> &'a [u8]
Expand description

For some reason, there seems to be no existing method to easily render +render_arguments in delog::render - Rust

delog::render

Function render_arguments

Source
pub fn render_arguments<'a>(buf: &'a mut [u8], args: Arguments<'_>) -> &'a [u8]
Expand description

For some reason, there seems to be no existing method to easily render fmt::Arguments in a pre-allocated byte array.

That is what this does.

\ No newline at end of file diff --git a/delog/render/fn.render_record.html b/delog/render/fn.render_record.html index d5eb7b1..78489d4 100644 --- a/delog/render/fn.render_record.html +++ b/delog/render/fn.render_record.html @@ -1,2 +1,2 @@ -render_record in delog::render - Rust
delog::render

Function render_record

source
pub fn render_record<'a>(buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]
Expand description

Render record, based on feature flags.

+render_record in delog::render - Rust
delog::render

Function render_record

Source
pub fn render_record<'a>(buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]
Expand description

Render record, based on feature flags.

\ No newline at end of file diff --git a/delog/render/index.html b/delog/render/index.html index 3acf0b6..4d87d63 100644 --- a/delog/render/index.html +++ b/delog/render/index.html @@ -1,3 +1,3 @@ -delog::render - Rust
delog

Module render

source
Expand description

The default, minimal renderer, and some helper functions.

+delog::render - Rust
delog

Module render

Source
Expand description

The default, minimal renderer, and some helper functions.

Structs§

Functions§

  • The default, minimal renderer.
  • For some reason, there seems to be no existing method to easily render fmt::Arguments in a pre-allocated byte array.
  • Render record, based on feature flags.
\ No newline at end of file diff --git a/delog/render/struct.DefaultRenderer.html b/delog/render/struct.DefaultRenderer.html index d092eba..98ee483 100644 --- a/delog/render/struct.DefaultRenderer.html +++ b/delog/render/struct.DefaultRenderer.html @@ -1,14 +1,14 @@ -DefaultRenderer in delog::render - Rust
delog::render

Struct DefaultRenderer

source
pub struct DefaultRenderer {}
Expand description

Renders just the record.args().

-

Trait Implementations§

source§

impl Clone for DefaultRenderer

source§

fn clone(&self) -> DefaultRenderer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Renderer for DefaultRenderer

source§

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered -record.
source§

impl Copy for DefaultRenderer

source§

impl Send for DefaultRenderer

source§

impl Sync for DefaultRenderer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+DefaultRenderer in delog::render - Rust
delog::render

Struct DefaultRenderer

Source
pub struct DefaultRenderer {}
Expand description

Renders just the record.args().

+

Trait Implementations§

Source§

impl Clone for DefaultRenderer

Source§

fn clone(&self) -> DefaultRenderer

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Renderer for DefaultRenderer

Source§

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered +record.
Source§

impl Copy for DefaultRenderer

Source§

impl Send for DefaultRenderer

Source§

impl Sync for DefaultRenderer

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/render/struct.RipgrepRenderer.html b/delog/render/struct.RipgrepRenderer.html index 3e856b0..5ec6950 100644 --- a/delog/render/struct.RipgrepRenderer.html +++ b/delog/render/struct.RipgrepRenderer.html @@ -1,14 +1,14 @@ -RipgrepRenderer in delog::render - Rust
delog::render

Struct RipgrepRenderer

source
pub struct RipgrepRenderer {}
Expand description

Renders the record.args(), prefixed by level, target, and file, line if they are some.

-

Trait Implementations§

source§

impl Clone for RipgrepRenderer

source§

fn clone(&self) -> RipgrepRenderer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Renderer for RipgrepRenderer

source§

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered -record.
source§

impl Copy for RipgrepRenderer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+RipgrepRenderer in delog::render - Rust
delog::render

Struct RipgrepRenderer

Source
pub struct RipgrepRenderer {}
Expand description

Renders the record.args(), prefixed by level, target, and file, line if they are some.

+

Trait Implementations§

Source§

impl Clone for RipgrepRenderer

Source§

fn clone(&self) -> RipgrepRenderer

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Renderer for RipgrepRenderer

Source§

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered +record.
Source§

impl Copy for RipgrepRenderer

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/struct.Record.html b/delog/struct.Record.html index 4064a4c..de0dee0 100644 --- a/delog/struct.Record.html +++ b/delog/struct.Record.html @@ -1,4 +1,4 @@ -Record in delog - Rust
delog

Struct Record

source
pub struct Record<'a> { /* private fields */ }
Expand description

The “payload” of a log message.

+Record in delog - Rust
delog

Struct Record

Source
pub struct Record<'a> { /* private fields */ }
Expand description

The “payload” of a log message.

§Use

Record structures are passed as parameters to the log method of the Log trait. Logger implementors manipulate these @@ -30,25 +30,25 @@ module path, and message of any Record that is passed to it.

} fn flush(&self) {} }
-

Implementations§

source§

impl<'a> Record<'a>

source

pub fn builder() -> RecordBuilder<'a>

Returns a new builder.

-
source

pub fn args(&self) -> &Arguments<'a>

The message body.

-
source

pub fn metadata(&self) -> &Metadata<'a>

Metadata about the log directive.

-
source

pub fn level(&self) -> Level

The verbosity level of the message.

-
source

pub fn target(&self) -> &'a str

The name of the target of the directive.

-
source

pub fn module_path(&self) -> Option<&'a str>

The module path of the message.

-
source

pub fn module_path_static(&self) -> Option<&'static str>

The module path of the message, if it is a 'static string.

-
source

pub fn file(&self) -> Option<&'a str>

The source file containing the message.

-
source

pub fn file_static(&self) -> Option<&'static str>

The source file containing the message, if it is a 'static string.

-
source

pub fn line(&self) -> Option<u32>

The line containing the message.

-

Trait Implementations§

source§

impl<'a> Clone for Record<'a>

source§

fn clone(&self) -> Record<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Record<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Record<'a>

§

impl<'a> RefUnwindSafe for Record<'a>

§

impl<'a> !Send for Record<'a>

§

impl<'a> !Sync for Record<'a>

§

impl<'a> Unpin for Record<'a>

§

impl<'a> UnwindSafe for Record<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

Source§

impl<'a> Record<'a>

Source

pub fn builder() -> RecordBuilder<'a>

Returns a new builder.

+
Source

pub fn args(&self) -> &Arguments<'a>

The message body.

+
Source

pub fn metadata(&self) -> &Metadata<'a>

Metadata about the log directive.

+
Source

pub fn level(&self) -> Level

The verbosity level of the message.

+
Source

pub fn target(&self) -> &'a str

The name of the target of the directive.

+
Source

pub fn module_path(&self) -> Option<&'a str>

The module path of the message.

+
Source

pub fn module_path_static(&self) -> Option<&'static str>

The module path of the message, if it is a 'static string.

+
Source

pub fn file(&self) -> Option<&'a str>

The source file containing the message.

+
Source

pub fn file_static(&self) -> Option<&'static str>

The source file containing the message, if it is a 'static string.

+
Source

pub fn line(&self) -> Option<u32>

The line containing the message.

+

Trait Implementations§

Source§

impl<'a> Clone for Record<'a>

Source§

fn clone(&self) -> Record<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Record<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Record<'a>

§

impl<'a> RefUnwindSafe for Record<'a>

§

impl<'a> !Send for Record<'a>

§

impl<'a> !Sync for Record<'a>

§

impl<'a> Unpin for Record<'a>

§

impl<'a> UnwindSafe for Record<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/struct.Statistics.html b/delog/struct.Statistics.html index 157d896..4d757c2 100644 --- a/delog/struct.Statistics.html +++ b/delog/struct.Statistics.html @@ -1,24 +1,24 @@ -Statistics in delog - Rust
delog

Struct Statistics

source
pub struct Statistics {
-    pub attempts: usize,
-    pub successes: usize,
-    pub flushes: usize,
-    pub read: usize,
-    pub written: usize,
+Statistics in delog - Rust
delog

Struct Statistics

Source
pub struct Statistics {
+    pub attempts: usize,
+    pub successes: usize,
+    pub flushes: usize,
+    pub read: usize,
+    pub written: usize,
 }
Expand description

Statistics on logger usage.

-

Fields§

§attempts: usize

How often was one of the logging macros called.

-
§successes: usize

How often was one of the logging macros called without early exit (e.g., buffer not full)

-
§flushes: usize

How often was the flusher called.

-
§read: usize

How many bytes were flushed so far.

-
§written: usize

How many bytes were logged so far.

-

Trait Implementations§

source§

impl Clone for Statistics

source§

fn clone(&self) -> Statistics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Statistics

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Statistics

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§attempts: usize

How often was one of the logging macros called.

+
§successes: usize

How often was one of the logging macros called without early exit (e.g., buffer not full)

+
§flushes: usize

How often was the flusher called.

+
§read: usize

How many bytes were flushed so far.

+
§written: usize

How many bytes were logged so far.

+

Trait Implementations§

Source§

impl Clone for Statistics

Source§

fn clone(&self) -> Statistics

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Statistics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for Statistics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/delog/trait.Delogger.html b/delog/trait.Delogger.html index ebd04ce..7a7d4a8 100644 --- a/delog/trait.Delogger.html +++ b/delog/trait.Delogger.html @@ -1,24 +1,24 @@ -Delogger in delog - Rust
delog

Trait Delogger

source
pub unsafe trait Delogger:
+Delogger in delog - Rust
delog

Trait Delogger

Source
pub unsafe trait Delogger:
     Log
     + TryLog
-    + State<&'static AtomicUsize> {
+    + State<&'static AtomicUsize> {
     // Required methods
-    fn buffer(&self) -> &'static mut [u8];
-    fn claimed(&self) -> &'static AtomicUsize;
-    fn flush(&self, logs: &str);
-    fn render(&self, record: &Record<'_>) -> &'static [u8];
+    fn buffer(&self) -> &'static mut [u8];
+    fn claimed(&self) -> &'static AtomicUsize;
+    fn flush(&self, logs: &str);
+    fn render(&self, record: &Record<'_>) -> &'static [u8];
 
     // Provided method
-    fn capacity(&self) -> usize { ... }
+    fn capacity(&self) -> usize { ... }
 }
Expand description

Semi-abstract characterization of the deferred loggers that the delog! macro produces.

§Safety

This trait is markes “unsafe” to signal that users should never (need to) “write their own”, but always go through the delog! macro.

The user has access to the global logger via delog::logger(), but only as TryLog/Log implementation, not with this direct access to implementation details.

-

Required Methods§

source

fn buffer(&self) -> &'static mut [u8]

the underlying buffer

-
source

fn claimed(&self) -> &'static AtomicUsize

How many characters were claimed so far.

-
source

fn flush(&self, logs: &str)

Call the flusher.

-
source

fn render(&self, record: &Record<'_>) -> &'static [u8]

Actually render the arguments (via internal static buffer).

-

Provided Methods§

source

fn capacity(&self) -> usize

Capacity of circular buffer.

+

Required Methods§

Source

fn buffer(&self) -> &'static mut [u8]

the underlying buffer

+
Source

fn claimed(&self) -> &'static AtomicUsize

How many characters were claimed so far.

+
Source

fn flush(&self, logs: &str)

Call the flusher.

+
Source

fn render(&self, record: &Record<'_>) -> &'static [u8]

Actually render the arguments (via internal static buffer).

+

Provided Methods§

Source

fn capacity(&self) -> usize

Capacity of circular buffer.

Implementors§

\ No newline at end of file diff --git a/delog/trait.Flusher.html b/delog/trait.Flusher.html index 9578757..26638b0 100644 --- a/delog/trait.Flusher.html +++ b/delog/trait.Flusher.html @@ -1,9 +1,9 @@ -Flusher in delog - Rust
delog

Trait Flusher

source
pub trait Flusher: Debug + Send {
+Flusher in delog - Rust
delog

Trait Flusher

Source
pub trait Flusher: Debug + Send {
     // Required method
-    fn flush(&self, logs: &str);
+    fn flush(&self, logs: &str);
 }
Expand description

A way to pass on logs, user supplied.

In embedded, this is intended to pend an interrupt to send the logs off via (USB) serial, semihosting, or similar.

On PC, typical implemenation will just println! or eprintln!

-

Required Methods§

source

fn flush(&self, logs: &str)

Implementor must handle passed log &str in some hopefully useful way.

+

Required Methods§

Source

fn flush(&self, logs: &str)

Implementor must handle passed log &str in some hopefully useful way.

Implementors§

\ No newline at end of file diff --git a/delog/trait.Renderer.html b/delog/trait.Renderer.html index da98ec8..d3d36df 100644 --- a/delog/trait.Renderer.html +++ b/delog/trait.Renderer.html @@ -1,7 +1,7 @@ -Renderer in delog - Rust
delog

Trait Renderer

source
pub trait Renderer: Send + Sync {
+Renderer in delog - Rust
delog

Trait Renderer

Source
pub trait Renderer: Send + Sync {
     // Required method
-    fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8];
+    fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8];
 }
Expand description

A way to format logs, user supplied.

-

Required Methods§

source

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered +

Required Methods§

Source

fn render<'a>(&self, buf: &'a mut [u8], record: &Record<'_>) -> &'a [u8]

Implementor must render record into buf, returning the slice containing the rendered record.

-

Implementors§

\ No newline at end of file +

Implementors§

\ No newline at end of file diff --git a/delog/trait.State.html b/delog/trait.State.html index 5eb3492..6cae831 100644 --- a/delog/trait.State.html +++ b/delog/trait.State.html @@ -1,4 +1,4 @@ -State in delog - Rust
delog

Trait State

source
pub trait State<T> {
+State in delog - Rust
delog

Trait State

Source
pub trait State<T> {
     // Required methods
     fn attempts(&self) -> T;
     fn successes(&self) -> T;
@@ -6,9 +6,9 @@
     fn read(&self) -> T;
     fn written(&self) -> T;
 }
Expand description

Trait for either state or statistics of loggers.

-

Required Methods§

source

fn attempts(&self) -> T

How often was one of the logging macros called.

-
source

fn successes(&self) -> T

How often was one of the logging macros called without early exit (e.g., buffer not full)

-
source

fn flushes(&self) -> T

How often was the flusher called.

-
source

fn read(&self) -> T

How many bytes were flushed so far.

-
source

fn written(&self) -> T

How many bytes were logged so far.

+

Required Methods§

Source

fn attempts(&self) -> T

How often was one of the logging macros called.

+
Source

fn successes(&self) -> T

How often was one of the logging macros called without early exit (e.g., buffer not full)

+
Source

fn flushes(&self) -> T

How often was the flusher called.

+
Source

fn read(&self) -> T

How many bytes were flushed so far.

+
Source

fn written(&self) -> T

How many bytes were logged so far.

Implementors§

\ No newline at end of file diff --git a/delog/trait.TryLog.html b/delog/trait.TryLog.html index b6b159f..e3e5ba7 100644 --- a/delog/trait.TryLog.html +++ b/delog/trait.TryLog.html @@ -1,11 +1,11 @@ -TryLog in delog - Rust
delog

Trait TryLog

source
pub trait TryLog: Log {
+TryLog in delog - Rust
delog

Trait TryLog

Source
pub trait TryLog: Log {
     // Required method
-    fn try_log(&self, _: &Record<'_>) -> Result<(), ()>;
+    fn try_log(&self, _: &Record<'_>) -> Result<(), ()>;
 }
Expand description

Fallible, panic-free version of the log::Log trait.

The intention is actually that implementors of this trait also implement log::Log in a panic-free fashion, and simply drop logs that can’t be logged. Because, if the user can handle the error, they would be using the fallible macros, and if not, they most likely do not want to crash.

-

Required Methods§

source

fn try_log(&self, _: &Record<'_>) -> Result<(), ()>

Fallible logging call (fails when buffer is full)

+

Required Methods§

Source

fn try_log(&self, _: &Record<'_>) -> Result<(), ()>

Fallible logging call (fails when buffer is full)

Implementors§

\ No newline at end of file diff --git a/delog/trait.TryLogWithStatistics.html b/delog/trait.TryLogWithStatistics.html index 776be91..5dfd7a5 100644 --- a/delog/trait.TryLogWithStatistics.html +++ b/delog/trait.TryLogWithStatistics.html @@ -1,6 +1,6 @@ -TryLogWithStatistics in delog - Rust
delog

Trait TryLogWithStatistics

source
pub trait TryLogWithStatistics: TryLog + State<usize> {
+TryLogWithStatistics in delog - Rust
delog

Trait TryLogWithStatistics

Source
pub trait TryLogWithStatistics: TryLog + State<usize> {
     // Provided method
     fn statistics(&self) -> Statistics { ... }
 }
Expand description

TryLog with some usage statistics on top.

-

Provided Methods§

source

fn statistics(&self) -> Statistics

Read out statistics on logger usage.

+

Provided Methods§

Source

fn statistics(&self) -> Statistics

Read out statistics on logger usage.

Implementors§

\ No newline at end of file diff --git a/flexiber/all.html b/flexiber/all.html index b8f72ca..2d9863c 100644 --- a/flexiber/all.html +++ b/flexiber/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/flexiber/derive.Decodable.html b/flexiber/derive.Decodable.html index ecad1ed..a05d1ff 100644 --- a/flexiber/derive.Decodable.html +++ b/flexiber/derive.Decodable.html @@ -1,4 +1,4 @@ -Decodable in flexiber - Rust
flexiber

Derive Macro Decodable

source
#[derive(Decodable)]
+Decodable in flexiber - Rust
flexiber

Derive Macro Decodable

Source
#[derive(Decodable)]
 {
     // Attributes available to this derive:
     #[tlv]
diff --git a/flexiber/derive.Encodable.html b/flexiber/derive.Encodable.html
index e0418bf..3069285 100644
--- a/flexiber/derive.Encodable.html
+++ b/flexiber/derive.Encodable.html
@@ -1,4 +1,4 @@
-Encodable in flexiber - Rust
flexiber

Derive Macro Encodable

source
#[derive(Encodable)]
+Encodable in flexiber - Rust
flexiber

Derive Macro Encodable

Source
#[derive(Encodable)]
 {
     // Attributes available to this derive:
     #[tlv]
diff --git a/flexiber/enum.Class.html b/flexiber/enum.Class.html
index 8c957bf..575f38d 100644
--- a/flexiber/enum.Class.html
+++ b/flexiber/enum.Class.html
@@ -1,19 +1,19 @@
-Class in flexiber - Rust
flexiber

Enum Class

source
#[repr(u8)]
pub enum Class { +Class in flexiber - Rust
flexiber

Enum Class

Source
#[repr(u8)]
pub enum Class { Universal = 0, Application = 1, Context = 2, Private = 3, }
Expand description

Class of BER tag.

-

Variants§

§

Universal = 0

§

Application = 1

§

Context = 2

§

Private = 3

Trait Implementations§

source§

impl Clone for Class

source§

fn clone(&self) -> Class

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Class

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Class

source§

fn eq(&self, other: &Class) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TryFrom<u8> for Class

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(value: u8) -> Result<Self>

Performs the conversion.
source§

impl Copy for Class

source§

impl Eq for Class

source§

impl StructuralPartialEq for Class

Auto Trait Implementations§

§

impl Freeze for Class

§

impl RefUnwindSafe for Class

§

impl Send for Class

§

impl Sync for Class

§

impl Unpin for Class

§

impl UnwindSafe for Class

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

Universal = 0

§

Application = 1

§

Context = 2

§

Private = 3

Trait Implementations§

Source§

impl Clone for Class

Source§

fn clone(&self) -> Class

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Class

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Class

Source§

fn eq(&self, other: &Class) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for Class

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: u8) -> Result<Self>

Performs the conversion.
Source§

impl Copy for Class

Source§

impl Eq for Class

Source§

impl StructuralPartialEq for Class

Auto Trait Implementations§

§

impl Freeze for Class

§

impl RefUnwindSafe for Class

§

impl Send for Class

§

impl Sync for Class

§

impl Unpin for Class

§

impl UnwindSafe for Class

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/enum.ErrorKind.html b/flexiber/enum.ErrorKind.html index 8f62ff9..9bab390 100644 --- a/flexiber/enum.ErrorKind.html +++ b/flexiber/enum.ErrorKind.html @@ -1,10 +1,10 @@ -ErrorKind in flexiber - Rust
flexiber

Enum ErrorKind

source
#[non_exhaustive]
pub enum ErrorKind { +ErrorKind in flexiber - Rust
flexiber

Enum ErrorKind

Source
#[non_exhaustive]
pub enum ErrorKind { Failed, InvalidClass { - value: u8, + value: u8, }, InvalidTag { - byte: u8, + byte: u8, }, InvalidLength, Length { @@ -22,15 +22,15 @@ actual: Length, }, UnexpectedTag { - expected: Option<Tag>, + expected: Option<Tag>, actual: Tag, }, UnsupportedTagSize, }
Expand description

Error type.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Failed

Operation failed due to previous error

§

InvalidClass

Class has more than 2 bytes

-

Fields

§value: u8
§

InvalidTag

Invalid tag

-

Fields

§byte: u8

Raw byte value of the tag

+

Fields

§value: u8
§

InvalidTag

Invalid tag

+

Fields

§byte: u8

Raw byte value of the tag

§

InvalidLength

Length greater than u16::MAX

§

Length

Incorrect length for a given field

Fields

§tag: Tag

Tag type of the value being decoded

@@ -45,23 +45,23 @@

Fields

§expected: Length

Expected length

§actual: Length

Actual length

§

UnexpectedTag

Unexpected tag

-

Fields

§expected: Option<Tag>

Tag the decoder was expecting (if there is a single such tag).

+

Fields

§expected: Option<Tag>

Tag the decoder was expecting (if there is a single such tag).

None if multiple tags are expected/allowed, but the actual tag does not match any of them.

§actual: Tag

Actual tag encountered in the message

§

UnsupportedTagSize

Tag does not fit in 3 bytes

-

Implementations§

source§

impl ErrorKind

source

pub fn at(self, position: Length) -> Error

Annotate an ErrorKind with context about where it occurred, +

Implementations§

Source§

impl ErrorKind

Source

pub fn at(self, position: Length) -> Error

Annotate an ErrorKind with context about where it occurred, returning an error.

-

Trait Implementations§

source§

impl Clone for ErrorKind

source§

fn clone(&self) -> ErrorKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ErrorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ErrorKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ErrorKind> for Error

source§

fn from(kind: ErrorKind) -> Error

Converts to this type from the input type.
source§

impl PartialEq for ErrorKind

source§

fn eq(&self, other: &ErrorKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for ErrorKind

source§

impl Eq for ErrorKind

source§

impl StructuralPartialEq for ErrorKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for ErrorKind

Source§

fn clone(&self) -> ErrorKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ErrorKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for ErrorKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<ErrorKind> for Error

Source§

fn from(kind: ErrorKind) -> Error

Converts to this type from the input type.
Source§

impl PartialEq for ErrorKind

Source§

fn eq(&self, other: &ErrorKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for ErrorKind

Source§

impl Eq for ErrorKind

Source§

impl StructuralPartialEq for ErrorKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/index.html b/flexiber/index.html index 7fef246..c680623 100644 --- a/flexiber/index.html +++ b/flexiber/index.html @@ -1,4 +1,4 @@ -flexiber - Rust

Crate flexiber

source
Expand description

§flexiber

+flexiber - Rust

Crate flexiber

Source
Expand description

§flexiber

Implementation of the BER-TLV serialization format from ISO 7816-4:2005.

ITU-T X.690 (08/2015) defines the BER, CER and DER encoding rules for ASN.1

The exact same document is ISO/IET 8825-1, which is freely available, diff --git a/flexiber/struct.Decoder.html b/flexiber/struct.Decoder.html index 8fa0018..a541383 100644 --- a/flexiber/struct.Decoder.html +++ b/flexiber/struct.Decoder.html @@ -1,30 +1,30 @@ -Decoder in flexiber - Rust

flexiber

Struct Decoder

source
pub struct Decoder<'a> { /* private fields */ }
Expand description

BER-TLV decoder.

-

Implementations§

source§

impl<'a> Decoder<'a>

source

pub fn new(bytes: &'a [u8]) -> Self

Create a new decoder for the given byte slice.

-
source

pub fn decode<T: Decodable<'a>>(&mut self) -> Result<T>

Decode a value which impls the Decodable trait.

-
source

pub fn decode_tagged_value<T: Decodable<'a> + TagLike, V: Decodable<'a>>( +Decoder in flexiber - Rust
flexiber

Struct Decoder

Source
pub struct Decoder<'a> { /* private fields */ }
Expand description

BER-TLV decoder.

+

Implementations§

Source§

impl<'a> Decoder<'a>

Source

pub fn new(bytes: &'a [u8]) -> Self

Create a new decoder for the given byte slice.

+
Source

pub fn decode<T: Decodable<'a>>(&mut self) -> Result<T>

Decode a value which impls the Decodable trait.

+
Source

pub fn decode_tagged_value<T: Decodable<'a> + TagLike, V: Decodable<'a>>( &mut self, tag: T, ) -> Result<V>

Decode a TaggedValue with tag checked to be as expected, returning the value

-
source

pub fn decode_tagged_slice<T: Decodable<'a> + TagLike>( +

Source

pub fn decode_tagged_slice<T: Decodable<'a> + TagLike>( &mut self, tag: T, -) -> Result<&'a [u8]>

Decode a TaggedSlice with tag checked to be as expected, returning the value

-
source

pub fn error<T>(&mut self, kind: ErrorKind) -> Result<T>

Return an error with the given ErrorKind, annotating it with +) -> Result<&'a [u8]>

Decode a TaggedSlice with tag checked to be as expected, returning the value

+
Source

pub fn error<T>(&mut self, kind: ErrorKind) -> Result<T>

Return an error with the given ErrorKind, annotating it with context about where the error occurred.

-
source

pub fn is_failed(&self) -> bool

Did the decoding operation fail due to an error?

-
source

pub fn finish<T>(self, value: T) -> Result<T>

Finish decoding, returning the given value if there is no +

Source

pub fn is_failed(&self) -> bool

Did the decoding operation fail due to an error?

+
Source

pub fn finish<T>(self, value: T) -> Result<T>

Finish decoding, returning the given value if there is no remaining data, or an error otherwise

-
source

pub fn is_finished(&self) -> bool

Have we decoded all of the bytes in this Decoder?

+
Source

pub fn is_finished(&self) -> bool

Have we decoded all of the bytes in this Decoder?

Returns false if we’re not finished decoding or if a fatal error has occurred.

-

Trait Implementations§

source§

impl<'a> Debug for Decoder<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a [u8]> for Decoder<'a>

source§

fn from(bytes: &'a [u8]) -> Decoder<'a>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a> Freeze for Decoder<'a>

§

impl<'a> RefUnwindSafe for Decoder<'a>

§

impl<'a> Send for Decoder<'a>

§

impl<'a> Sync for Decoder<'a>

§

impl<'a> Unpin for Decoder<'a>

§

impl<'a> UnwindSafe for Decoder<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl<'a> Debug for Decoder<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<&'a [u8]> for Decoder<'a>

Source§

fn from(bytes: &'a [u8]) -> Decoder<'a>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<'a> Freeze for Decoder<'a>

§

impl<'a> RefUnwindSafe for Decoder<'a>

§

impl<'a> Send for Decoder<'a>

§

impl<'a> Sync for Decoder<'a>

§

impl<'a> Unpin for Decoder<'a>

§

impl<'a> UnwindSafe for Decoder<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.Encoder.html b/flexiber/struct.Encoder.html index 09d58cb..a2774b1 100644 --- a/flexiber/struct.Encoder.html +++ b/flexiber/struct.Encoder.html @@ -1,28 +1,28 @@ -Encoder in flexiber - Rust
flexiber

Struct Encoder

source
pub struct Encoder<'a> { /* private fields */ }
Expand description

BER-TLV encoder.

-

Implementations§

source§

impl<'a> Encoder<'a>

source

pub fn new(bytes: &'a mut [u8]) -> Self

Create a new encoder with the given byte slice as a backing buffer.

-
source

pub fn encode<T: Encodable>(&mut self, encodable: &T) -> Result<()>

Encode a value which impls the Encodable trait.

-
source

pub fn error<T>(&mut self, kind: ErrorKind) -> Result<T>

Return an error with the given ErrorKind, annotating it with +Encoder in flexiber - Rust

flexiber

Struct Encoder

Source
pub struct Encoder<'a> { /* private fields */ }
Expand description

BER-TLV encoder.

+

Implementations§

Source§

impl<'a> Encoder<'a>

Source

pub fn new(bytes: &'a mut [u8]) -> Self

Create a new encoder with the given byte slice as a backing buffer.

+
Source

pub fn encode<T: Encodable>(&mut self, encodable: &T) -> Result<()>

Encode a value which impls the Encodable trait.

+
Source

pub fn error<T>(&mut self, kind: ErrorKind) -> Result<T>

Return an error with the given ErrorKind, annotating it with context about where the error occurred.

-
source

pub fn is_failed(&self) -> bool

Did the decoding operation fail due to an error?

-
source

pub fn finish(self) -> Result<&'a [u8]>

Finish encoding to the buffer, returning a slice containing the data +

Source

pub fn is_failed(&self) -> bool

Did the decoding operation fail due to an error?

+
Source

pub fn finish(self) -> Result<&'a [u8]>

Finish encoding to the buffer, returning a slice containing the data written to the buffer.

-
source

pub fn encode_tagged_collection( +

Source

pub fn encode_tagged_collection( &mut self, tag: Tag, encodables: &[&dyn Encodable], -) -> Result<()>

Encode a collection of values which impl the Encodable trait under a given tag.

-
source

pub fn encode_untagged_collection( +) -> Result<()>

Encode a collection of values which impl the Encodable trait under a given tag.

+
Source

pub fn encode_untagged_collection( &mut self, encodables: &[&dyn Encodable], -) -> Result<()>

Encode a collection of values which impl the Encodable trait under a given tag.

-

Trait Implementations§

source§

impl<'a> Debug for Encoder<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Encoder<'a>

§

impl<'a> RefUnwindSafe for Encoder<'a>

§

impl<'a> Send for Encoder<'a>

§

impl<'a> Sync for Encoder<'a>

§

impl<'a> Unpin for Encoder<'a>

§

impl<'a> !UnwindSafe for Encoder<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+) -> Result<()>

Encode a collection of values which impl the Encodable trait under a given tag.

+

Trait Implementations§

Source§

impl<'a> Debug for Encoder<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Encoder<'a>

§

impl<'a> RefUnwindSafe for Encoder<'a>

§

impl<'a> Send for Encoder<'a>

§

impl<'a> Sync for Encoder<'a>

§

impl<'a> Unpin for Encoder<'a>

§

impl<'a> !UnwindSafe for Encoder<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.Error.html b/flexiber/struct.Error.html index 2225b46..a25cbdb 100644 --- a/flexiber/struct.Error.html +++ b/flexiber/struct.Error.html @@ -1,19 +1,19 @@ -Error in flexiber - Rust
flexiber

Struct Error

source
pub struct Error { /* private fields */ }
Expand description

Error type.

-

Implementations§

source§

impl Error

source

pub fn new(kind: ErrorKind, position: Length) -> Error

Create a new Error

-
source

pub fn kind(self) -> ErrorKind

Get the ErrorKind which occurred.

-
source

pub fn position(self) -> Option<Length>

Get the position inside of the message where the error occurred.

-
source

pub fn nested(self, nested_position: Length) -> Self

For errors occurring inside of a nested message, extend the position +Error in flexiber - Rust

flexiber

Struct Error

Source
pub struct Error { /* private fields */ }
Expand description

Error type.

+

Implementations§

Source§

impl Error

Source

pub fn new(kind: ErrorKind, position: Length) -> Error

Create a new Error

+
Source

pub fn kind(self) -> ErrorKind

Get the ErrorKind which occurred.

+
Source

pub fn position(self) -> Option<Length>

Get the position inside of the message where the error occurred.

+
Source

pub fn nested(self, nested_position: Length) -> Self

For errors occurring inside of a nested message, extend the position count by the location where the nested message occurs.

-

Trait Implementations§

source§

impl Clone for Error

source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ErrorKind> for Error

source§

fn from(kind: ErrorKind) -> Error

Converts to this type from the input type.
source§

impl From<Infallible> for Error

source§

fn from(_: Infallible) -> Error

Converts to this type from the input type.
source§

impl PartialEq for Error

source§

fn eq(&self, other: &Error) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Error

source§

impl Eq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for Error

Source§

fn clone(&self) -> Error

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<ErrorKind> for Error

Source§

fn from(kind: ErrorKind) -> Error

Converts to this type from the input type.
Source§

impl From<Infallible> for Error

Source§

fn from(_: Infallible) -> Error

Converts to this type from the input type.
Source§

impl PartialEq for Error

Source§

fn eq(&self, other: &Error) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for Error

Source§

impl Eq for Error

Source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.Length.html b/flexiber/struct.Length.html index c3147e8..b77c65b 100644 --- a/flexiber/struct.Length.html +++ b/flexiber/struct.Length.html @@ -1,4 +1,4 @@ -Length in flexiber - Rust
flexiber

Struct Length

source
pub struct Length(/* private fields */);
Expand description

BER-TLV-encoded length.

+Length in flexiber - Rust
flexiber

Struct Length

Source
pub struct Length(/* private fields */);
Expand description

BER-TLV-encoded length.

By definition, in the range 0..=65535

The length field consists of one or three consecutive bytes.

    @@ -7,27 +7,27 @@ zero to 254.
  • If the first byte is 0xFF, then the length field consists of the subsequent two bytes interpreted as big-endian integer, with any value from zero to 65,535.
-

Implementations§

source§

impl Length

source

pub const fn zero() -> Self

Return a length of 0.

-
source

pub const fn max() -> usize

Get the maximum length supported by BER-TLV: 65,535.

-
source

pub fn to_usize(self) -> usize

Convert length to usize.

-

Trait Implementations§

source§

impl Add<Length> for Result<Length>

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: Length) -> Self

Performs the + operation. Read more
source§

impl Add<u16> for Length

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: u16) -> Result<Self>

Performs the + operation. Read more
source§

impl Add<u8> for Length

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: u8) -> Result<Self>

Performs the + operation. Read more
source§

impl Add<usize> for Length

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: usize) -> Result<Self>

Performs the + operation. Read more
source§

impl Add for Length

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: Self) -> Result<Self>

Performs the + operation. Read more
source§

impl Clone for Length

source§

fn clone(&self) -> Length

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Length

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decodable<'_> for Length

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Length>

Attempt to decode this message using the provided decoder.
source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
source§

impl Default for Length

source§

fn default() -> Length

Returns the “default value” for a type. Read more
source§

impl Display for Length

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encodable for Length

source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice -containing the encoded message.
source§

impl From<Length> for u16

source§

fn from(len: Length) -> u16

Converts to this type from the input type.
source§

impl From<Length> for usize

source§

fn from(len: Length) -> usize

Converts to this type from the input type.
source§

impl From<u16> for Length

source§

fn from(len: u16) -> Length

Converts to this type from the input type.
source§

impl From<u8> for Length

source§

fn from(len: u8) -> Length

Converts to this type from the input type.
source§

impl Ord for Length

source§

fn cmp(&self, other: &Length) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Length

source§

fn eq(&self, other: &Length) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd for Length

source§

fn partial_cmp(&self, other: &Length) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl<'a> TryFrom<&'a [&'a dyn Encodable]> for Length

Calculate the sum of the encoded lengths of the encodables.

-
source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(encodables: &[&dyn Encodable]) -> Result<Length>

Performs the conversion.
source§

impl TryFrom<usize> for Length

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(len: usize) -> Result<Length>

Performs the conversion.
source§

impl Copy for Length

source§

impl Eq for Length

source§

impl StructuralPartialEq for Length

Auto Trait Implementations§

§

impl Freeze for Length

§

impl RefUnwindSafe for Length

§

impl Send for Length

§

impl Sync for Length

§

impl Unpin for Length

§

impl UnwindSafe for Length

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Implementations§

Source§

impl Length

Source

pub const fn zero() -> Self

Return a length of 0.

+
Source

pub const fn max() -> usize

Get the maximum length supported by BER-TLV: 65,535.

+
Source

pub fn to_usize(self) -> usize

Convert length to usize.

+

Trait Implementations§

Source§

impl Add<Length> for Result<Length>

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: Length) -> Self

Performs the + operation. Read more
Source§

impl Add<u16> for Length

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: u16) -> Result<Self>

Performs the + operation. Read more
Source§

impl Add<u8> for Length

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: u8) -> Result<Self>

Performs the + operation. Read more
Source§

impl Add<usize> for Length

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: usize) -> Result<Self>

Performs the + operation. Read more
Source§

impl Add for Length

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: Self) -> Result<Self>

Performs the + operation. Read more
Source§

impl Clone for Length

Source§

fn clone(&self) -> Length

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Length

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Decodable<'_> for Length

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Length>

Attempt to decode this message using the provided decoder.
Source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
Source§

impl Default for Length

Source§

fn default() -> Length

Returns the “default value” for a type. Read more
Source§

impl Display for Length

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Encodable for Length

Source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
Source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +containing the encoded message.
Source§

impl From<Length> for u16

Source§

fn from(len: Length) -> u16

Converts to this type from the input type.
Source§

impl From<Length> for usize

Source§

fn from(len: Length) -> usize

Converts to this type from the input type.
Source§

impl From<u16> for Length

Source§

fn from(len: u16) -> Length

Converts to this type from the input type.
Source§

impl From<u8> for Length

Source§

fn from(len: u8) -> Length

Converts to this type from the input type.
Source§

impl Ord for Length

Source§

fn cmp(&self, other: &Length) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Length

Source§

fn eq(&self, other: &Length) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialOrd for Length

Source§

fn partial_cmp(&self, other: &Length) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl<'a> TryFrom<&'a [&'a dyn Encodable]> for Length

Calculate the sum of the encoded lengths of the encodables.

+
Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(encodables: &[&dyn Encodable]) -> Result<Length>

Performs the conversion.
Source§

impl TryFrom<usize> for Length

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(len: usize) -> Result<Length>

Performs the conversion.
Source§

impl Copy for Length

Source§

impl Eq for Length

Source§

impl StructuralPartialEq for Length

Auto Trait Implementations§

§

impl Freeze for Length

§

impl RefUnwindSafe for Length

§

impl Send for Length

§

impl Sync for Length

§

impl Unpin for Length

§

impl UnwindSafe for Length

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.SimpleTag.html b/flexiber/struct.SimpleTag.html index be77b1d..3c21c69 100644 --- a/flexiber/struct.SimpleTag.html +++ b/flexiber/struct.SimpleTag.html @@ -1,20 +1,20 @@ -SimpleTag in flexiber - Rust
flexiber

Struct SimpleTag

source
pub struct SimpleTag(/* private fields */);
Expand description

These are tags like in SIMPLE-TLV.

+SimpleTag in flexiber - Rust
flexiber

Struct SimpleTag

Source
pub struct SimpleTag(/* private fields */);
Expand description

These are tags like in SIMPLE-TLV.

The tag field consists of a single byte encoding a tag number from 1 to 254. The values ‘00’ and ‘FF’ are invalid.

The use case is that PIV (FIPS 201) data objects generally use BER-TLV, but, for historical reasons, label entries with “simple” tags (in particular, tag numbers larger than 30 are still encoded as single bytes.

-

Trait Implementations§

source§

impl Clone for SimpleTag

source§

fn clone(&self) -> SimpleTag

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Decodable<'_> for SimpleTag

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Attempt to decode this message using the provided decoder.
source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
source§

impl Encodable for SimpleTag

source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice -containing the encoded message.
source§

impl PartialEq for SimpleTag

source§

fn eq(&self, other: &SimpleTag) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TagLike for SimpleTag

source§

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow -or other be coerced into a BerTag.
source§

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag. Read more
source§

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value
source§

impl TryFrom<u8> for SimpleTag

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(tag_number: u8) -> Result<Self>

Performs the conversion.
source§

impl Copy for SimpleTag

source§

impl Eq for SimpleTag

source§

impl StructuralPartialEq for SimpleTag

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for SimpleTag

Source§

fn clone(&self) -> SimpleTag

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Decodable<'_> for SimpleTag

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Attempt to decode this message using the provided decoder.
Source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
Source§

impl Encodable for SimpleTag

Source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
Source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +containing the encoded message.
Source§

impl PartialEq for SimpleTag

Source§

fn eq(&self, other: &SimpleTag) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl TagLike for SimpleTag

Source§

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow +or other be coerced into a BerTag.
Source§

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag. Read more
Source§

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value
Source§

impl TryFrom<u8> for SimpleTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(tag_number: u8) -> Result<Self>

Performs the conversion.
Source§

impl Copy for SimpleTag

Source§

impl Eq for SimpleTag

Source§

impl StructuralPartialEq for SimpleTag

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.Slice.html b/flexiber/struct.Slice.html index c58898c..3a81f89 100644 --- a/flexiber/struct.Slice.html +++ b/flexiber/struct.Slice.html @@ -1,19 +1,19 @@ -Slice in flexiber - Rust
flexiber

Struct Slice

source
pub struct Slice<'a> { /* private fields */ }
Expand description

Slice of at most Length::max() bytes.

-

Implementations§

source§

impl<'a> Slice<'a>

source

pub fn new(slice: &'a [u8]) -> Result<Self>

Create a new Slice, ensuring that the provided slice value +Slice in flexiber - Rust

flexiber

Struct Slice

Source
pub struct Slice<'a> { /* private fields */ }
Expand description

Slice of at most Length::max() bytes.

+

Implementations§

Source§

impl<'a> Slice<'a>

Source

pub fn new(slice: &'a [u8]) -> Result<Self>

Create a new Slice, ensuring that the provided slice value is shorter than Length::max().

-
source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice

-
source

pub fn length(self) -> Length

Get the Length of this Slice

-
source

pub fn is_empty(self) -> bool

Is this Slice empty?

-

Trait Implementations§

source§

impl AsRef<[u8]> for Slice<'_>

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<'a> Clone for Slice<'a>

source§

fn clone(&self) -> Slice<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Slice<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> PartialEq for Slice<'a>

source§

fn eq(&self, other: &Slice<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl<'a> Copy for Slice<'a>

source§

impl<'a> Eq for Slice<'a>

source§

impl<'a> StructuralPartialEq for Slice<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Slice<'a>

§

impl<'a> RefUnwindSafe for Slice<'a>

§

impl<'a> Send for Slice<'a>

§

impl<'a> Sync for Slice<'a>

§

impl<'a> Unpin for Slice<'a>

§

impl<'a> UnwindSafe for Slice<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
Source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice

+
Source

pub fn length(self) -> Length

Get the Length of this Slice

+
Source

pub fn is_empty(self) -> bool

Is this Slice empty?

+

Trait Implementations§

Source§

impl AsRef<[u8]> for Slice<'_>

Source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<'a> Clone for Slice<'a>

Source§

fn clone(&self) -> Slice<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for Slice<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> PartialEq for Slice<'a>

Source§

fn eq(&self, other: &Slice<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<'a> Copy for Slice<'a>

Source§

impl<'a> Eq for Slice<'a>

Source§

impl<'a> StructuralPartialEq for Slice<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Slice<'a>

§

impl<'a> RefUnwindSafe for Slice<'a>

§

impl<'a> Send for Slice<'a>

§

impl<'a> Sync for Slice<'a>

§

impl<'a> Unpin for Slice<'a>

§

impl<'a> UnwindSafe for Slice<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.Tag.html b/flexiber/struct.Tag.html index 04e593e..5ed868e 100644 --- a/flexiber/struct.Tag.html +++ b/flexiber/struct.Tag.html @@ -1,20 +1,20 @@ -Tag in flexiber - Rust
flexiber

Struct Tag

source
pub struct Tag {
+Tag in flexiber - Rust
flexiber

Struct Tag

Source
pub struct Tag {
     pub class: Class,
-    pub constructed: bool,
-    pub number: u16,
+    pub constructed: bool,
+    pub number: u16,
 }
Expand description

The tag field consists of a single byte encoding a tag number from 1 to 254. The values ‘00’ and ‘FF’ are invalid.

-

Fields§

§class: Class§constructed: bool§number: u16

Implementations§

source§

impl Tag

source

pub const BOOLEAN: Self = _

source

pub const INTEGER: Self = _

source

pub const BIT_STRING: Self = _

source

pub const OCTET_STRING: Self = _

source

pub const NULL: Self = _

source

pub const OBJECT_IDENTIFIER: Self = _

source

pub const UTF8_STRING: Self = _

source

pub const PRINTABLE_STRING: Self = _

source

pub const UTC_TIME: Self = _

source

pub const GENERALIZED_TIME: Self = _

source

pub const SEQUENCE: Self = _

source

pub const SET: Self = _

source

pub fn from(class: Class, constructed: bool, number: u16) -> Self

source

pub const fn universal(number: u16) -> Self

source

pub const fn application(number: u16) -> Self

source

pub const fn context(number: u16) -> Self

source

pub const fn private(number: u16) -> Self

source

pub const fn constructed(self) -> Self

Trait Implementations§

source§

impl Clone for Tag

source§

fn clone(&self) -> Tag

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Tag

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decodable<'_> for Tag

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Attempt to decode this message using the provided decoder.
source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
source§

impl Display for Tag

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encodable for Tag

source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice -containing the encoded message.
source§

impl PartialEq for Tag

source§

fn eq(&self, other: &Tag) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TagLike for Tag

source§

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow -or other be coerced into a BerTag.
source§

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag. Read more
source§

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value
source§

impl TryFrom<&[u8]> for Tag

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(encoding: &[u8]) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<u8> for Tag

source§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(encoded_value: u8) -> Result<Self>

Performs the conversion.
source§

impl Copy for Tag

source§

impl Eq for Tag

source§

impl StructuralPartialEq for Tag

Auto Trait Implementations§

§

impl Freeze for Tag

§

impl RefUnwindSafe for Tag

§

impl Send for Tag

§

impl Sync for Tag

§

impl Unpin for Tag

§

impl UnwindSafe for Tag

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Fields§

§class: Class§constructed: bool§number: u16

Implementations§

Source§

impl Tag

Source

pub const BOOLEAN: Self = _

Source

pub const INTEGER: Self = _

Source

pub const BIT_STRING: Self = _

Source

pub const OCTET_STRING: Self = _

Source

pub const NULL: Self = _

Source

pub const OBJECT_IDENTIFIER: Self = _

Source

pub const UTF8_STRING: Self = _

Source

pub const PRINTABLE_STRING: Self = _

Source

pub const UTC_TIME: Self = _

Source

pub const GENERALIZED_TIME: Self = _

Source

pub const SEQUENCE: Self = _

Source

pub const SET: Self = _

Source

pub fn from(class: Class, constructed: bool, number: u16) -> Self

Source

pub const fn universal(number: u16) -> Self

Source

pub const fn application(number: u16) -> Self

Source

pub const fn context(number: u16) -> Self

Source

pub const fn private(number: u16) -> Self

Source

pub const fn constructed(self) -> Self

Trait Implementations§

Source§

impl Clone for Tag

Source§

fn clone(&self) -> Tag

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Tag

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Decodable<'_> for Tag

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Attempt to decode this message using the provided decoder.
Source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
Source§

impl Display for Tag

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Encodable for Tag

Source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
Source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +containing the encoded message.
Source§

impl PartialEq for Tag

Source§

fn eq(&self, other: &Tag) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl TagLike for Tag

Source§

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow +or other be coerced into a BerTag.
Source§

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag. Read more
Source§

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value
Source§

impl TryFrom<&[u8]> for Tag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(encoding: &[u8]) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<u8> for Tag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(encoded_value: u8) -> Result<Self>

Performs the conversion.
Source§

impl Copy for Tag

Source§

impl Eq for Tag

Source§

impl StructuralPartialEq for Tag

Auto Trait Implementations§

§

impl Freeze for Tag

§

impl RefUnwindSafe for Tag

§

impl Send for Tag

§

impl Sync for Tag

§

impl Unpin for Tag

§

impl UnwindSafe for Tag

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/struct.TaggedValue.html b/flexiber/struct.TaggedValue.html index 6d01a9c..db5ccfd 100644 --- a/flexiber/struct.TaggedValue.html +++ b/flexiber/struct.TaggedValue.html @@ -1,39 +1,39 @@ -TaggedValue in flexiber - Rust
flexiber

Struct TaggedValue

source
pub struct TaggedValue<V, T = Tag> { /* private fields */ }
Expand description

BER-TLV data object.

-

Implementations§

source§

impl<V, T> TaggedValue<V, T>
where - T: Copy,

source

pub fn new(tag: T, value: V) -> Self

source

pub fn tag(&self) -> T

source§

impl<'a, T> TaggedValue<Slice<'a>, T>
where - T: Copy,

source

pub fn from(tag: T, slice: &'a [u8]) -> Result<Self>

Create a new tagged slice, checking lengths.

-
source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice.

-
source

pub fn length(&self) -> Length

Get the length of the inner byte slice.

-
source

pub fn is_empty(&self) -> bool

Is the inner byte slice empty?

-
source

pub fn decode_nested<F, R>(&self, f: F) -> Result<R>
where - F: FnOnce(&mut Decoder<'a>) -> Result<R>,

Decode nested values, creating a new Decoder for +TaggedValue in flexiber - Rust

flexiber

Struct TaggedValue

Source
pub struct TaggedValue<V, T = Tag> { /* private fields */ }
Expand description

BER-TLV data object.

+

Implementations§

Source§

impl<V, T> TaggedValue<V, T>
where + T: Copy,

Source

pub fn new(tag: T, value: V) -> Self

Source

pub fn tag(&self) -> T

Source§

impl<'a, T> TaggedValue<Slice<'a>, T>
where + T: Copy,

Source

pub fn from(tag: T, slice: &'a [u8]) -> Result<Self>

Create a new tagged slice, checking lengths.

+
Source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice.

+
Source

pub fn length(&self) -> Length

Get the length of the inner byte slice.

+
Source

pub fn is_empty(&self) -> bool

Is the inner byte slice empty?

+
Source

pub fn decode_nested<F, R>(&self, f: F) -> Result<R>
where + F: FnOnce(&mut Decoder<'a>) -> Result<R>,

Decode nested values, creating a new Decoder for the data contained in the sequence’s body and passing it to the provided -FnOnce.

-

Trait Implementations§

source§

impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>

source§

fn clone(&self) -> TaggedValue<V, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<E, T> Encodable for TaggedValue<&E, T>
where +FnOnce.

+

Trait Implementations§

Source§

impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>

Source§

fn clone(&self) -> TaggedValue<V, T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<E, T> Encodable for TaggedValue<&E, T>
where E: Encodable, - T: Copy + Encodable,

source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice -containing the encoded message.
source§

impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>

source§

fn eq(&self, other: &TaggedValue<V, T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>

source§

impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>

source§

impl<V, T> StructuralPartialEq for TaggedValue<V, T>

Auto Trait Implementations§

§

impl<V, T> Freeze for TaggedValue<V, T>
where - T: Freeze, - V: Freeze,

§

impl<V, T> RefUnwindSafe for TaggedValue<V, T>
where - T: RefUnwindSafe, - V: RefUnwindSafe,

§

impl<V, T> Send for TaggedValue<V, T>
where - T: Send, - V: Send,

§

impl<V, T> Sync for TaggedValue<V, T>
where - T: Sync, - V: Sync,

§

impl<V, T> Unpin for TaggedValue<V, T>
where - T: Unpin, - V: Unpin,

§

impl<V, T> UnwindSafe for TaggedValue<V, T>
where - T: UnwindSafe, - V: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Copy + Encodable,
Source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
Source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +containing the encoded message.
Source§

impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>

Source§

fn eq(&self, other: &TaggedValue<V, T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>

Source§

impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>

Source§

impl<V, T> StructuralPartialEq for TaggedValue<V, T>

Auto Trait Implementations§

§

impl<V, T> Freeze for TaggedValue<V, T>
where + T: Freeze, + V: Freeze,

§

impl<V, T> RefUnwindSafe for TaggedValue<V, T>
where + T: RefUnwindSafe, + V: RefUnwindSafe,

§

impl<V, T> Send for TaggedValue<V, T>
where + T: Send, + V: Send,

§

impl<V, T> Sync for TaggedValue<V, T>
where + T: Sync, + V: Sync,

§

impl<V, T> Unpin for TaggedValue<V, T>
where + T: Unpin, + V: Unpin,

§

impl<V, T> UnwindSafe for TaggedValue<V, T>
where + T: UnwindSafe, + V: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/flexiber/trait.Container.html b/flexiber/trait.Container.html index a940fbe..79e5133 100644 --- a/flexiber/trait.Container.html +++ b/flexiber/trait.Container.html @@ -1,13 +1,13 @@ -Container in flexiber - Rust
flexiber

Trait Container

source
pub trait Container {
+Container in flexiber - Rust
flexiber

Trait Container

Source
pub trait Container {
     // Required method
     fn fields<F, T>(&self, f: F) -> Result<T>
-       where F: FnOnce(&[&dyn Encodable]) -> Result<T>;
+       where F: FnOnce(&[&dyn Encodable]) -> Result<T>;
 }
Expand description

Multiple encodables in a container.

A container implementing Tagged has a blanked implementation of Encodable.

-

Required Methods§

source

fn fields<F, T>(&self, f: F) -> Result<T>
where - F: FnOnce(&[&dyn Encodable]) -> Result<T>,

Call the provided function with a slice of Encodable trait objects +

Required Methods§

Source

fn fields<F, T>(&self, f: F) -> Result<T>
where + F: FnOnce(&[&dyn Encodable]) -> Result<T>,

Call the provided function with a slice of Encodable trait objects representing the fields of this message.

This method uses a callback because structs with fields which aren’t directly Encodable may need to construct temporary values from their fields prior to encoding.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/flexiber/trait.Decodable.html b/flexiber/trait.Decodable.html index 18ff9ba..694c408 100644 --- a/flexiber/trait.Decodable.html +++ b/flexiber/trait.Decodable.html @@ -1,17 +1,17 @@ -Decodable in flexiber - Rust
flexiber

Trait Decodable

source
pub trait Decodable<'a>: Sized {
+Decodable in flexiber - Rust
flexiber

Trait Decodable

Source
pub trait Decodable<'a>: Sized {
     // Required method
     fn decode(decoder: &mut Decoder<'a>) -> Result<Self>;
 
     // Provided method
-    fn from_bytes(bytes: &'a [u8]) -> Result<Self> { ... }
+    fn from_bytes(bytes: &'a [u8]) -> Result<Self> { ... }
 }
Expand description

Decoding trait.

Decode out of decoder, which essentially is a slice of bytes.

One way to implement this trait is to implement TryFrom<TaggedSlice<'_>, Error = Error>.

-

Required Methods§

source

fn decode(decoder: &mut Decoder<'a>) -> Result<Self>

Attempt to decode this message using the provided decoder.

-

Provided Methods§

source

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Decodable<'_> for [u8; 0]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 1]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 2]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 3]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 4]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 5]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 6]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 7]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 8]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 9]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 10]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 11]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 12]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 13]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 14]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 15]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 16]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 17]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 18]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 19]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 20]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 21]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 22]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 23]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 24]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 25]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 26]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 27]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 28]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 29]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 30]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 31]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl Decodable<'_> for [u8; 32]

source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

source§

impl<'a, T> Decodable<'a> for Option<T>
where +

Required Methods§

Source

fn decode(decoder: &mut Decoder<'a>) -> Result<Self>

Attempt to decode this message using the provided decoder.

+

Provided Methods§

Source

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.

+

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Decodable<'_> for [u8; 0]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 1]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 2]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 3]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 4]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 5]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 6]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 7]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 8]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 9]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 10]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 11]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 12]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 13]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 14]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 15]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 16]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 17]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 18]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 19]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 20]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 21]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 22]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 23]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 24]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 25]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 26]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 27]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 28]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 29]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 30]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 31]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl Decodable<'_> for [u8; 32]

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Source§

impl<'a, T> Decodable<'a> for Option<T>
where T: Decodable<'a> + Tagged,

This implementation is quite gotcha-y, since only one byte is peeked.

It should evaluate to the desired tag via Tag::try_from(byte)?.

-
source§

fn decode(decoder: &mut Decoder<'a>) -> Result<Option<T>>

Implementors§

source§

impl Decodable<'_> for Length

source§

impl Decodable<'_> for SimpleTag

source§

impl Decodable<'_> for Tag

source§

impl<'a, T> Decodable<'a> for TaggedSlice<'a, T>
where - T: Decodable<'a> + TagLike,

source§

impl<'a, X> Decodable<'a> for X
where - X: TryFrom<TaggedSlice<'a>, Error = Error>,

\ No newline at end of file +
Source§

fn decode(decoder: &mut Decoder<'a>) -> Result<Option<T>>

Implementors§

Source§

impl Decodable<'_> for Length

Source§

impl Decodable<'_> for SimpleTag

Source§

impl Decodable<'_> for Tag

Source§

impl<'a, T> Decodable<'a> for TaggedSlice<'a, T>
where + T: Decodable<'a> + TagLike,

Source§

impl<'a, X> Decodable<'a> for X
where + X: TryFrom<TaggedSlice<'a>, Error = Error>,

\ No newline at end of file diff --git a/flexiber/trait.Encodable.html b/flexiber/trait.Encodable.html index 307ae4d..bf2cf60 100644 --- a/flexiber/trait.Encodable.html +++ b/flexiber/trait.Encodable.html @@ -1,55 +1,55 @@ -Encodable in flexiber - Rust
flexiber

Trait Encodable

source
pub trait Encodable {
+Encodable in flexiber - Rust
flexiber

Trait Encodable

Source
pub trait Encodable {
     // Required methods
     fn encoded_length(&self) -> Result<Length>;
-    fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>;
+    fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>;
 
     // Provided method
-    fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]> { ... }
+    fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]> { ... }
 }
Expand description

Encoding trait.

Encode into encoder, which essentially is a mutable slice of bytes.

Additionally, the encoded length needs to be known without actually encoding.

-

Required Methods§

source

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV

-
source

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-

Provided Methods§

source

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +

Required Methods§

Source

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV

+
Source

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+

Provided Methods§

Source

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice containing the encoded message.

-

Implementations on Foreign Types§

source§

impl Encodable for &[u8]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 0]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 1]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 2]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 3]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 4]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 5]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 6]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 7]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 8]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 9]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 10]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 11]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 12]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 13]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 14]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 15]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 16]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 17]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 18]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 19]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 20]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 21]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 22]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 23]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 24]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 25]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 26]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 27]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 28]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 29]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 30]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 31]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl Encodable for [u8; 32]

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

source§

impl<T> Encodable for Option<T>
where - T: Encodable,

source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

-
source§

fn encoded_length(&self) -> Result<Length>

Implementors§

Implementations on Foreign Types§

Source§

impl Encodable for &[u8]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 0]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 1]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 2]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 3]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 4]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 5]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 6]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 7]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 8]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 9]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 10]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 11]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 12]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 13]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 14]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 15]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 16]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 17]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 18]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 19]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 20]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 21]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 22]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 23]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 24]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 25]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 26]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 27]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 28]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 29]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 30]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 31]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl Encodable for [u8; 32]

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Source§

impl<T> Encodable for Option<T>
where + T: Encodable,

Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.

+
Source§

fn encoded_length(&self) -> Result<Length>

Implementors§

Source§

impl Encodable for Length

Source§

impl Encodable for SimpleTag

Source§

impl Encodable for Tag

Source§

impl<E, T> Encodable for TaggedValue<&E, T>
where E: Encodable, - T: Copy + Encodable,

source§

impl<T> Encodable for TaggedSlice<'_, T>
where - T: Copy + Encodable,

source§

impl<TaggedContainer> Encodable for TaggedContainer
where + T: Copy + Encodable,

Source§

impl<T> Encodable for TaggedSlice<'_, T>
where + T: Copy + Encodable,

Source§

impl<TaggedContainer> Encodable for TaggedContainer
where TaggedContainer: Tagged + Container,

\ No newline at end of file diff --git a/flexiber/trait.TagLike.html b/flexiber/trait.TagLike.html index 7c66be7..d5562f0 100644 --- a/flexiber/trait.TagLike.html +++ b/flexiber/trait.TagLike.html @@ -1,7 +1,7 @@ -TagLike in flexiber - Rust
flexiber

Trait TagLike

source
pub trait TagLike:
-    Copy
-    + PartialEq
-    + Sized {
+TagLike in flexiber - Rust
flexiber

Trait TagLike

Source
pub trait TagLike:
+    Copy
+    + PartialEq
+    + Sized {
     // Required method
     fn embedding(self) -> Tag;
 
@@ -10,9 +10,9 @@
     fn with_value<V>(self, value: V) -> TaggedValue<V, Self> { ... }
 }
Expand description

This is the common trait that types to be used as tags are supposed to implement.

-

Required Methods§

source

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow +

Required Methods§

Source

fn embedding(self) -> Tag

To stick with one Error type, make sure the tag type can somehow or other be coerced into a BerTag.

-

Provided Methods§

source

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag.

+

Provided Methods§

Source

fn assert_eq(self, expected: Self) -> Result<Self>

Assert that this Tag matches the provided expected tag.

On mismatch, returns an Error with ErrorKind::UnexpectedTag.

-
source

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +
Source

fn with_value<V>(self, value: V) -> TaggedValue<V, Self>

Ergonomic way to get a TaggedValue for a given tag and value

+

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/flexiber/trait.Tagged.html b/flexiber/trait.Tagged.html index b3470d5..ffd4fe4 100644 --- a/flexiber/trait.Tagged.html +++ b/flexiber/trait.Tagged.html @@ -1,7 +1,7 @@ -Tagged in flexiber - Rust
flexiber

Trait Tagged

source
pub trait Tagged {
+Tagged in flexiber - Rust
flexiber

Trait Tagged

Source
pub trait Tagged {
     // Required method
     fn tag() -> Tag;
 }
Expand description

Types with an associated BER-TLV Tag.

A tagged type implementing Container has a blanked implementation of Encodable.

-

Required Methods§

source

fn tag() -> Tag

The tag

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Required Methods§

Source

fn tag() -> Tag

The tag

+

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/flexiber/type.Result.html b/flexiber/type.Result.html index b8b54b2..2be2e0f 100644 --- a/flexiber/type.Result.html +++ b/flexiber/type.Result.html @@ -1,7 +1,7 @@ -Result in flexiber - Rust
flexiber

Type Alias Result

source
pub type Result<T> = Result<T, Error>;
Expand description

Result type.

+Result in flexiber - Rust
flexiber

Type Alias Result

Source
pub type Result<T> = Result<T, Error>;
Expand description

Result type.

Aliased Type§

enum Result<T> {
     Ok(T),
     Err(Error),
 }

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

-

Trait Implementations§

source§

impl Add<Length> for Result<Length>

source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
source§

fn add(self, other: Length) -> Self

Performs the + operation. Read more
\ No newline at end of file +

Trait Implementations§

Source§

impl Add<Length> for Result<Length>

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: Length) -> Self

Performs the + operation. Read more
\ No newline at end of file diff --git a/flexiber/type.TaggedSlice.html b/flexiber/type.TaggedSlice.html index a96795b..ec64b32 100644 --- a/flexiber/type.TaggedSlice.html +++ b/flexiber/type.TaggedSlice.html @@ -1,14 +1,14 @@ -TaggedSlice in flexiber - Rust
flexiber

Type Alias TaggedSlice

source
pub type TaggedSlice<'a, T = Tag> = TaggedValue<Slice<'a>, T>;
Expand description

Raw BER-TLV data object TaggedValue<Slice<'_>>.

-

Aliased Type§

struct TaggedSlice<'a, T = Tag> { /* private fields */ }

Implementations§

source§

impl<'a, T> TaggedSlice<'a, T>
where - T: Copy,

source

pub fn from(tag: T, slice: &'a [u8]) -> Result<Self>

Create a new tagged slice, checking lengths.

-
source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice.

-
source

pub fn length(&self) -> Length

Get the length of the inner byte slice.

-
source

pub fn is_empty(&self) -> bool

Is the inner byte slice empty?

-
source

pub fn decode_nested<F, R>(&self, f: F) -> Result<R>
where - F: FnOnce(&mut Decoder<'a>) -> Result<R>,

Decode nested values, creating a new Decoder for +TaggedSlice in flexiber - Rust

flexiber

Type Alias TaggedSlice

Source
pub type TaggedSlice<'a, T = Tag> = TaggedValue<Slice<'a>, T>;
Expand description

Raw BER-TLV data object TaggedValue<Slice<'_>>.

+

Aliased Type§

struct TaggedSlice<'a, T = Tag> { /* private fields */ }

Implementations§

Source§

impl<'a, T> TaggedSlice<'a, T>
where + T: Copy,

Source

pub fn from(tag: T, slice: &'a [u8]) -> Result<Self>

Create a new tagged slice, checking lengths.

+
Source

pub fn as_bytes(&self) -> &'a [u8]

Borrow the inner byte slice.

+
Source

pub fn length(&self) -> Length

Get the length of the inner byte slice.

+
Source

pub fn is_empty(&self) -> bool

Is the inner byte slice empty?

+
Source

pub fn decode_nested<F, R>(&self, f: F) -> Result<R>
where + F: FnOnce(&mut Decoder<'a>) -> Result<R>,

Decode nested values, creating a new Decoder for the data contained in the sequence’s body and passing it to the provided -FnOnce.

-

Trait Implementations§

source§

impl<'a, T> Decodable<'a> for TaggedSlice<'a, T>
where - T: Decodable<'a> + TagLike,

source§

fn decode(decoder: &mut Decoder<'a>) -> Result<Self>

Attempt to decode this message using the provided decoder.
source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
source§

impl<T> Encodable for TaggedSlice<'_, T>
where - T: Copy + Encodable,

source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice +FnOnce.

+

Trait Implementations§

Source§

impl<'a, T> Decodable<'a> for TaggedSlice<'a, T>
where + T: Decodable<'a> + TagLike,

Source§

fn decode(decoder: &mut Decoder<'a>) -> Result<Self>

Attempt to decode this message using the provided decoder.
Source§

fn from_bytes(bytes: &'a [u8]) -> Result<Self>

Parse Self from the provided byte slice.
Source§

impl<T> Encodable for TaggedSlice<'_, T>
where + T: Copy + Encodable,

Source§

fn encoded_length(&self) -> Result<Length>

Compute the length of this value in bytes when encoded as BER-TLV
Source§

fn encode(&self, encoder: &mut Encoder<'_>) -> Result<()>

Encode this value as BER-TLV using the provided Encoder.
Source§

fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]>

Encode this value to the provided byte slice, returning a sub-slice containing the encoded message.
\ No newline at end of file diff --git a/flexiber_derive/all.html b/flexiber_derive/all.html index d0226ad..47910d2 100644 --- a/flexiber_derive/all.html +++ b/flexiber_derive/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Derive Macros

\ No newline at end of file +List of all items in this crate

List of all items

Derive Macros

\ No newline at end of file diff --git a/flexiber_derive/derive.Decodable.html b/flexiber_derive/derive.Decodable.html index c769744..3c2246c 100644 --- a/flexiber_derive/derive.Decodable.html +++ b/flexiber_derive/derive.Decodable.html @@ -1,4 +1,4 @@ -Decodable in flexiber_derive - Rust
flexiber_derive

Derive Macro Decodable

source
#[derive(Decodable)]
+Decodable in flexiber_derive - Rust
flexiber_derive

Derive Macro Decodable

Source
#[derive(Decodable)]
 {
     // Attributes available to this derive:
     #[tlv]
diff --git a/flexiber_derive/derive.Encodable.html b/flexiber_derive/derive.Encodable.html
index ce23ce4..63d0aaf 100644
--- a/flexiber_derive/derive.Encodable.html
+++ b/flexiber_derive/derive.Encodable.html
@@ -1,4 +1,4 @@
-Encodable in flexiber_derive - Rust
flexiber_derive

Derive Macro Encodable

source
#[derive(Encodable)]
+Encodable in flexiber_derive - Rust
flexiber_derive

Derive Macro Encodable

Source
#[derive(Encodable)]
 {
     // Attributes available to this derive:
     #[tlv]
diff --git a/flexiber_derive/index.html b/flexiber_derive/index.html
index 901a8ff..81f50be 100644
--- a/flexiber_derive/index.html
+++ b/flexiber_derive/index.html
@@ -1,4 +1,4 @@
-flexiber_derive - Rust

Crate flexiber_derive

source
Expand description

Custom derive support for the flexiber crate

+flexiber_derive - Rust

Crate flexiber_derive

Source
Expand description

Custom derive support for the flexiber crate

With #[tlv(slice)] set, Encodable should work for fields implementing AsRef<[u8]>, and Decodable should work for fields implementing TryFrom<[u8]>, even if the field is not Decodable or Encodable.

diff --git a/help.html b/help.html index 3bb78ac..6008c37 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/log/all.html b/log/all.html index 5312ded..e145420 100644 --- a/log/all.html +++ b/log/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/log/constant.STATIC_MAX_LEVEL.html b/log/constant.STATIC_MAX_LEVEL.html index cc13bde..5076a20 100644 --- a/log/constant.STATIC_MAX_LEVEL.html +++ b/log/constant.STATIC_MAX_LEVEL.html @@ -1,4 +1,4 @@ -STATIC_MAX_LEVEL in log - Rust
log

Constant STATIC_MAX_LEVEL

source
pub const STATIC_MAX_LEVEL: LevelFilter;
Expand description

The statically resolved maximum log level.

+STATIC_MAX_LEVEL in log - Rust
log

Constant STATIC_MAX_LEVEL

Source
pub const STATIC_MAX_LEVEL: LevelFilter;
Expand description

The statically resolved maximum log level.

See the crate level documentation for information on how to configure this.

This value is checked by the log macros, but not by the Logger returned by the logger function. Code that manually calls functions on that value diff --git a/log/enum.Level.html b/log/enum.Level.html index 834cae8..318e64e 100644 --- a/log/enum.Level.html +++ b/log/enum.Level.html @@ -1,4 +1,4 @@ -Level in log - Rust

log

Enum Level

source
#[repr(usize)]
pub enum Level { +Level in log - Rust
log

Enum Level

Source
#[repr(usize)]
pub enum Level { Error = 1, Warn = 2, Info = 3, @@ -19,11 +19,11 @@

Designates lower priority information.

§

Trace = 5

The “trace” level.

Designates very low priority, often extremely verbose, information.

-

Implementations§

source§

impl Level

source

pub fn max() -> Level

Returns the most verbose logging level.

-
source

pub fn to_level_filter(&self) -> LevelFilter

Converts the Level to the equivalent LevelFilter.

-
source

pub fn as_str(&self) -> &'static str

Returns the string representation of the Level.

+

Implementations§

Source§

impl Level

Source

pub fn max() -> Level

Returns the most verbose logging level.

+
Source

pub fn to_level_filter(&self) -> LevelFilter

Converts the Level to the equivalent LevelFilter.

+
Source

pub fn as_str(&self) -> &'static str

Returns the string representation of the Level.

This returns the same string as the fmt::Display implementation.

-
source

pub fn iter() -> impl Iterator<Item = Self>

Iterate through all supported logging levels.

+
Source

pub fn iter() -> impl Iterator<Item = Self>

Iterate through all supported logging levels.

The order of iteration is from more severe to less severe log messages.

§Examples
use log::Level;
@@ -32,32 +32,32 @@
 
 assert_eq!(Some(Level::Error), levels.next());
 assert_eq!(Some(Level::Trace), levels.last());
-

Trait Implementations§

source§

impl Clone for Level

source§

fn clone(&self) -> Level

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Level

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Level

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for Level

source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
source§

fn from_str(level: &str) -> Result<Level, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Level

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Level

source§

fn cmp(&self, other: &Level) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Level> for LevelFilter

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq<LevelFilter> for Level

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq for Level

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd<Level> for LevelFilter

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd<LevelFilter> for Level

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd for Level

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Copy for Level

source§

impl Eq for Level

source§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl Freeze for Level

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for Level

Source§

fn clone(&self) -> Level

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Level

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Level

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromStr for Level

Source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
Source§

fn from_str(level: &str) -> Result<Level, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Level

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Level

Source§

fn cmp(&self, other: &Level) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq<Level> for LevelFilter

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq<LevelFilter> for Level

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq for Level

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialOrd<Level> for LevelFilter

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd<LevelFilter> for Level

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd for Level

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl Copy for Level

Source§

impl Eq for Level

Source§

impl StructuralPartialEq for Level

Auto Trait Implementations§

§

impl Freeze for Level

§

impl RefUnwindSafe for Level

§

impl Send for Level

§

impl Sync for Level

§

impl Unpin for Level

§

impl UnwindSafe for Level

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/log/enum.LevelFilter.html b/log/enum.LevelFilter.html index 9e54b16..290af3e 100644 --- a/log/enum.LevelFilter.html +++ b/log/enum.LevelFilter.html @@ -1,4 +1,4 @@ -LevelFilter in log - Rust
log

Enum LevelFilter

source
#[repr(usize)]
pub enum LevelFilter { +LevelFilter in log - Rust
log

Enum LevelFilter

Source
#[repr(usize)]
pub enum LevelFilter { Off = 0, Error = 1, Warn = 2, @@ -14,12 +14,12 @@ to get and set the maximum log level with max_
§

Info = 3

Corresponds to the Info log level.

§

Debug = 4

Corresponds to the Debug log level.

§

Trace = 5

Corresponds to the Trace log level.

-

Implementations§

source§

impl LevelFilter

source

pub fn max() -> LevelFilter

Returns the most verbose logging level filter.

-
source

pub fn to_level(&self) -> Option<Level>

Converts self to the equivalent Level.

+

Implementations§

Source§

impl LevelFilter

Source

pub fn max() -> LevelFilter

Returns the most verbose logging level filter.

+
Source

pub fn to_level(&self) -> Option<Level>

Converts self to the equivalent Level.

Returns None if self is LevelFilter::Off.

-
source

pub fn as_str(&self) -> &'static str

Returns the string representation of the LevelFilter.

+
Source

pub fn as_str(&self) -> &'static str

Returns the string representation of the LevelFilter.

This returns the same string as the fmt::Display implementation.

-
source

pub fn iter() -> impl Iterator<Item = Self>

Iterate through all supported filtering levels.

+
Source

pub fn iter() -> impl Iterator<Item = Self>

Iterate through all supported filtering levels.

The order of iteration is from less to more verbose filtering.

§Examples
use log::LevelFilter;
@@ -28,32 +28,32 @@ to get and set the maximum log level with max_
 
 assert_eq!(Some(LevelFilter::Off), levels.next());
 assert_eq!(Some(LevelFilter::Trace), levels.last());
-

Trait Implementations§

source§

impl Clone for LevelFilter

source§

fn clone(&self) -> LevelFilter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LevelFilter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LevelFilter

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for LevelFilter

source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
source§

fn from_str(level: &str) -> Result<LevelFilter, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for LevelFilter

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for LevelFilter

source§

fn cmp(&self, other: &LevelFilter) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<Level> for LevelFilter

source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq<LevelFilter> for Level

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialEq for LevelFilter

source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd<Level> for LevelFilter

source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd<LevelFilter> for Level

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl PartialOrd for LevelFilter

source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Copy for LevelFilter

source§

impl Eq for LevelFilter

source§

impl StructuralPartialEq for LevelFilter

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

Source§

impl Clone for LevelFilter

Source§

fn clone(&self) -> LevelFilter

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LevelFilter

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for LevelFilter

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromStr for LevelFilter

Source§

type Err = ParseLevelError

The associated error which can be returned from parsing.
Source§

fn from_str(level: &str) -> Result<LevelFilter, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for LevelFilter

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for LevelFilter

Source§

fn cmp(&self, other: &LevelFilter) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq<Level> for LevelFilter

Source§

fn eq(&self, other: &Level) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq<LevelFilter> for Level

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialEq for LevelFilter

Source§

fn eq(&self, other: &LevelFilter) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PartialOrd<Level> for LevelFilter

Source§

fn partial_cmp(&self, other: &Level) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd<LevelFilter> for Level

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl PartialOrd for LevelFilter

Source§

fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
Source§

impl Copy for LevelFilter

Source§

impl Eq for LevelFilter

Source§

impl StructuralPartialEq for LevelFilter

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/log/fn.logger.html b/log/fn.logger.html index a991729..17b15a7 100644 --- a/log/fn.logger.html +++ b/log/fn.logger.html @@ -1,3 +1,3 @@ -logger in log - Rust
log

Function logger

source
pub fn logger() -> &'static dyn Log
Expand description

Returns a reference to the logger.

+logger in log - Rust
log

Function logger

Source
pub fn logger() -> &'static dyn Log
Expand description

Returns a reference to the logger.

If a logger has not been set, a no-op implementation is returned.

\ No newline at end of file diff --git a/log/fn.max_level.html b/log/fn.max_level.html index 6ac6681..b790bc9 100644 --- a/log/fn.max_level.html +++ b/log/fn.max_level.html @@ -1,4 +1,4 @@ -max_level in log - Rust
log

Function max_level

source
pub fn max_level() -> LevelFilter
Expand description

Returns the current maximum log level.

+max_level in log - Rust
log

Function max_level

Source
pub fn max_level() -> LevelFilter
Expand description

Returns the current maximum log level.

The log!, error!, warn!, info!, debug!, and trace! macros check this value and discard any message logged at a higher level. The maximum log level is set by the set_max_level function.

diff --git a/log/fn.set_logger.html b/log/fn.set_logger.html index 0d5276c..76ee80e 100644 --- a/log/fn.set_logger.html +++ b/log/fn.set_logger.html @@ -1,4 +1,4 @@ -set_logger in log - Rust
log

Function set_logger

source
pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError>
Expand description

Sets the global logger to a &'static Log.

+set_logger in log - Rust
log

Function set_logger

Source
pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError>
Expand description

Sets the global logger to a &'static Log.

This function may only be called once in the lifetime of a program. Any log events that occur before the call to set_logger completes will be ignored.

This function does not typically need to be called manually. Logger diff --git a/log/fn.set_logger_racy.html b/log/fn.set_logger_racy.html index b32fa05..3da67fa 100644 --- a/log/fn.set_logger_racy.html +++ b/log/fn.set_logger_racy.html @@ -1,6 +1,6 @@ -set_logger_racy in log - Rust

log

Function set_logger_racy

source
pub unsafe fn set_logger_racy(
+set_logger_racy in log - Rust
log

Function set_logger_racy

Source
pub unsafe fn set_logger_racy(
     logger: &'static dyn Log,
-) -> Result<(), SetLoggerError>
Expand description

A thread-unsafe version of set_logger.

+) -> Result<(), SetLoggerError>
Expand description

A thread-unsafe version of set_logger.

This function is available on all platforms, even those that do not have support for atomics that is needed by set_logger.

In almost all cases, set_logger should be preferred.

diff --git a/log/fn.set_max_level.html b/log/fn.set_max_level.html index b8d0833..e7d0fe9 100644 --- a/log/fn.set_max_level.html +++ b/log/fn.set_max_level.html @@ -1,4 +1,4 @@ -set_max_level in log - Rust
log

Function set_max_level

source
pub fn set_max_level(level: LevelFilter)
Expand description

Sets the global maximum log level.

+set_max_level in log - Rust
log

Function set_max_level

Source
pub fn set_max_level(level: LevelFilter)
Expand description

Sets the global maximum log level.

Generally, this should only be called by the active logging implementation.

Note that Trace is the maximum level, because it provides the maximum amount of detail in the emitted logs.

\ No newline at end of file diff --git a/log/fn.set_max_level_racy.html b/log/fn.set_max_level_racy.html index 004432a..82f8b2c 100644 --- a/log/fn.set_max_level_racy.html +++ b/log/fn.set_max_level_racy.html @@ -1,4 +1,4 @@ -set_max_level_racy in log - Rust
log

Function set_max_level_racy

source
pub unsafe fn set_max_level_racy(level: LevelFilter)
Expand description

A thread-unsafe version of set_max_level.

+set_max_level_racy in log - Rust
log

Function set_max_level_racy

Source
pub unsafe fn set_max_level_racy(level: LevelFilter)
Expand description

A thread-unsafe version of set_max_level.

This function is available on all platforms, even those that do not have support for atomics that is needed by set_max_level.

In almost all cases, set_max_level should be preferred.

diff --git a/log/index.html b/log/index.html index 50eec3c..5e4729f 100644 --- a/log/index.html +++ b/log/index.html @@ -1,4 +1,4 @@ -log - Rust

Crate log

source
Expand description

A lightweight logging facade.

+log - Rust

Crate log

Source
Expand description

A lightweight logging facade.

The log crate provides a single logging API that abstracts over the actual logging implementation. Libraries can use the logging API provided by this crate, and the consumer of those libraries can choose the logging @@ -89,11 +89,14 @@ here are some of the most popular ones:

  • flexi_logger
  • call_logger
  • structured-logger
  • +
  • clang_log
  • +
  • ftail
  • Complex configurable frameworks:
  • diff --git a/log/macro.debug.html b/log/macro.debug.html index a1dfed9..62b7e06 100644 --- a/log/macro.debug.html +++ b/log/macro.debug.html @@ -1,7 +1,7 @@ -debug in log - Rust
    log

    Macro debug

    source
    macro_rules! debug {
    -    (target: $target:expr, $($arg:tt)+) => { ... };
    -    ($($arg:tt)+) => { ... };
    -}
    Expand description

    Logs a message at the debug level.

    +debug in log - Rust
    log

    Macro debug

    Source
    macro_rules! debug {
    +    (target: $target:expr, $($arg:tt)+) => { ... };
    +    ($($arg:tt)+) => { ... };
    +}
    Expand description

    Logs a message at the debug level.

    §Examples

    use log::debug;
     
    diff --git a/log/macro.error.html b/log/macro.error.html
    index 95c0b9e..6ad4750 100644
    --- a/log/macro.error.html
    +++ b/log/macro.error.html
    @@ -1,7 +1,7 @@
    -error in log - Rust
    log

    Macro error

    source
    macro_rules! error {
    -    (target: $target:expr, $($arg:tt)+) => { ... };
    -    ($($arg:tt)+) => { ... };
    -}
    Expand description

    Logs a message at the error level.

    +error in log - Rust
    log

    Macro error

    Source
    macro_rules! error {
    +    (target: $target:expr, $($arg:tt)+) => { ... };
    +    ($($arg:tt)+) => { ... };
    +}
    Expand description

    Logs a message at the error level.

    §Examples

    use log::error;
     
    diff --git a/log/macro.info.html b/log/macro.info.html
    index 00a59a5..d2c6e35 100644
    --- a/log/macro.info.html
    +++ b/log/macro.info.html
    @@ -1,7 +1,7 @@
    -info in log - Rust
    log

    Macro info

    source
    macro_rules! info {
    -    (target: $target:expr, $($arg:tt)+) => { ... };
    -    ($($arg:tt)+) => { ... };
    -}
    Expand description

    Logs a message at the info level.

    +info in log - Rust
    log

    Macro info

    Source
    macro_rules! info {
    +    (target: $target:expr, $($arg:tt)+) => { ... };
    +    ($($arg:tt)+) => { ... };
    +}
    Expand description

    Logs a message at the info level.

    §Examples

    use log::info;
     
    diff --git a/log/macro.log.html b/log/macro.log.html
    index ea5cabf..d108080 100644
    --- a/log/macro.log.html
    +++ b/log/macro.log.html
    @@ -1,8 +1,8 @@
    -log in log - Rust
    log

    Macro log

    source
    macro_rules! log {
    -    (target: $target:expr, $lvl:expr, $($key:tt $(:$capture:tt)? $(= $value:expr)?),+; $($arg:tt)+) => { ... };
    -    (target: $target:expr, $lvl:expr, $($arg:tt)+) => { ... };
    -    ($lvl:expr, $($arg:tt)+) => { ... };
    -}
    Expand description

    The standard logging macro.

    +log in log - Rust
    log

    Macro log

    Source
    macro_rules! log {
    +    (target: $target:expr, $lvl:expr, $($key:tt $(:$capture:tt)? $(= $value:expr)?),+; $($arg:tt)+) => { ... };
    +    (target: $target:expr, $lvl:expr, $($arg:tt)+) => { ... };
    +    ($lvl:expr, $($arg:tt)+) => { ... };
    +}
    Expand description

    The standard logging macro.

    This macro will generically log with the specified Level and format! based argument list.

    §Examples

    diff --git a/log/macro.log_enabled.html b/log/macro.log_enabled.html index 3bcbe1a..d514509 100644 --- a/log/macro.log_enabled.html +++ b/log/macro.log_enabled.html @@ -1,7 +1,7 @@ -log_enabled in log - Rust
    log

    Macro log_enabled

    source
    macro_rules! log_enabled {
    -    (target: $target:expr, $lvl:expr) => { ... };
    -    ($lvl:expr) => { ... };
    -}
    Expand description

    Determines if a message logged at the specified level in that module will +log_enabled in log - Rust

    log

    Macro log_enabled

    Source
    macro_rules! log_enabled {
    +    (target: $target:expr, $lvl:expr) => { ... };
    +    ($lvl:expr) => { ... };
    +}
    Expand description

    Determines if a message logged at the specified level in that module will be logged.

    This can be used to avoid expensive computation of log message arguments if the message would be ignored anyway.

    diff --git a/log/macro.trace.html b/log/macro.trace.html index 904785f..56d440e 100644 --- a/log/macro.trace.html +++ b/log/macro.trace.html @@ -1,7 +1,7 @@ -trace in log - Rust
    log

    Macro trace

    source
    macro_rules! trace {
    -    (target: $target:expr, $($arg:tt)+) => { ... };
    -    ($($arg:tt)+) => { ... };
    -}
    Expand description

    Logs a message at the trace level.

    +trace in log - Rust
    log

    Macro trace

    Source
    macro_rules! trace {
    +    (target: $target:expr, $($arg:tt)+) => { ... };
    +    ($($arg:tt)+) => { ... };
    +}
    Expand description

    Logs a message at the trace level.

    §Examples

    use log::trace;
     
    diff --git a/log/macro.warn.html b/log/macro.warn.html
    index 2940284..b4f7924 100644
    --- a/log/macro.warn.html
    +++ b/log/macro.warn.html
    @@ -1,7 +1,7 @@
    -warn in log - Rust
    log

    Macro warn

    source
    macro_rules! warn {
    -    (target: $target:expr, $($arg:tt)+) => { ... };
    -    ($($arg:tt)+) => { ... };
    -}
    Expand description

    Logs a message at the warn level.

    +warn in log - Rust
    log

    Macro warn

    Source
    macro_rules! warn {
    +    (target: $target:expr, $($arg:tt)+) => { ... };
    +    ($($arg:tt)+) => { ... };
    +}
    Expand description

    Logs a message at the warn level.

    §Examples

    use log::warn;
     
    diff --git a/log/struct.Metadata.html b/log/struct.Metadata.html
    index edfa3ad..272f78d 100644
    --- a/log/struct.Metadata.html
    +++ b/log/struct.Metadata.html
    @@ -1,4 +1,4 @@
    -Metadata in log - Rust
    log

    Struct Metadata

    source
    pub struct Metadata<'a> { /* private fields */ }
    Expand description

    Metadata about a log message.

    +Metadata in log - Rust
    log

    Struct Metadata

    Source
    pub struct Metadata<'a> { /* private fields */ }
    Expand description

    Metadata about a log message.

    §Use

    Metadata structs are created when users of the library use logging macros.

    @@ -26,27 +26,27 @@ constructing expensive log messages.

    fn flush(&self) {} }
    -

    Implementations§

    source§

    impl<'a> Metadata<'a>

    source

    pub fn builder() -> MetadataBuilder<'a>

    Returns a new builder.

    -
    source

    pub fn level(&self) -> Level

    The verbosity level of the message.

    -
    source

    pub fn target(&self) -> &'a str

    The name of the target of the directive.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Metadata<'a>

    source§

    fn clone(&self) -> Metadata<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Metadata<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for Metadata<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> Ord for Metadata<'a>

    source§

    fn cmp(&self, other: &Metadata<'a>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<'a> PartialEq for Metadata<'a>

    source§

    fn eq(&self, other: &Metadata<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> PartialOrd for Metadata<'a>

    source§

    fn partial_cmp(&self, other: &Metadata<'a>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a> Eq for Metadata<'a>

    source§

    impl<'a> StructuralPartialEq for Metadata<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Metadata<'a>

    §

    impl<'a> RefUnwindSafe for Metadata<'a>

    §

    impl<'a> Send for Metadata<'a>

    §

    impl<'a> Sync for Metadata<'a>

    §

    impl<'a> Unpin for Metadata<'a>

    §

    impl<'a> UnwindSafe for Metadata<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl<'a> Metadata<'a>

    Source

    pub fn builder() -> MetadataBuilder<'a>

    Returns a new builder.

    +
    Source

    pub fn level(&self) -> Level

    The verbosity level of the message.

    +
    Source

    pub fn target(&self) -> &'a str

    The name of the target of the directive.

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for Metadata<'a>

    Source§

    fn clone(&self) -> Metadata<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for Metadata<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for Metadata<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> Ord for Metadata<'a>

    Source§

    fn cmp(&self, other: &Metadata<'a>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl<'a> PartialEq for Metadata<'a>

    Source§

    fn eq(&self, other: &Metadata<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> PartialOrd for Metadata<'a>

    Source§

    fn partial_cmp(&self, other: &Metadata<'a>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl<'a> Eq for Metadata<'a>

    Source§

    impl<'a> StructuralPartialEq for Metadata<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Metadata<'a>

    §

    impl<'a> RefUnwindSafe for Metadata<'a>

    §

    impl<'a> Send for Metadata<'a>

    §

    impl<'a> Sync for Metadata<'a>

    §

    impl<'a> Unpin for Metadata<'a>

    §

    impl<'a> UnwindSafe for Metadata<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/struct.MetadataBuilder.html b/log/struct.MetadataBuilder.html index 4623cde..965e048 100644 --- a/log/struct.MetadataBuilder.html +++ b/log/struct.MetadataBuilder.html @@ -1,4 +1,4 @@ -MetadataBuilder in log - Rust
    log

    Struct MetadataBuilder

    source
    pub struct MetadataBuilder<'a> { /* private fields */ }
    Expand description

    Builder for Metadata.

    +MetadataBuilder in log - Rust
    log

    Struct MetadataBuilder

    Source
    pub struct MetadataBuilder<'a> { /* private fields */ }
    Expand description

    Builder for Metadata.

    Typically should only be used by log library creators or for testing and “shim loggers”. The MetadataBuilder can set the different parameters of a Metadata object, and returns the created object when build is called.

    @@ -9,32 +9,32 @@ the created object when build is called.

    .level(Level::Debug) .target(target) .build();
    -

    Implementations§

    source§

    impl<'a> MetadataBuilder<'a>

    source

    pub fn new() -> MetadataBuilder<'a>

    Construct a new MetadataBuilder.

    +

    Implementations§

    Source§

    impl<'a> MetadataBuilder<'a>

    Source

    pub fn new() -> MetadataBuilder<'a>

    Construct a new MetadataBuilder.

    The default options are:

    • level: Level::Info
    • target: ""
    -
    source

    pub fn level(&mut self, arg: Level) -> &mut MetadataBuilder<'a>

    Setter for level.

    -
    source

    pub fn target(&mut self, target: &'a str) -> &mut MetadataBuilder<'a>

    Setter for target.

    -
    source

    pub fn build(&self) -> Metadata<'a>

    Returns a Metadata object.

    -

    Trait Implementations§

    source§

    impl<'a> Debug for MetadataBuilder<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for MetadataBuilder<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'a> Hash for MetadataBuilder<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> Ord for MetadataBuilder<'a>

    source§

    fn cmp(&self, other: &MetadataBuilder<'a>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<'a> PartialEq for MetadataBuilder<'a>

    source§

    fn eq(&self, other: &MetadataBuilder<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> PartialOrd for MetadataBuilder<'a>

    source§

    fn partial_cmp(&self, other: &MetadataBuilder<'a>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a> Eq for MetadataBuilder<'a>

    source§

    impl<'a> StructuralPartialEq for MetadataBuilder<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for MetadataBuilder<'a>

    §

    impl<'a> RefUnwindSafe for MetadataBuilder<'a>

    §

    impl<'a> Send for MetadataBuilder<'a>

    §

    impl<'a> Sync for MetadataBuilder<'a>

    §

    impl<'a> Unpin for MetadataBuilder<'a>

    §

    impl<'a> UnwindSafe for MetadataBuilder<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn level(&mut self, arg: Level) -> &mut MetadataBuilder<'a>

    Setter for level.

    +
    Source

    pub fn target(&mut self, target: &'a str) -> &mut MetadataBuilder<'a>

    Setter for target.

    +
    Source

    pub fn build(&self) -> Metadata<'a>

    Returns a Metadata object.

    +

    Trait Implementations§

    Source§

    impl<'a> Debug for MetadataBuilder<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Default for MetadataBuilder<'a>

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'a> Hash for MetadataBuilder<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> Ord for MetadataBuilder<'a>

    Source§

    fn cmp(&self, other: &MetadataBuilder<'a>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl<'a> PartialEq for MetadataBuilder<'a>

    Source§

    fn eq(&self, other: &MetadataBuilder<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> PartialOrd for MetadataBuilder<'a>

    Source§

    fn partial_cmp(&self, other: &MetadataBuilder<'a>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl<'a> Eq for MetadataBuilder<'a>

    Source§

    impl<'a> StructuralPartialEq for MetadataBuilder<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for MetadataBuilder<'a>

    §

    impl<'a> RefUnwindSafe for MetadataBuilder<'a>

    §

    impl<'a> Send for MetadataBuilder<'a>

    §

    impl<'a> Sync for MetadataBuilder<'a>

    §

    impl<'a> Unpin for MetadataBuilder<'a>

    §

    impl<'a> UnwindSafe for MetadataBuilder<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/struct.ParseLevelError.html b/log/struct.ParseLevelError.html index 30aadec..11973a9 100644 --- a/log/struct.ParseLevelError.html +++ b/log/struct.ParseLevelError.html @@ -1,13 +1,13 @@ -ParseLevelError in log - Rust
    log

    Struct ParseLevelError

    source
    pub struct ParseLevelError(/* private fields */);
    Expand description

    The type returned by from_str when the string doesn’t match any of the log levels.

    -

    Trait Implementations§

    source§

    impl Debug for ParseLevelError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ParseLevelError

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for ParseLevelError

    source§

    fn eq(&self, other: &ParseLevelError) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for ParseLevelError

    source§

    impl StructuralPartialEq for ParseLevelError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ParseLevelError in log - Rust
    log

    Struct ParseLevelError

    Source
    pub struct ParseLevelError(/* private fields */);
    Expand description

    The type returned by from_str when the string doesn’t match any of the log levels.

    +

    Trait Implementations§

    Source§

    impl Debug for ParseLevelError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for ParseLevelError

    Source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for ParseLevelError

    Source§

    fn eq(&self, other: &ParseLevelError) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for ParseLevelError

    Source§

    impl StructuralPartialEq for ParseLevelError

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/struct.Record.html b/log/struct.Record.html index 5f4f93a..e6acceb 100644 --- a/log/struct.Record.html +++ b/log/struct.Record.html @@ -1,4 +1,4 @@ -Record in log - Rust
    log

    Struct Record

    source
    pub struct Record<'a> { /* private fields */ }
    Expand description

    The “payload” of a log message.

    +Record in log - Rust
    log

    Struct Record

    Source
    pub struct Record<'a> { /* private fields */ }
    Expand description

    The “payload” of a log message.

    §Use

    Record structures are passed as parameters to the log method of the Log trait. Logger implementors manipulate these @@ -30,25 +30,25 @@ module path, and message of any Record that is passed to it.

    } fn flush(&self) {} }
    -

    Implementations§

    source§

    impl<'a> Record<'a>

    source

    pub fn builder() -> RecordBuilder<'a>

    Returns a new builder.

    -
    source

    pub fn args(&self) -> &Arguments<'a>

    The message body.

    -
    source

    pub fn metadata(&self) -> &Metadata<'a>

    Metadata about the log directive.

    -
    source

    pub fn level(&self) -> Level

    The verbosity level of the message.

    -
    source

    pub fn target(&self) -> &'a str

    The name of the target of the directive.

    -
    source

    pub fn module_path(&self) -> Option<&'a str>

    The module path of the message.

    -
    source

    pub fn module_path_static(&self) -> Option<&'static str>

    The module path of the message, if it is a 'static string.

    -
    source

    pub fn file(&self) -> Option<&'a str>

    The source file containing the message.

    -
    source

    pub fn file_static(&self) -> Option<&'static str>

    The source file containing the message, if it is a 'static string.

    -
    source

    pub fn line(&self) -> Option<u32>

    The line containing the message.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Record<'a>

    source§

    fn clone(&self) -> Record<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Record<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Record<'a>

    §

    impl<'a> RefUnwindSafe for Record<'a>

    §

    impl<'a> !Send for Record<'a>

    §

    impl<'a> !Sync for Record<'a>

    §

    impl<'a> Unpin for Record<'a>

    §

    impl<'a> UnwindSafe for Record<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl<'a> Record<'a>

    Source

    pub fn builder() -> RecordBuilder<'a>

    Returns a new builder.

    +
    Source

    pub fn args(&self) -> &Arguments<'a>

    The message body.

    +
    Source

    pub fn metadata(&self) -> &Metadata<'a>

    Metadata about the log directive.

    +
    Source

    pub fn level(&self) -> Level

    The verbosity level of the message.

    +
    Source

    pub fn target(&self) -> &'a str

    The name of the target of the directive.

    +
    Source

    pub fn module_path(&self) -> Option<&'a str>

    The module path of the message.

    +
    Source

    pub fn module_path_static(&self) -> Option<&'static str>

    The module path of the message, if it is a 'static string.

    +
    Source

    pub fn file(&self) -> Option<&'a str>

    The source file containing the message.

    +
    Source

    pub fn file_static(&self) -> Option<&'static str>

    The source file containing the message, if it is a 'static string.

    +
    Source

    pub fn line(&self) -> Option<u32>

    The line containing the message.

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for Record<'a>

    Source§

    fn clone(&self) -> Record<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for Record<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Record<'a>

    §

    impl<'a> RefUnwindSafe for Record<'a>

    §

    impl<'a> !Send for Record<'a>

    §

    impl<'a> !Sync for Record<'a>

    §

    impl<'a> Unpin for Record<'a>

    §

    impl<'a> UnwindSafe for Record<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/struct.RecordBuilder.html b/log/struct.RecordBuilder.html index e2ad856..6acfaa8 100644 --- a/log/struct.RecordBuilder.html +++ b/log/struct.RecordBuilder.html @@ -1,4 +1,4 @@ -RecordBuilder in log - Rust
    log

    Struct RecordBuilder

    source
    pub struct RecordBuilder<'a> { /* private fields */ }
    Expand description

    Builder for Record.

    +RecordBuilder in log - Rust
    log

    Struct RecordBuilder

    Source
    pub struct RecordBuilder<'a> { /* private fields */ }
    Expand description

    Builder for Record.

    Typically should only be used by log library creators or for testing and “shim loggers”. The RecordBuilder can set the different parameters of Record object, and returns the created object when build is called.

    @@ -29,7 +29,7 @@ the created object when build is called.

    .file(Some("app.rs")) .module_path(Some("server")) .build();
    -

    Implementations§

    source§

    impl<'a> RecordBuilder<'a>

    source

    pub fn new() -> RecordBuilder<'a>

    Construct new RecordBuilder.

    +

    Implementations§

    Source§

    impl<'a> RecordBuilder<'a>

    Source

    pub fn new() -> RecordBuilder<'a>

    Construct new RecordBuilder.

    The default options are:

    • args: format_args!("")
    • @@ -38,30 +38,30 @@ the created object when build is called.

    • file: None
    • line: None
    -
    source

    pub fn args(&mut self, args: Arguments<'a>) -> &mut RecordBuilder<'a>

    Set args.

    -
    source

    pub fn metadata(&mut self, metadata: Metadata<'a>) -> &mut RecordBuilder<'a>

    Set metadata. Construct a Metadata object with MetadataBuilder.

    -
    source

    pub fn level(&mut self, level: Level) -> &mut RecordBuilder<'a>

    source

    pub fn target(&mut self, target: &'a str) -> &mut RecordBuilder<'a>

    source

    pub fn module_path(&mut self, path: Option<&'a str>) -> &mut RecordBuilder<'a>

    source

    pub fn module_path_static( +

    Source

    pub fn args(&mut self, args: Arguments<'a>) -> &mut RecordBuilder<'a>

    Set args.

    +
    Source

    pub fn metadata(&mut self, metadata: Metadata<'a>) -> &mut RecordBuilder<'a>

    Set metadata. Construct a Metadata object with MetadataBuilder.

    +
    Source

    pub fn level(&mut self, level: Level) -> &mut RecordBuilder<'a>

    Source

    pub fn target(&mut self, target: &'a str) -> &mut RecordBuilder<'a>

    Source

    pub fn module_path(&mut self, path: Option<&'a str>) -> &mut RecordBuilder<'a>

    Source

    pub fn module_path_static( &mut self, - path: Option<&'static str>, + path: Option<&'static str>, ) -> &mut RecordBuilder<'a>

    Set module_path to a 'static string

    -
    source

    pub fn file(&mut self, file: Option<&'a str>) -> &mut RecordBuilder<'a>

    Set file

    -
    source

    pub fn file_static( +

    Source

    pub fn file(&mut self, file: Option<&'a str>) -> &mut RecordBuilder<'a>

    Set file

    +
    Source

    pub fn file_static( &mut self, - file: Option<&'static str>, + file: Option<&'static str>, ) -> &mut RecordBuilder<'a>

    Set file to a 'static string.

    -
    source

    pub fn line(&mut self, line: Option<u32>) -> &mut RecordBuilder<'a>

    Set line

    -
    source

    pub fn build(&self) -> Record<'a>

    Invoke the builder and return a Record

    -

    Trait Implementations§

    source§

    impl<'a> Debug for RecordBuilder<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Default for RecordBuilder<'a>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for RecordBuilder<'a>

    §

    impl<'a> RefUnwindSafe for RecordBuilder<'a>

    §

    impl<'a> !Send for RecordBuilder<'a>

    §

    impl<'a> !Sync for RecordBuilder<'a>

    §

    impl<'a> Unpin for RecordBuilder<'a>

    §

    impl<'a> UnwindSafe for RecordBuilder<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn line(&mut self, line: Option<u32>) -> &mut RecordBuilder<'a>

    Set line

    +
    Source

    pub fn build(&self) -> Record<'a>

    Invoke the builder and return a Record

    +

    Trait Implementations§

    Source§

    impl<'a> Debug for RecordBuilder<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Default for RecordBuilder<'a>

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for RecordBuilder<'a>

    §

    impl<'a> RefUnwindSafe for RecordBuilder<'a>

    §

    impl<'a> !Send for RecordBuilder<'a>

    §

    impl<'a> !Sync for RecordBuilder<'a>

    §

    impl<'a> Unpin for RecordBuilder<'a>

    §

    impl<'a> UnwindSafe for RecordBuilder<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/struct.SetLoggerError.html b/log/struct.SetLoggerError.html index 6c86948..58a86b6 100644 --- a/log/struct.SetLoggerError.html +++ b/log/struct.SetLoggerError.html @@ -1,12 +1,12 @@ -SetLoggerError in log - Rust
    log

    Struct SetLoggerError

    source
    pub struct SetLoggerError(/* private fields */);
    Expand description

    The type returned by set_logger if set_logger has already been called.

    -

    Trait Implementations§

    source§

    impl Debug for SetLoggerError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SetLoggerError

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +SetLoggerError in log - Rust
    log

    Struct SetLoggerError

    Source
    pub struct SetLoggerError(/* private fields */);
    Expand description

    The type returned by set_logger if set_logger has already been called.

    +

    Trait Implementations§

    Source§

    impl Debug for SetLoggerError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for SetLoggerError

    Source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/log/trait.Log.html b/log/trait.Log.html index 8349505..f6801f2 100644 --- a/log/trait.Log.html +++ b/log/trait.Log.html @@ -1,10 +1,10 @@ -Log in log - Rust
    log

    Trait Log

    source
    pub trait Log: Sync + Send {
    +Log in log - Rust
    log

    Trait Log

    Source
    pub trait Log: Sync + Send {
         // Required methods
    -    fn enabled(&self, metadata: &Metadata<'_>) -> bool;
    +    fn enabled(&self, metadata: &Metadata<'_>) -> bool;
         fn log(&self, record: &Record<'_>);
         fn flush(&self);
     }
    Expand description

    A trait encapsulating the operations required of a logger.

    -

    Required Methods§

    source

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be +

    Required Methods§

    Source

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Determines if a log message with the specified metadata would be logged.

    This is used by the log_enabled! macro to allow callers to avoid expensive computation of log message arguments if the message would be @@ -13,14 +13,14 @@ discarded anyway.

    This method isn’t called automatically by the log! macros. It’s up to an implementation of the Log trait to call enabled in its own log method implementation to guarantee that filtering is applied.

    -
    source

    fn log(&self, record: &Record<'_>)

    Logs the Record.

    +
    Source

    fn log(&self, record: &Record<'_>)

    Logs the Record.

    §For implementors

    Note that enabled is not necessarily called before this method. Implementations of log should perform all necessary filtering internally.

    -
    source

    fn flush(&self)

    Flushes any buffered records.

    +
    Source

    fn flush(&self)

    Flushes any buffered records.

    §For implementors

    This method isn’t called automatically by the log! macros. It can be called manually on shut-down to ensure any in-flight records are flushed.

    -

    Implementations on Foreign Types§

    source§

    impl<T> Log for &T
    where - T: ?Sized + Log,

    source§

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    source§

    fn log(&self, record: &Record<'_>)

    source§

    fn flush(&self)

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    Source§

    impl<T> Log for &T
    where + T: ?Sized + Log,

    Source§

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Source§

    fn log(&self, record: &Record<'_>)

    Source§

    fn flush(&self)

    Implementors§

    \ No newline at end of file diff --git a/proc_macro2/all.html b/proc_macro2/all.html index ac0d7d0..6b7edd1 100644 --- a/proc_macro2/all.html +++ b/proc_macro2/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/proc_macro2/enum.Delimiter.html b/proc_macro2/enum.Delimiter.html index 6f22446..1cccac1 100644 --- a/proc_macro2/enum.Delimiter.html +++ b/proc_macro2/enum.Delimiter.html @@ -1,4 +1,4 @@ -Delimiter in proc_macro2 - Rust
    proc_macro2

    Enum Delimiter

    source
    pub enum Delimiter {
    +Delimiter in proc_macro2 - Rust
    proc_macro2

    Enum Delimiter

    Source
    pub enum Delimiter {
         Parenthesis,
         Brace,
         Bracket,
    @@ -21,17 +21,17 @@ Any None-delimited groups (re)created by a proc_macro will therefor
     operator priorities as indicated above. The other Delimiter variants should be used
     instead in this context. This is a rustc bug. For details, see
     rust-lang/rust#67062.

    -

    Trait Implementations§

    source§

    impl Clone for Delimiter

    source§

    fn clone(&self) -> Delimiter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Delimiter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Delimiter

    source§

    fn eq(&self, other: &Delimiter) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Delimiter

    source§

    impl Eq for Delimiter

    source§

    impl StructuralPartialEq for Delimiter

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Delimiter

    Source§

    fn clone(&self) -> Delimiter

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Delimiter

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Delimiter

    Source§

    fn eq(&self, other: &Delimiter) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Delimiter

    Source§

    impl Eq for Delimiter

    Source§

    impl StructuralPartialEq for Delimiter

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/enum.Spacing.html b/proc_macro2/enum.Spacing.html index 1a130b0..bb1c6fd 100644 --- a/proc_macro2/enum.Spacing.html +++ b/proc_macro2/enum.Spacing.html @@ -1,4 +1,4 @@ -Spacing in proc_macro2 - Rust
    proc_macro2

    Enum Spacing

    source
    pub enum Spacing {
    +Spacing in proc_macro2 - Rust
    proc_macro2

    Enum Spacing

    Source
    pub enum Spacing {
         Alone,
         Joint,
     }
    Expand description

    Whether a Punct is followed immediately by another Punct or followed by @@ -7,17 +7,17 @@ another token or whitespace.

    §

    Joint

    E.g. + is Joint in += or ' is Joint in '#.

    Additionally, single quote ' can join with identifiers to form lifetimes 'ident.

    -

    Trait Implementations§

    source§

    impl Clone for Spacing

    source§

    fn clone(&self) -> Spacing

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Spacing

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Spacing

    source§

    fn eq(&self, other: &Spacing) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Spacing

    source§

    impl Eq for Spacing

    source§

    impl StructuralPartialEq for Spacing

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Spacing

    Source§

    fn clone(&self) -> Spacing

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Spacing

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl PartialEq for Spacing

    Source§

    fn eq(&self, other: &Spacing) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Spacing

    Source§

    impl Eq for Spacing

    Source§

    impl StructuralPartialEq for Spacing

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/enum.TokenTree.html b/proc_macro2/enum.TokenTree.html index 8092d90..46903c4 100644 --- a/proc_macro2/enum.TokenTree.html +++ b/proc_macro2/enum.TokenTree.html @@ -1,4 +1,4 @@ -TokenTree in proc_macro2 - Rust
    proc_macro2

    Enum TokenTree

    source
    pub enum TokenTree {
    +TokenTree in proc_macro2 - Rust
    proc_macro2

    Enum TokenTree

    Source
    pub enum TokenTree {
         Group(Group),
         Ident(Ident),
         Punct(Punct),
    @@ -8,29 +8,29 @@
     
    §

    Ident(Ident)

    An identifier.

    §

    Punct(Punct)

    A single punctuation character (+, ,, $, etc.).

    §

    Literal(Literal)

    A literal character ('a'), string ("hello"), number (2.3), etc.

    -

    Implementations§

    source§

    impl TokenTree

    source

    pub fn span(&self) -> Span

    Returns the span of this tree, delegating to the span method of +

    Implementations§

    Source§

    impl TokenTree

    Source

    pub fn span(&self) -> Span

    Returns the span of this tree, delegating to the span method of the contained token or a delimited stream.

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configures the span for only this token.

    +
    Source

    pub fn set_span(&mut self, span: Span)

    Configures the span for only this token.

    Note that if this token is a Group then this method will not configure the span of each of the internal tokens, this will simply delegate to the set_span method of each variant.

    -

    Trait Implementations§

    source§

    impl Clone for TokenTree

    source§

    fn clone(&self) -> TokenTree

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TokenTree

    Prints token tree in a form convenient for debugging.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TokenTree

    Prints the token tree as a string that is supposed to be losslessly +

    Trait Implementations§

    Source§

    impl Clone for TokenTree

    Source§

    fn clone(&self) -> TokenTree

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TokenTree

    Prints token tree in a form convenient for debugging.

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for TokenTree

    Prints the token tree as a string that is supposed to be losslessly convertible back into the same token tree (modulo spans), except for possibly TokenTree::Groups with Delimiter::None delimiters and negative numeric literals.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<TokenTree> for TokenStream

    source§

    fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl From<Group> for TokenTree

    source§

    fn from(g: Group) -> Self

    Converts to this type from the input type.
    source§

    impl From<Ident> for TokenTree

    source§

    fn from(g: Ident) -> Self

    Converts to this type from the input type.
    source§

    impl From<Literal> for TokenTree

    source§

    fn from(g: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl From<Punct> for TokenTree

    source§

    fn from(g: Punct) -> Self

    Converts to this type from the input type.
    source§

    impl From<TokenTree> for TokenStream

    source§

    fn from(token: TokenTree) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<TokenTree> for TokenStream

    Collects a number of token trees into a single stream.

    -
    source§

    fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self

    Creates a value from an iterator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Extend<TokenTree> for TokenStream

    Source§

    fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl From<Group> for TokenTree

    Source§

    fn from(g: Group) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Ident> for TokenTree

    Source§

    fn from(g: Ident) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Literal> for TokenTree

    Source§

    fn from(g: Literal) -> Self

    Converts to this type from the input type.
    Source§

    impl From<Punct> for TokenTree

    Source§

    fn from(g: Punct) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TokenTree> for TokenStream

    Source§

    fn from(token: TokenTree) -> Self

    Converts to this type from the input type.
    Source§

    impl FromIterator<TokenTree> for TokenStream

    Collects a number of token trees into a single stream.

    +
    Source§

    fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self

    Creates a value from an iterator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/extra/index.html b/proc_macro2/extra/index.html index eab43b7..80ae07c 100644 --- a/proc_macro2/extra/index.html +++ b/proc_macro2/extra/index.html @@ -1,4 +1,4 @@ -proc_macro2::extra - Rust
    proc_macro2

    Module extra

    source
    Expand description

    Items which do not have a correspondence to any API in the proc_macro crate, +proc_macro2::extra - Rust

    proc_macro2

    Module extra

    Source
    Expand description

    Items which do not have a correspondence to any API in the proc_macro crate, but are necessary to include in proc-macro2.

    Structs§

    • An object that holds a Group’s span_open() and span_close() together in a more compact representation than holding those 2 spans individually.
    \ No newline at end of file diff --git a/proc_macro2/extra/struct.DelimSpan.html b/proc_macro2/extra/struct.DelimSpan.html index 1360a30..a22bff4 100644 --- a/proc_macro2/extra/struct.DelimSpan.html +++ b/proc_macro2/extra/struct.DelimSpan.html @@ -1,18 +1,18 @@ -DelimSpan in proc_macro2::extra - Rust
    proc_macro2::extra

    Struct DelimSpan

    source
    pub struct DelimSpan { /* private fields */ }
    Expand description

    An object that holds a Group’s span_open() and span_close() together +DelimSpan in proc_macro2::extra - Rust

    proc_macro2::extra

    Struct DelimSpan

    Source
    pub struct DelimSpan { /* private fields */ }
    Expand description

    An object that holds a Group’s span_open() and span_close() together in a more compact representation than holding those 2 spans individually.

    -

    Implementations§

    source§

    impl DelimSpan

    source

    pub fn join(&self) -> Span

    Returns a span covering the entire delimited group.

    -
    source

    pub fn open(&self) -> Span

    Returns a span for the opening punctuation of the group only.

    -
    source

    pub fn close(&self) -> Span

    Returns a span for the closing punctuation of the group only.

    -

    Trait Implementations§

    source§

    impl Clone for DelimSpan

    source§

    fn clone(&self) -> DelimSpan

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DelimSpan

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for DelimSpan

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl DelimSpan

    Source

    pub fn join(&self) -> Span

    Returns a span covering the entire delimited group.

    +
    Source

    pub fn open(&self) -> Span

    Returns a span for the opening punctuation of the group only.

    +
    Source

    pub fn close(&self) -> Span

    Returns a span for the closing punctuation of the group only.

    +

    Trait Implementations§

    Source§

    impl Clone for DelimSpan

    Source§

    fn clone(&self) -> DelimSpan

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DelimSpan

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Copy for DelimSpan

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/index.html b/proc_macro2/index.html index a2d411e..9f06546 100644 --- a/proc_macro2/index.html +++ b/proc_macro2/index.html @@ -1,4 +1,4 @@ -proc_macro2 - Rust

    Crate proc_macro2

    source
    Expand description

    githubcrates-iodocs-rs

    +proc_macro2 - Rust

    Crate proc_macro2

    Source
    Expand description

    githubcrates-iodocs-rs


    A wrapper around the procedural macro API of the compiler’s proc_macro crate. This library serves two purposes:

    diff --git a/proc_macro2/struct.Group.html b/proc_macro2/struct.Group.html index ba5507e..74d9478 100644 --- a/proc_macro2/struct.Group.html +++ b/proc_macro2/struct.Group.html @@ -1,44 +1,44 @@ -Group in proc_macro2 - Rust
    proc_macro2

    Struct Group

    source
    pub struct Group { /* private fields */ }
    Expand description

    A delimited token stream.

    +Group in proc_macro2 - Rust
    proc_macro2

    Struct Group

    Source
    pub struct Group { /* private fields */ }
    Expand description

    A delimited token stream.

    A Group internally contains a TokenStream which is surrounded by Delimiters.

    -

    Implementations§

    source§

    impl Group

    source

    pub fn new(delimiter: Delimiter, stream: TokenStream) -> Self

    Creates a new Group with the given delimiter and token stream.

    +

    Implementations§

    Source§

    impl Group

    Source

    pub fn new(delimiter: Delimiter, stream: TokenStream) -> Self

    Creates a new Group with the given delimiter and token stream.

    This constructor will set the span for this group to Span::call_site(). To change the span you can use the set_span method below.

    -
    source

    pub fn delimiter(&self) -> Delimiter

    Returns the punctuation used as the delimiter for this group: a set of +

    Source

    pub fn delimiter(&self) -> Delimiter

    Returns the punctuation used as the delimiter for this group: a set of parentheses, square brackets, or curly braces.

    -
    source

    pub fn stream(&self) -> TokenStream

    Returns the TokenStream of tokens that are delimited in this Group.

    +
    Source

    pub fn stream(&self) -> TokenStream

    Returns the TokenStream of tokens that are delimited in this Group.

    Note that the returned token stream does not include the delimiter returned above.

    -
    source

    pub fn span(&self) -> Span

    Returns the span for the delimiters of this token stream, spanning the +

    Source

    pub fn span(&self) -> Span

    Returns the span for the delimiters of this token stream, spanning the entire Group.

    pub fn span(&self) -> Span {
    -           ^^^^^^^
    source

    pub fn span_open(&self) -> Span

    Returns the span pointing to the opening delimiter of this group.

    + ^^^^^^^
    Source

    pub fn span_open(&self) -> Span

    Returns the span pointing to the opening delimiter of this group.

    pub fn span_open(&self) -> Span {
    -                ^
    source

    pub fn span_close(&self) -> Span

    Returns the span pointing to the closing delimiter of this group.

    + ^
    Source

    pub fn span_close(&self) -> Span

    Returns the span pointing to the closing delimiter of this group.

    pub fn span_close(&self) -> Span {
    -                       ^
    source

    pub fn delim_span(&self) -> DelimSpan

    Returns an object that holds this group’s span_open() and + ^

    Source

    pub fn delim_span(&self) -> DelimSpan

    Returns an object that holds this group’s span_open() and span_close() together (in a more compact representation than holding those 2 spans individually).

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configures the span for this Group’s delimiters, but not its internal +

    Source

    pub fn set_span(&mut self, span: Span)

    Configures the span for this Group’s delimiters, but not its internal tokens.

    This method will not set the span of all the internal tokens spanned by this group, but rather it will only set the span of the delimiter tokens at the level of the Group.

    -

    Trait Implementations§

    source§

    impl Clone for Group

    source§

    fn clone(&self) -> Group

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Group

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Group

    Prints the group as a string that should be losslessly convertible back +

    Trait Implementations§

    Source§

    impl Clone for Group

    Source§

    fn clone(&self) -> Group

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Group

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Group

    Prints the group as a string that should be losslessly convertible back into the same group (modulo spans), except for possibly TokenTree::Groups with Delimiter::None delimiters.

    -
    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Group> for TokenTree

    source§

    fn from(g: Group) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Group

    §

    impl RefUnwindSafe for Group

    §

    impl !Send for Group

    §

    impl !Sync for Group

    §

    impl Unpin for Group

    §

    impl UnwindSafe for Group

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Group> for TokenTree

    Source§

    fn from(g: Group) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Group

    §

    impl RefUnwindSafe for Group

    §

    impl !Send for Group

    §

    impl !Sync for Group

    §

    impl Unpin for Group

    §

    impl UnwindSafe for Group

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.Ident.html b/proc_macro2/struct.Ident.html index 297a802..1aafb7a 100644 --- a/proc_macro2/struct.Ident.html +++ b/proc_macro2/struct.Ident.html @@ -1,4 +1,4 @@ -Ident in proc_macro2 - Rust
    proc_macro2

    Struct Ident

    source
    pub struct Ident { /* private fields */ }
    Expand description

    A word of Rust code, which may be a keyword or legal variable name.

    +Ident in proc_macro2 - Rust
    proc_macro2

    Struct Ident

    Source
    pub struct Ident { /* private fields */ }
    Expand description

    A word of Rust code, which may be a keyword or legal variable name.

    An identifier consists of at least one Unicode code point, the first of which has the XID_Start property and the rest of which have the XID_Continue property.

    @@ -45,7 +45,7 @@ method.

    if ident_string.len() > 60 { println!("Very long identifier: {}", ident_string) }
    -

    Implementations§

    source§

    impl Ident

    source

    pub fn new(string: &str, span: Span) -> Self

    Creates a new Ident with the given string as well as the specified +

    Implementations§

    Source§

    impl Ident

    Source

    pub fn new(string: &str, span: Span) -> Self

    Creates a new Ident with the given string as well as the specified span.

    The string argument must be a valid identifier permitted by the language, otherwise the function will panic.

    @@ -69,38 +69,38 @@ need to handle an error case, use style="padding-right:0;">syn::parse_str
    ::<Ident> rather than Ident::new.

    -
    source

    pub fn new_raw(string: &str, span: Span) -> Self

    Same as Ident::new, but creates a raw identifier (r#ident). The +

    Source

    pub fn new_raw(string: &str, span: Span) -> Self

    Same as Ident::new, but creates a raw identifier (r#ident). The string argument must be a valid identifier permitted by the language (including keywords, e.g. fn). Keywords which are usable in path segments (e.g. self, super) are not supported, and will cause a panic.

    -
    source

    pub fn span(&self) -> Span

    Returns the span of this Ident.

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configures the span of this Ident, possibly changing its hygiene +

    Source

    pub fn span(&self) -> Span

    Returns the span of this Ident.

    +
    Source

    pub fn set_span(&mut self, span: Span)

    Configures the span of this Ident, possibly changing its hygiene context.

    -

    Trait Implementations§

    source§

    impl Clone for Ident

    source§

    fn clone(&self) -> Ident

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ident

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Ident

    Prints the identifier as a string that should be losslessly convertible back +

    Trait Implementations§

    Source§

    impl Clone for Ident

    Source§

    fn clone(&self) -> Ident

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Ident

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Ident

    Prints the identifier as a string that should be losslessly convertible back into the same identifier.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Ident> for TokenTree

    source§

    fn from(g: Ident) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Ident

    source§

    fn hash<H: Hasher>(&self, hasher: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Ident

    source§

    fn cmp(&self, other: &Ident) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<T> PartialEq<T> for Ident
    where - T: ?Sized + AsRef<str>,

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialEq for Ident

    source§

    fn eq(&self, other: &Ident) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Ident

    source§

    fn partial_cmp(&self, other: &Ident) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl Eq for Ident

    Auto Trait Implementations§

    §

    impl Freeze for Ident

    §

    impl RefUnwindSafe for Ident

    §

    impl !Send for Ident

    §

    impl !Sync for Ident

    §

    impl Unpin for Ident

    §

    impl UnwindSafe for Ident

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Ident> for TokenTree

    Source§

    fn from(g: Ident) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for Ident

    Source§

    fn hash<H: Hasher>(&self, hasher: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for Ident

    Source§

    fn cmp(&self, other: &Ident) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl<T> PartialEq<T> for Ident
    where + T: ?Sized + AsRef<str>,

    Source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialEq for Ident

    Source§

    fn eq(&self, other: &Ident) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for Ident

    Source§

    fn partial_cmp(&self, other: &Ident) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl Eq for Ident

    Auto Trait Implementations§

    §

    impl Freeze for Ident

    §

    impl RefUnwindSafe for Ident

    §

    impl !Send for Ident

    §

    impl !Sync for Ident

    §

    impl Unpin for Ident

    §

    impl UnwindSafe for Ident

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.LexError.html b/proc_macro2/struct.LexError.html index 3dd3563..2940b83 100644 --- a/proc_macro2/struct.LexError.html +++ b/proc_macro2/struct.LexError.html @@ -1,13 +1,13 @@ -LexError in proc_macro2 - Rust
    proc_macro2

    Struct LexError

    source
    pub struct LexError { /* private fields */ }
    Expand description

    Error returned from TokenStream::from_str.

    -

    Implementations§

    source§

    impl LexError

    source

    pub fn span(&self) -> Span

    Trait Implementations§

    source§

    impl Debug for LexError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for LexError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for LexError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +LexError in proc_macro2 - Rust
    proc_macro2

    Struct LexError

    Source
    pub struct LexError { /* private fields */ }
    Expand description

    Error returned from TokenStream::from_str.

    +

    Implementations§

    Source§

    impl LexError

    Source

    pub fn span(&self) -> Span

    Trait Implementations§

    Source§

    impl Debug for LexError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for LexError

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for LexError

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.Literal.html b/proc_macro2/struct.Literal.html index 83f36c0..70f6475 100644 --- a/proc_macro2/struct.Literal.html +++ b/proc_macro2/struct.Literal.html @@ -1,9 +1,9 @@ -Literal in proc_macro2 - Rust
    proc_macro2

    Struct Literal

    source
    pub struct Literal { /* private fields */ }
    Expand description

    A literal string ("hello"), byte string (b"hello"), character ('a'), +Literal in proc_macro2 - Rust

    proc_macro2

    Struct Literal

    Source
    pub struct Literal { /* private fields */ }
    Expand description

    A literal string ("hello"), byte string (b"hello"), character ('a'), byte character (b'a'), an integer or floating point number with or without a suffix (1, 1u8, 2.3, 2.3f32).

    Boolean literals like true and false do not belong here, they are Idents.

    -

    Implementations§

    source§

    impl Literal

    source

    pub fn u8_suffixed(n: u8) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +

    Implementations§

    Source§

    impl Literal

    Source

    pub fn u8_suffixed(n: u8) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -12,7 +12,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u16_suffixed(n: u16) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn u16_suffixed(n: u16) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -21,7 +21,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u32_suffixed(n: u32) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn u32_suffixed(n: u32) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -30,7 +30,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u64_suffixed(n: u64) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn u64_suffixed(n: u64) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -39,7 +39,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u128_suffixed(n: u128) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn u128_suffixed(n: u128) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -48,7 +48,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn usize_suffixed(n: usize) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn usize_suffixed(n: usize) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -57,7 +57,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i8_suffixed(n: i8) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn i8_suffixed(n: i8) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -66,7 +66,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i16_suffixed(n: i16) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn i16_suffixed(n: i16) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -75,7 +75,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i32_suffixed(n: i32) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn i32_suffixed(n: i32) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -84,7 +84,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i64_suffixed(n: i64) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn i64_suffixed(n: i64) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -93,7 +93,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i128_suffixed(n: i128) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn i128_suffixed(n: i128) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -102,7 +102,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn isize_suffixed(n: isize) -> Literal

    Creates a new suffixed integer literal with the specified value.

    +
    Source

    pub fn isize_suffixed(n: isize) -> Literal

    Creates a new suffixed integer literal with the specified value.

    This function will create an integer like 1u32 where the integer value specified is the first part of the token and the integral is also suffixed at the end. Literals created from negative numbers may @@ -111,7 +111,7 @@ broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u8_unsuffixed(n: u8) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn u8_unsuffixed(n: u8) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -122,7 +122,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u16_unsuffixed(n: u16) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn u16_unsuffixed(n: u16) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -133,7 +133,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u32_unsuffixed(n: u32) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn u32_unsuffixed(n: u32) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -144,7 +144,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u64_unsuffixed(n: u64) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn u64_unsuffixed(n: u64) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -155,7 +155,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn u128_unsuffixed(n: u128) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn u128_unsuffixed(n: u128) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -166,7 +166,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn usize_unsuffixed(n: usize) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn usize_unsuffixed(n: usize) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -177,7 +177,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i8_unsuffixed(n: i8) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn i8_unsuffixed(n: i8) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -188,7 +188,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i16_unsuffixed(n: i16) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn i16_unsuffixed(n: i16) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -199,7 +199,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i32_unsuffixed(n: i32) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn i32_unsuffixed(n: i32) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -210,7 +210,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i64_unsuffixed(n: i64) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn i64_unsuffixed(n: i64) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -221,7 +221,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn i128_unsuffixed(n: i128) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn i128_unsuffixed(n: i128) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -232,7 +232,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn isize_unsuffixed(n: isize) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    +
    Source

    pub fn isize_unsuffixed(n: isize) -> Literal

    Creates a new unsuffixed integer literal with the specified value.

    This function will create an integer like 1 where the integer value specified is the first part of the token. No suffix is specified on this token, meaning that invocations like @@ -243,7 +243,7 @@ be broken into two tokens (- and positive literal).

    Literals created through this method have the Span::call_site() span by default, which can be configured with the set_span method below.

    -
    source

    pub fn f64_unsuffixed(f: f64) -> Literal

    Creates a new unsuffixed floating-point literal.

    +
    Source

    pub fn f64_unsuffixed(f: f64) -> Literal

    Creates a new unsuffixed floating-point literal.

    This constructor is similar to those like Literal::i8_unsuffixed where the float’s value is emitted directly into the token but no suffix is used, so it may be inferred to be a f64 later in the compiler. @@ -253,7 +253,7 @@ and positive literal).

    §Panics

    This function requires that the specified float is finite, for example if it is infinity or NaN this function will panic.

    -
    source

    pub fn f64_suffixed(f: f64) -> Literal

    Creates a new suffixed floating-point literal.

    +
    Source

    pub fn f64_suffixed(f: f64) -> Literal

    Creates a new suffixed floating-point literal.

    This constructor will create a literal like 1.0f64 where the value specified is the preceding part of the token and f64 is the suffix of the token. This token will always be inferred to be an f64 in the @@ -263,7 +263,7 @@ tokens (- and positive literal).

    §Panics

    This function requires that the specified float is finite, for example if it is infinity or NaN this function will panic.

    -
    source

    pub fn f32_unsuffixed(f: f32) -> Literal

    Creates a new unsuffixed floating-point literal.

    +
    Source

    pub fn f32_unsuffixed(f: f32) -> Literal

    Creates a new unsuffixed floating-point literal.

    This constructor is similar to those like Literal::i8_unsuffixed where the float’s value is emitted directly into the token but no suffix is used, so it may be inferred to be a f64 later in the compiler. @@ -273,7 +273,7 @@ and positive literal).

    §Panics

    This function requires that the specified float is finite, for example if it is infinity or NaN this function will panic.

    -
    source

    pub fn f32_suffixed(f: f32) -> Literal

    Creates a new suffixed floating-point literal.

    +
    Source

    pub fn f32_suffixed(f: f32) -> Literal

    Creates a new suffixed floating-point literal.

    This constructor will create a literal like 1.0f32 where the value specified is the preceding part of the token and f32 is the suffix of the token. This token will always be inferred to be an f32 in the @@ -283,30 +283,30 @@ tokens (- and positive literal).

    §Panics

    This function requires that the specified float is finite, for example if it is infinity or NaN this function will panic.

    -
    source

    pub fn string(string: &str) -> Literal

    String literal.

    -
    source

    pub fn character(ch: char) -> Literal

    Character literal.

    -
    source

    pub fn byte_character(byte: u8) -> Literal

    Byte character literal.

    -
    source

    pub fn byte_string(bytes: &[u8]) -> Literal

    Byte string literal.

    -
    source

    pub fn c_string(string: &CStr) -> Literal

    C string literal.

    -
    source

    pub fn span(&self) -> Span

    Returns the span encompassing this literal.

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configures the span associated for this literal.

    -
    source

    pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span>

    Returns a Span that is a subset of self.span() containing only +

    Source

    pub fn string(string: &str) -> Literal

    String literal.

    +
    Source

    pub fn character(ch: char) -> Literal

    Character literal.

    +
    Source

    pub fn byte_character(byte: u8) -> Literal

    Byte character literal.

    +
    Source

    pub fn byte_string(bytes: &[u8]) -> Literal

    Byte string literal.

    +
    Source

    pub fn c_string(string: &CStr) -> Literal

    C string literal.

    +
    Source

    pub fn span(&self) -> Span

    Returns the span encompassing this literal.

    +
    Source

    pub fn set_span(&mut self, span: Span)

    Configures the span associated for this literal.

    +
    Source

    pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span>

    Returns a Span that is a subset of self.span() containing only the source bytes in range range. Returns None if the would-be trimmed span is outside the bounds of self.

    Warning: the underlying proc_macro::Literal::subspan method is nightly-only. When called from within a procedural macro not using a nightly compiler, this method will always return None.

    -

    Trait Implementations§

    source§

    impl Clone for Literal

    source§

    fn clone(&self) -> Literal

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Literal

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Literal

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Literal> for TokenTree

    source§

    fn from(g: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Literal

    source§

    type Err = LexError

    The associated error which can be returned from parsing.
    source§

    fn from_str(repr: &str) -> Result<Self, LexError>

    Parses a string s to return a value of this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Literal

    Source§

    fn clone(&self) -> Literal

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Literal

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Literal

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Literal> for TokenTree

    Source§

    fn from(g: Literal) -> Self

    Converts to this type from the input type.
    Source§

    impl FromStr for Literal

    Source§

    type Err = LexError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(repr: &str) -> Result<Self, LexError>

    Parses a string s to return a value of this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.Punct.html b/proc_macro2/struct.Punct.html index 1ea92cc..4e93df0 100644 --- a/proc_macro2/struct.Punct.html +++ b/proc_macro2/struct.Punct.html @@ -1,32 +1,32 @@ -Punct in proc_macro2 - Rust
    proc_macro2

    Struct Punct

    source
    pub struct Punct { /* private fields */ }
    Expand description

    A Punct is a single punctuation character like +, - or #.

    +Punct in proc_macro2 - Rust
    proc_macro2

    Struct Punct

    Source
    pub struct Punct { /* private fields */ }
    Expand description

    A Punct is a single punctuation character like +, - or #.

    Multicharacter operators like += are represented as two instances of Punct with different forms of Spacing returned.

    -

    Implementations§

    source§

    impl Punct

    source

    pub fn new(ch: char, spacing: Spacing) -> Self

    Creates a new Punct from the given character and spacing.

    +

    Implementations§

    Source§

    impl Punct

    Source

    pub fn new(ch: char, spacing: Spacing) -> Self

    Creates a new Punct from the given character and spacing.

    The ch argument must be a valid punctuation character permitted by the language, otherwise the function will panic.

    The returned Punct will have the default span of Span::call_site() which can be further configured with the set_span method below.

    -
    source

    pub fn as_char(&self) -> char

    Returns the value of this punctuation character as char.

    -
    source

    pub fn spacing(&self) -> Spacing

    Returns the spacing of this punctuation character, indicating whether +

    Source

    pub fn as_char(&self) -> char

    Returns the value of this punctuation character as char.

    +
    Source

    pub fn spacing(&self) -> Spacing

    Returns the spacing of this punctuation character, indicating whether it’s immediately followed by another Punct in the token stream, so they can potentially be combined into a multicharacter operator (Joint), or it’s followed by some other token or whitespace (Alone) so the operator has certainly ended.

    -
    source

    pub fn span(&self) -> Span

    Returns the span for this punctuation character.

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configure the span for this punctuation character.

    -

    Trait Implementations§

    source§

    impl Clone for Punct

    source§

    fn clone(&self) -> Punct

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Punct

    source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Punct

    Prints the punctuation character as a string that should be losslessly +

    Source

    pub fn span(&self) -> Span

    Returns the span for this punctuation character.

    +
    Source

    pub fn set_span(&mut self, span: Span)

    Configure the span for this punctuation character.

    +

    Trait Implementations§

    Source§

    impl Clone for Punct

    Source§

    fn clone(&self) -> Punct

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Punct

    Source§

    fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Punct

    Prints the punctuation character as a string that should be losslessly convertible back into the same character.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Punct> for TokenTree

    source§

    fn from(g: Punct) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Punct

    §

    impl RefUnwindSafe for Punct

    §

    impl !Send for Punct

    §

    impl !Sync for Punct

    §

    impl Unpin for Punct

    §

    impl UnwindSafe for Punct

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Punct> for TokenTree

    Source§

    fn from(g: Punct) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Punct

    §

    impl RefUnwindSafe for Punct

    §

    impl !Send for Punct

    §

    impl !Sync for Punct

    §

    impl Unpin for Punct

    §

    impl UnwindSafe for Punct

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.Span.html b/proc_macro2/struct.Span.html index 3a9a807..b143fe9 100644 --- a/proc_macro2/struct.Span.html +++ b/proc_macro2/struct.Span.html @@ -1,44 +1,44 @@ -Span in proc_macro2 - Rust
    proc_macro2

    Struct Span

    source
    pub struct Span { /* private fields */ }
    Expand description

    A region of source code, along with macro expansion information.

    -

    Implementations§

    source§

    impl Span

    source

    pub fn call_site() -> Self

    The span of the invocation of the current procedural macro.

    +Span in proc_macro2 - Rust
    proc_macro2

    Struct Span

    Source
    pub struct Span { /* private fields */ }
    Expand description

    A region of source code, along with macro expansion information.

    +

    Implementations§

    Source§

    impl Span

    Source

    pub fn call_site() -> Self

    The span of the invocation of the current procedural macro.

    Identifiers created with this span will be resolved as if they were written directly at the macro call location (call-site hygiene) and other code at the macro call site will be able to refer to them as well.

    -
    source

    pub fn mixed_site() -> Self

    The span located at the invocation of the procedural macro, but with +

    Source

    pub fn mixed_site() -> Self

    The span located at the invocation of the procedural macro, but with local variables, labels, and $crate resolved at the definition site of the macro. This is the same hygiene behavior as macro_rules.

    -
    source

    pub fn resolved_at(&self, other: Span) -> Span

    Creates a new span with the same line/column information as self but +

    Source

    pub fn resolved_at(&self, other: Span) -> Span

    Creates a new span with the same line/column information as self but that resolves symbols as though it were at other.

    -
    source

    pub fn located_at(&self, other: Span) -> Span

    Creates a new span with the same name resolution behavior as self but +

    Source

    pub fn located_at(&self, other: Span) -> Span

    Creates a new span with the same name resolution behavior as self but with the line/column information of other.

    -
    source

    pub fn unwrap(self) -> Span

    Convert proc_macro2::Span to proc_macro::Span.

    +
    Source

    pub fn unwrap(self) -> Span

    Convert proc_macro2::Span to proc_macro::Span.

    This method is available when building with a nightly compiler, or when building with rustc 1.29+ without semver exempt features.

    §Panics

    Panics if called from outside of a procedural macro. Unlike proc_macro2::Span, the proc_macro::Span type can only exist within the context of a procedural macro invocation.

    -
    source

    pub fn join(&self, other: Span) -> Option<Span>

    Create a new span encompassing self and other.

    +
    Source

    pub fn join(&self, other: Span) -> Option<Span>

    Create a new span encompassing self and other.

    Returns None if self and other are from different files.

    Warning: the underlying proc_macro::Span::join method is nightly-only. When called from within a procedural macro not using a nightly compiler, this method will always return None.

    -
    source

    pub fn source_text(&self) -> Option<String>

    Returns the source text behind a span. This preserves the original +

    Source

    pub fn source_text(&self) -> Option<String>

    Returns the source text behind a span. This preserves the original source code, including spaces and comments. It only returns a result if the span corresponds to real source code.

    Note: The observable result of a macro should only rely on the tokens and not on this source text. The result of this function is a best effort to be used for diagnostics only.

    -

    Trait Implementations§

    source§

    impl Clone for Span

    source§

    fn clone(&self) -> Span

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Span

    Prints a span in a form convenient for debugging.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Span> for Span

    source§

    fn from(proc_span: Span) -> Self

    Converts to this type from the input type.
    source§

    impl Copy for Span

    Auto Trait Implementations§

    §

    impl Freeze for Span

    §

    impl RefUnwindSafe for Span

    §

    impl !Send for Span

    §

    impl !Sync for Span

    §

    impl Unpin for Span

    §

    impl UnwindSafe for Span

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Span

    Source§

    fn clone(&self) -> Span

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Span

    Prints a span in a form convenient for debugging.

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Span> for Span

    Source§

    fn from(proc_span: Span) -> Self

    Converts to this type from the input type.
    Source§

    impl Copy for Span

    Auto Trait Implementations§

    §

    impl Freeze for Span

    §

    impl RefUnwindSafe for Span

    §

    impl !Send for Span

    §

    impl !Sync for Span

    §

    impl Unpin for Span

    §

    impl UnwindSafe for Span

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/struct.TokenStream.html b/proc_macro2/struct.TokenStream.html index 828f12f..4c6562d 100644 --- a/proc_macro2/struct.TokenStream.html +++ b/proc_macro2/struct.TokenStream.html @@ -1,35 +1,35 @@ -TokenStream in proc_macro2 - Rust
    proc_macro2

    Struct TokenStream

    source
    pub struct TokenStream { /* private fields */ }
    Expand description

    An abstract stream of tokens, or more concretely a sequence of token trees.

    +TokenStream in proc_macro2 - Rust
    proc_macro2

    Struct TokenStream

    Source
    pub struct TokenStream { /* private fields */ }
    Expand description

    An abstract stream of tokens, or more concretely a sequence of token trees.

    This type provides interfaces for iterating over token trees and for collecting token trees into one stream.

    Token stream is both the input and output of #[proc_macro], #[proc_macro_attribute] and #[proc_macro_derive] definitions.

    -

    Implementations§

    source§

    impl TokenStream

    source

    pub fn new() -> Self

    Returns an empty TokenStream containing no token trees.

    -
    source

    pub fn is_empty(&self) -> bool

    Checks if this TokenStream is empty.

    -

    Trait Implementations§

    source§

    impl Clone for TokenStream

    source§

    fn clone(&self) -> TokenStream

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TokenStream

    Prints token in a form convenient for debugging.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TokenStream

    TokenStream::default() returns an empty stream, +

    Implementations§

    Source§

    impl TokenStream

    Source

    pub fn new() -> Self

    Returns an empty TokenStream containing no token trees.

    +
    Source

    pub fn is_empty(&self) -> bool

    Checks if this TokenStream is empty.

    +

    Trait Implementations§

    Source§

    impl Clone for TokenStream

    Source§

    fn clone(&self) -> TokenStream

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TokenStream

    Prints token in a form convenient for debugging.

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TokenStream

    TokenStream::default() returns an empty stream, i.e. this is equivalent with TokenStream::new().

    -
    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Display for TokenStream

    Prints the token stream as a string that is supposed to be losslessly +

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Display for TokenStream

    Prints the token stream as a string that is supposed to be losslessly convertible back into the same token stream (modulo spans), except for possibly TokenTree::Groups with Delimiter::None delimiters and negative numeric literals.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<TokenStream> for TokenStream

    source§

    fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Extend<TokenTree> for TokenStream

    source§

    fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl From<TokenStream> for TokenStream

    source§

    fn from(inner: TokenStream) -> Self

    Converts to this type from the input type.
    source§

    impl From<TokenStream> for TokenStream

    source§

    fn from(inner: TokenStream) -> Self

    Converts to this type from the input type.
    source§

    impl From<TokenTree> for TokenStream

    source§

    fn from(token: TokenTree) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<TokenStream> for TokenStream

    source§

    fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl FromIterator<TokenTree> for TokenStream

    Collects a number of token trees into a single stream.

    -
    source§

    fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl FromStr for TokenStream

    Attempts to break the string into tokens and parse those tokens into a token +

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Extend<TokenStream> for TokenStream

    Source§

    fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl Extend<TokenTree> for TokenStream

    Source§

    fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl From<TokenStream> for TokenStream

    Source§

    fn from(inner: TokenStream) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TokenStream> for TokenStream

    Source§

    fn from(inner: TokenStream) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TokenTree> for TokenStream

    Source§

    fn from(token: TokenTree) -> Self

    Converts to this type from the input type.
    Source§

    impl FromIterator<TokenStream> for TokenStream

    Source§

    fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromIterator<TokenTree> for TokenStream

    Collects a number of token trees into a single stream.

    +
    Source§

    fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl FromStr for TokenStream

    Attempts to break the string into tokens and parse those tokens into a token stream.

    May fail for a number of reasons, for example, if the string contains unbalanced delimiters or characters not existing in the language.

    NOTE: Some errors may cause panics instead of returning LexError. We reserve the right to change these errors into LexErrors later.

    -
    source§

    type Err = LexError

    The associated error which can be returned from parsing.
    source§

    fn from_str(src: &str) -> Result<TokenStream, LexError>

    Parses a string s to return a value of this type. Read more
    source§

    impl IntoIterator for TokenStream

    source§

    type Item = TokenTree

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    type Err = LexError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(src: &str) -> Result<TokenStream, LexError>

    Parses a string s to return a value of this type. Read more
    Source§

    impl IntoIterator for TokenStream

    Source§

    type Item = TokenTree

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/proc_macro2/token_stream/index.html b/proc_macro2/token_stream/index.html index a88f8ea..342427b 100644 --- a/proc_macro2/token_stream/index.html +++ b/proc_macro2/token_stream/index.html @@ -1,2 +1,2 @@ -proc_macro2::token_stream - Rust
    proc_macro2

    Module token_stream

    source
    Expand description

    Public implementation details for the TokenStream type, such as iterators.

    +proc_macro2::token_stream - Rust
    proc_macro2

    Module token_stream

    Source
    Expand description

    Public implementation details for the TokenStream type, such as iterators.

    Re-exports§

    Structs§

    • An iterator over TokenStream’s TokenTrees.
    \ No newline at end of file diff --git a/proc_macro2/token_stream/struct.IntoIter.html b/proc_macro2/token_stream/struct.IntoIter.html index 3d0b8ef..50fade9 100644 --- a/proc_macro2/token_stream/struct.IntoIter.html +++ b/proc_macro2/token_stream/struct.IntoIter.html @@ -1,196 +1,196 @@ -IntoIter in proc_macro2::token_stream - Rust
    proc_macro2::token_stream

    Struct IntoIter

    source
    pub struct IntoIter { /* private fields */ }
    Expand description

    An iterator over TokenStream’s TokenTrees.

    +IntoIter in proc_macro2::token_stream - Rust
    proc_macro2::token_stream

    Struct IntoIter

    Source
    pub struct IntoIter { /* private fields */ }
    Expand description

    An iterator over TokenStream’s TokenTrees.

    The iteration is “shallow”, e.g. the iterator doesn’t recurse into delimited groups, and returns whole groups as token trees.

    -

    Trait Implementations§

    source§

    impl Clone for IntoIter

    source§

    fn clone(&self) -> IntoIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IntoIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Iterator for IntoIter

    source§

    type Item = TokenTree

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<TokenTree>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl Clone for IntoIter

    Source§

    fn clone(&self) -> IntoIter

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for IntoIter

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Iterator for IntoIter

    Source§

    type Item = TokenTree

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<TokenTree>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where - Self: Sized, - Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · source§

    fn cycle(self) -> Cycle<Self>
    where - Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where + Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/quote/all.html b/quote/all.html index 2102fd4..4102c60 100644 --- a/quote/all.html +++ b/quote/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/quote/index.html b/quote/index.html index 340be5a..cd09265 100644 --- a/quote/index.html +++ b/quote/index.html @@ -1,4 +1,4 @@ -quote - Rust

    Crate quote

    source
    Expand description

    githubcrates-iodocs-rs

    +quote - Rust

    Crate quote

    Source
    Expand description

    githubcrates-iodocs-rs


    This crate provides the quote! macro for turning Rust syntax tree data structures into tokens of source code.

    diff --git a/quote/macro.format_ident.html b/quote/macro.format_ident.html index aa4efda..b5776e7 100644 --- a/quote/macro.format_ident.html +++ b/quote/macro.format_ident.html @@ -1,21 +1,21 @@ -format_ident in quote - Rust
    quote

    Macro format_ident

    source
    macro_rules! format_ident {
    -    ($fmt:expr) => { ... };
    -    ($fmt:expr, $($rest:tt)*) => { ... };
    -}
    Expand description

    Formatting macro for constructing Idents.

    +format_ident in quote - Rust
    quote

    Macro format_ident

    Source
    macro_rules! format_ident {
    +    ($fmt:expr) => { ... };
    +    ($fmt:expr, $($rest:tt)*) => { ... };
    +}
    Expand description

    Formatting macro for constructing Idents.


    §Syntax

    -

    Syntax is copied from the format! macro, supporting both positional and +

    Syntax is copied from the format! macro, supporting both positional and named arguments.

    Only a limited set of formatting traits are supported. The current mapping of format types to traits is:

    -

    See std::fmt for more information.

    +

    See std::fmt for more information.


    §IdentFragment

    Unlike format!, this macro uses the IdentFragment formatting trait by diff --git a/quote/macro.quote.html b/quote/macro.quote.html index 8c8ea3a..0226750 100644 --- a/quote/macro.quote.html +++ b/quote/macro.quote.html @@ -1,10 +1,10 @@ -quote in quote - Rust

    quote

    Macro quote

    source
    macro_rules! quote {
    -    ($($tt:tt)*) => { ... };
    -}
    Expand description

    The whole point.

    +quote in quote - Rust
    quote

    Macro quote

    Source
    macro_rules! quote {
    +    ($($tt:tt)*) => { ... };
    +}
    Expand description

    The whole point.

    Performs variable interpolation against the input and produces it as proc_macro2::TokenStream.

    Note: for returning tokens to the compiler in a procedural macro, use -.into() on the result to convert to proc_macro::TokenStream.

    +.into() on the result to convert to proc_macro::TokenStream.


    §Interpolation

    Variable interpolation is done with #var (similar to $var in diff --git a/quote/macro.quote_spanned.html b/quote/macro.quote_spanned.html index 539fbd1..0142ba7 100644 --- a/quote/macro.quote_spanned.html +++ b/quote/macro.quote_spanned.html @@ -1,6 +1,6 @@ -quote_spanned in quote - Rust

    quote

    Macro quote_spanned

    source
    macro_rules! quote_spanned {
    -    ($span:expr=> $($tt:tt)*) => { ... };
    -}
    Expand description

    Same as quote!, but applies a given span to all tokens originating within +quote_spanned in quote - Rust

    quote

    Macro quote_spanned

    Source
    macro_rules! quote_spanned {
    +    ($span:expr=> $($tt:tt)*) => { ... };
    +}
    Expand description

    Same as quote!, but applies a given span to all tokens originating within the macro invocation.


    §Syntax

    diff --git a/quote/trait.IdentFragment.html b/quote/trait.IdentFragment.html index 87bd54b..77aa823 100644 --- a/quote/trait.IdentFragment.html +++ b/quote/trait.IdentFragment.html @@ -1,15 +1,15 @@ -IdentFragment in quote - Rust
    quote

    Trait IdentFragment

    source
    pub trait IdentFragment {
    +IdentFragment in quote - Rust
    quote

    Trait IdentFragment

    Source
    pub trait IdentFragment {
         // Required method
    -    fn fmt(&self, f: &mut Formatter<'_>) -> Result;
    +    fn fmt(&self, f: &mut Formatter<'_>) -> Result;
     
         // Provided method
    -    fn span(&self) -> Option<Span> { ... }
    +    fn span(&self) -> Option<Span> { ... }
     }
    Expand description

    Specialized formatting trait used by format_ident!.

    Ident arguments formatted using this trait will have their r# prefix stripped, if present.

    See format_ident! for more information.

    -

    Required Methods§

    source

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.

    -

    Provided Methods§

    source

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment.

    +

    Required Methods§

    Source

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.

    +

    Provided Methods§

    Source

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment.

    If non-None, may be inherited by formatted identifiers.

    -

    Implementations on Foreign Types§

    source§

    impl IdentFragment for bool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for char

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for str

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for u8

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for u16

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for u32

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for u64

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for u128

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for usize

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for Ident

    source§

    fn span(&self) -> Option<Span>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl IdentFragment for String

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl<T> IdentFragment for Cow<'_, T>
    where - T: IdentFragment + ToOwned + ?Sized,

    source§

    fn span(&self) -> Option<Span>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl<T: IdentFragment + ?Sized> IdentFragment for &T

    source§

    fn span(&self) -> Option<Span>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    source§

    impl<T: IdentFragment + ?Sized> IdentFragment for &mut T

    source§

    fn span(&self) -> Option<Span>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    Source§

    impl IdentFragment for bool

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for char

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for str

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for u8

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for u16

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for u32

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for u64

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for u128

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for usize

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for Ident

    Source§

    fn span(&self) -> Option<Span>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl IdentFragment for String

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl<T> IdentFragment for Cow<'_, T>
    where + T: IdentFragment + ToOwned + ?Sized,

    Source§

    fn span(&self) -> Option<Span>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl<T: IdentFragment + ?Sized> IdentFragment for &T

    Source§

    fn span(&self) -> Option<Span>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Source§

    impl<T: IdentFragment + ?Sized> IdentFragment for &mut T

    Source§

    fn span(&self) -> Option<Span>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Implementors§

    \ No newline at end of file diff --git a/quote/trait.ToTokens.html b/quote/trait.ToTokens.html index 9d4c9d8..812dce2 100644 --- a/quote/trait.ToTokens.html +++ b/quote/trait.ToTokens.html @@ -1,13 +1,13 @@ -ToTokens in quote - Rust
    quote

    Trait ToTokens

    source
    pub trait ToTokens {
    +ToTokens in quote - Rust
    quote

    Trait ToTokens

    Source
    pub trait ToTokens {
         // Required method
         fn to_tokens(&self, tokens: &mut TokenStream);
     
         // Provided methods
         fn to_token_stream(&self) -> TokenStream { ... }
         fn into_token_stream(self) -> TokenStream
    -       where Self: Sized { ... }
    +       where Self: Sized { ... }
     }
    Expand description

    Types that can be interpolated inside a quote! invocation.

    -

    Required Methods§

    source

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream.

    +

    Required Methods§

    Source

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream.

    The token append methods provided by the TokenStreamExt extension trait may be useful for implementing ToTokens.

    §Example
    @@ -34,11 +34,11 @@ trait may be useful for implementing ToTokens.

    } } }
    -

    Provided Methods§

    source

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object.

    +

    Provided Methods§

    Source

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object.

    This method is implicitly implemented using to_tokens, and acts as a convenience method for consumers of the ToTokens trait.

    -
    source

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object.

    +
    Source

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object.

    This method is implicitly implemented using to_tokens, and acts as a convenience method for consumers of the ToTokens trait.

    -

    Implementations on Foreign Types§

    source§

    impl ToTokens for TokenTree

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for bool

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for char

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for f32

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for f64

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for i8

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for i16

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for i32

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for i64

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for i128

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for isize

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for str

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for u8

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for u16

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for u32

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for u64

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for u128

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for usize

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for Group

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for Ident

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for Literal

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for Punct

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for TokenStream

    source§

    impl ToTokens for CString

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for String

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl ToTokens for CStr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<T: ToTokens> ToTokens for Option<T>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<T: ?Sized + ToTokens> ToTokens for Box<T>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    source§

    impl<T: ?Sized + ToTokens> ToTokens for Rc<T>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    Source§

    impl ToTokens for TokenTree

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for bool

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for char

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for f32

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for f64

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for i8

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for i16

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for i32

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for i64

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for i128

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for isize

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for str

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for u8

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for u16

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for u32

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for u64

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for u128

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for usize

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for Group

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for Ident

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for Literal

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for Punct

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for TokenStream

    Source§

    impl ToTokens for CString

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for String

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl ToTokens for CStr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<'a, T: ?Sized + ToOwned + ToTokens> ToTokens for Cow<'a, T>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<T: ToTokens> ToTokens for Option<T>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<T: ?Sized + ToTokens> ToTokens for &T

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<T: ?Sized + ToTokens> ToTokens for &mut T

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<T: ?Sized + ToTokens> ToTokens for Box<T>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Source§

    impl<T: ?Sized + ToTokens> ToTokens for Rc<T>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Implementors§

    \ No newline at end of file diff --git a/quote/trait.TokenStreamExt.html b/quote/trait.TokenStreamExt.html index 63a5cab..c817b9c 100644 --- a/quote/trait.TokenStreamExt.html +++ b/quote/trait.TokenStreamExt.html @@ -1,26 +1,26 @@ -TokenStreamExt in quote - Rust
    quote

    Trait TokenStreamExt

    source
    pub trait TokenStreamExt: Sealed {
    +TokenStreamExt in quote - Rust
    quote

    Trait TokenStreamExt

    Source
    pub trait TokenStreamExt: Sealed {
         // Required methods
         fn append<U>(&mut self, token: U)
    -       where U: Into<TokenTree>;
    +       where U: Into<TokenTree>;
         fn append_all<I>(&mut self, iter: I)
    -       where I: IntoIterator,
    -             I::Item: ToTokens;
    +       where I: IntoIterator,
    +             I::Item: ToTokens;
         fn append_separated<I, U>(&mut self, iter: I, op: U)
    -       where I: IntoIterator,
    -             I::Item: ToTokens,
    +       where I: IntoIterator,
    +             I::Item: ToTokens,
                  U: ToTokens;
         fn append_terminated<I, U>(&mut self, iter: I, term: U)
    -       where I: IntoIterator,
    -             I::Item: ToTokens,
    +       where I: IntoIterator,
    +             I::Item: ToTokens,
                  U: ToTokens;
     }
    Expand description

    TokenStream extension trait with methods for appending tokens.

    This trait is sealed and cannot be implemented outside of the quote crate.

    -

    Required Methods§

    source

    fn append<U>(&mut self, token: U)
    where - U: Into<TokenTree>,

    For use by ToTokens implementations.

    +

    Required Methods§

    Source

    fn append<U>(&mut self, token: U)
    where + U: Into<TokenTree>,

    For use by ToTokens implementations.

    Appends the token specified to this list of tokens.

    -
    source

    fn append_all<I>(&mut self, iter: I)
    where - I: IntoIterator, - I::Item: ToTokens,

    For use by ToTokens implementations.

    +
    Source

    fn append_all<I>(&mut self, iter: I)
    where + I: IntoIterator, + I::Item: ToTokens,

    For use by ToTokens implementations.

    struct X;
     
    @@ -32,25 +32,25 @@
     
     let tokens = quote!(#X);
     assert_eq!(tokens.to_string(), "true false");
    -
    source

    fn append_separated<I, U>(&mut self, iter: I, op: U)
    where - I: IntoIterator, - I::Item: ToTokens, +

    Source

    fn append_separated<I, U>(&mut self, iter: I, op: U)
    where + I: IntoIterator, + I::Item: ToTokens, U: ToTokens,

    For use by ToTokens implementations.

    Appends all of the items in the iterator I, separated by the tokens U.

    -
    source

    fn append_terminated<I, U>(&mut self, iter: I, term: U)
    where - I: IntoIterator, - I::Item: ToTokens, +

    Source

    fn append_terminated<I, U>(&mut self, iter: I, term: U)
    where + I: IntoIterator, + I::Item: ToTokens, U: ToTokens,

    For use by ToTokens implementations.

    Appends all tokens in the iterator I, appending U after each element, including after the last element of the iterator.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl TokenStreamExt for TokenStream

    source§

    fn append<U>(&mut self, token: U)
    where - U: Into<TokenTree>,

    source§

    fn append_all<I>(&mut self, iter: I)
    where - I: IntoIterator, - I::Item: ToTokens,

    source§

    fn append_separated<I, U>(&mut self, iter: I, op: U)
    where - I: IntoIterator, - I::Item: ToTokens, - U: ToTokens,

    source§

    fn append_terminated<I, U>(&mut self, iter: I, term: U)
    where - I: IntoIterator, - I::Item: ToTokens, +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    Source§

    impl TokenStreamExt for TokenStream

    Source§

    fn append<U>(&mut self, token: U)
    where + U: Into<TokenTree>,

    Source§

    fn append_all<I>(&mut self, iter: I)
    where + I: IntoIterator, + I::Item: ToTokens,

    Source§

    fn append_separated<I, U>(&mut self, iter: I, op: U)
    where + I: IntoIterator, + I::Item: ToTokens, + U: ToTokens,

    Source§

    fn append_terminated<I, U>(&mut self, iter: I, term: U)
    where + I: IntoIterator, + I::Item: ToTokens, U: ToTokens,

    Implementors§

    \ No newline at end of file diff --git a/search-index.js b/search-index.js index 15fcb5a..d822b76 100644 --- a/search-index.js +++ b/search-index.js @@ -1,4 +1,4 @@ -var searchIndex = new Map(JSON.parse('[["delog",{"t":"PPKPPKPPGGPFKKFPPKKPPNNNMONNNNNNNNMNNNMNNNNNNNNNNQHHNNNNNNMMMONNNNNNNNNNNNQNNCQQNNNNNNNNEHNNNNNNNNNMOCMMNNMONNNHNNNNNNNNMNNNNMOFHTTKFKNNNNNNNNNNNNNNNNNNOFFNNNNNNNNHNNNNNNHHNNNNNN","n":["Debug","","Delogger","Error","","Flusher","Info","","Level","LevelFilter","Off","Record","Renderer","State","Statistics","Trace","","TryLog","TryLogWithStatistics","Warn","","args","as_str","","attempts","","borrow","","","","borrow_mut","","","","buffer","builder","capacity","","claimed","clone","","","","clone_to_uninit","","","","cmp","","delog","dequeue","enqueue","eq","","","","file","file_static","flush","","flushes","","fmt","","","","","","from","","","","from_str","","generate_macros","hash","","hex","hex_str","hexstr","into","","","","iter","","level","line","log","logger","max","","metadata","module_path","module_path_static","partial_cmp","","","","read","","render","","","statistics","","successes","","target","to_level","to_level_filter","try_enqueue","try_from","","","","try_into","","","","try_log","type_id","","","","written","","HexStr","","N","SEPARATOR","Separator","U1","Unsigned","borrow","","borrow_mut","","fmt","","","","from","","into","","try_from","","try_into","","type_id","","value","DefaultRenderer","RipgrepRenderer","borrow","","borrow_mut","","clone","","clone_to_uninit","","default","from","","into","","render","","render_arguments","render_record","try_from","","try_into","","type_id",""],"q":[[0,"delog"],[127,"delog::hex"],[153,"delog::render"],[178,"log"],[179,"core::fmt"],[180,"delog::logger"],[181,"core::sync::atomic"],[182,"core::cmp"],[183,"core::option"],[184,"core::result"],[185,"core::hash"],[186,"core::iter::traits::iterator"],[187,"core::any"],[188,"core::marker"],[189,"core::convert"]],"i":"hl`10`10``0````10``10b21nAn04320432Ab30001543154354```5544330Bh32266554265465`65```26546544``65444665532`1CnCj054678`48764876D`598765``DhDj```EbDd10000010101010100``DnE`101010`101010``101010","f":"`````````````````````{{{d{b}}}{{d{f}}}}{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{{{d{n}}}c{}}`{d{{d{c}}}{}}000{{{d{A`}}}{{d{A`c}}}{}}000{{{d{Ab}}}{{d{A`{Af{Ad}}}}}}{{}Ah}{{{d{Ab}}}Aj}0{{{d{Ab}}}{{d{Al}}}}{{{d{An}}}An}{{{d{h}}}h}{{{d{l}}}l}{{{d{b}}}b}{dB`}000{{{d{h}}{d{h}}}Bb}{{{d{l}}{d{l}}}Bb}`{{c{d{A`{Af{Ad}}}}}{{d{j}}}Ab}{{c{d{b}}}B`Ab}{{{d{h}}{d{l}}}Bd}{{{d{h}}{d{h}}}Bd}{{{d{l}}{d{l}}}Bd}{{{d{l}}{d{h}}}Bd}{{{d{b}}}{{Bf{{d{j}}}}}}0{{{d{Ab}}{d{j}}}B`}{{{d{Bh}}{d{j}}}B`}{{{d{n}}}c{}}`{{{d{An}}{d{A`Bj}}}Bl}{{{d{h}}{d{A`Bj}}}{{C`{B`Bn}}}}0{{{d{l}}{d{A`Bj}}}{{C`{B`Bn}}}}0{{{d{b}}{d{A`Bj}}}{{C`{B`Bn}}}}{cc{}}000{{{d{j}}}{{C`{h}}}}{{{d{j}}}{{C`{l}}}}`{{{d{h}}{d{A`c}}}B`Cb}{{{d{l}}{d{A`c}}}B`Cb}```{{}c{}}000{{}{{`{{Cf{}{{Cd{h}}}}}}}}{{}{{`{{Cf{}{{Cd{l}}}}}}}}{{{d{b}}}h}{{{d{b}}}{{Bf{Ch}}}}`{{}{{d{A`{Bf{{d{Cj}}}}}}}}{{}h}{{}l}{{{d{b}}}{{d{Cl}}}}{{{d{b}}}{{Bf{{d{j}}}}}}0{{{d{h}}{d{l}}}{{Bf{Bb}}}}{{{d{h}}{d{h}}}{{Bf{Bb}}}}{{{d{l}}{d{h}}}{{Bf{Bb}}}}{{{d{l}}{d{l}}}{{Bf{Bb}}}}{{{d{n}}}c{}}``{{{d{Ab}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{Cn}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{Cj}}}An}03`{{{d{b}}}{{d{j}}}}{{{d{l}}}{{Bf{h}}}}{{{d{h}}}l}{{c{d{b}}}{{C`{B`B`}}}Ab}{c{{C`{e}}}{}{}}000{{}{{C`{c}}}{}}000{{{d{D`}}{d{b}}}{{C`{B`B`}}}}{dDb}000;``{{{d{c}}}{{Dd{ceg}}}DfDhDj}`````{d{{d{c}}}{}}0{{{d{A`}}}{{d{A`c}}}{}}0{{{d{{Dd{ceg}}}}{d{A`Bj}}}{{C`{B`Bn}}}{{Dl{{Af{Ad}}}}Df}DhDj}000{cc{}}0{{}c{}}0998866```4433{{{d{Dn}}}Dn}{{{d{E`}}}E`}{dB`}0{{}{{d{Dn}}}}5544{{{d{Dn}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{E`}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{A`{Af{Ad}}}}f}{{d{{Af{Ad}}}}}}{{{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{c{{C`{e}}}{}{}}0{{}{{C`{c}}}{}}0{dDb}0","D":"Lh","p":[[5,"Record",0,178],[1,"reference"],[5,"Arguments",179],[6,"Level",0,178],[1,"str"],[6,"LevelFilter",0,178],[10,"State",0,180],[0,"mut"],[10,"Delogger",0,180],[1,"u8"],[1,"slice"],[5,"RecordBuilder",178],[1,"usize"],[5,"AtomicUsize",181],[5,"Statistics",0,180],[1,"unit"],[6,"Ordering",182],[1,"bool"],[6,"Option",183],[10,"Flusher",0],[5,"Formatter",179],[8,"Result",179],[5,"Error",179],[6,"Result",184],[10,"Hasher",185],[17,"Item"],[10,"Iterator",186],[1,"u32"],[10,"TryLogWithStatistics",0,180],[5,"Metadata",178],[10,"Renderer",0],[10,"TryLog",0,180],[5,"TypeId",187],[5,"HexStr",127],[10,"Sized",188],[10,"Unsigned",127],[10,"Separator",127],[10,"AsRef",189],[5,"DefaultRenderer",153],[5,"RipgrepRenderer",153],[5,"U1",127]],"r":[[2,180],[8,178],[9,178],[11,178],[13,180],[14,180],[17,180],[18,180],[50,180],[51,180],[111,180]],"b":[[52,"impl-PartialEq%3CLevelFilter%3E-for-Level"],[53,"impl-PartialEq-for-Level"],[54,"impl-PartialEq-for-LevelFilter"],[55,"impl-PartialEq%3CLevel%3E-for-LevelFilter"],[63,"impl-Debug-for-Level"],[64,"impl-Display-for-Level"],[65,"impl-Debug-for-LevelFilter"],[66,"impl-Display-for-LevelFilter"],[95,"impl-PartialOrd%3CLevelFilter%3E-for-Level"],[96,"impl-PartialOrd-for-Level"],[97,"impl-PartialOrd%3CLevel%3E-for-LevelFilter"],[98,"impl-PartialOrd-for-LevelFilter"],[138,"impl-Debug-for-HexStr%3C\'_,+T,+U,+S%3E"],[139,"impl-UpperHex-for-HexStr%3C\'a,+T,+U,+S%3E"],[140,"impl-LowerHex-for-HexStr%3C\'a,+T,+U,+S%3E"],[141,"impl-Display-for-HexStr%3C\'_,+T,+U,+S%3E"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAE4ADwAbAAcAKAAJADUAAwA/AAUASQABAEwAAQBZAAAAYAADAHEABwB6AAMAhwAHAJMABQCcAAcAqQABAK0ABQA="}],["flexiber",{"t":"PTTGKPKYFKYFPFGPTTPPPFPTTTPPPTPITTFFFKKIFPPTTPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNONMNNNNNNNNNNMNNMNNNNNNNNNNMNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOO","n":["Application","BIT_STRING","BOOLEAN","Class","Container","Context","Decodable","","Decoder","Encodable","","Encoder","Err","Error","ErrorKind","Failed","GENERALIZED_TIME","INTEGER","InvalidClass","InvalidLength","InvalidTag","Length","","NULL","OBJECT_IDENTIFIER","OCTET_STRING","Ok","Overflow","Overlength","PRINTABLE_STRING","Private","Result","SEQUENCE","SET","SimpleTag","Slice","Tag","TagLike","Tagged","TaggedSlice","TaggedValue","TrailingData","Truncated","UTC_TIME","UTF8_STRING","Underlength","UnexpectedTag","Universal","UnsupportedTagSize","add","","","","","application","as_bytes","","","as_ref","assert_eq","","at","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","class","clone","","","","","","","","clone_to_uninit","","","","","","","","cmp","constructed","","context","decode","","","","","","decode_nested","","decode_tagged_slice","decode_tagged_value","default","embedding","","","encode","","","","","","","encode_tagged_collection","encode_to_slice","","encode_untagged_collection","encoded_length","","","","","","eq","","","","","","","","error","","fields","finish","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","from_bytes","","into","","","","","","","","","","is_empty","","","is_failed","","is_finished","kind","length","","","max","nested","new","","","","","number","partial_cmp","position","private","tag","","to_usize","try_from","","","","","","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","universal","with_value","","zero","actual","","byte","decoded","expected","","remaining","tag","value"],"q":[[0,"flexiber"],[254,"flexiber::ErrorKind"],[263,"flexiber::length"],[264,"flexiber::error"],[265,"flexiber::tag"],[266,"flexiber::tagged"],[267,"core::marker"],[268,"flexiber::slice"],[269,"flexiber::simpletag"],[270,"core::clone"],[271,"core::cmp"],[272,"flexiber::decoder"],[273,"flexiber::traits"],[274,"core::ops::function"],[275,"flexiber::encoder"],[276,"core::fmt"],[277,"core::convert"],[278,"core::option"],[279,"core::result"],[280,"core::any"],[281,"flexiber_derive"]],"i":"Bdl0``1``````d``Al22000`022210023`22```````002200301b0003nAfAh1Aj05BlCfAn87Bb6<;53219806<;5;19806<;519806<;58;;;Bn8491<8644951=754Cl656544<<;;9?>>8:665444<;;;39?>>8822654<;39?>8:986564:98;465498>;4>Dl9<765=<<<44:Bd0l00;987?>6<10;987?>6<10;0::>DnE`EbEd320EfEh","f":"`````````````````````````````````````````````````{{{d{b}}b}{{d{b}}}}{{bf}{{d{b}}}}{{bh}{{d{b}}}}{{bj}{{d{b}}}}{{bb}{{d{b}}}}{hl}{{{A`{{n{c}}}}}{{A`{{Ab{j}}}}}Ad}{{{A`{Af}}}{{A`{{Ab{j}}}}}}{{{A`{{Ah{Afc}}}}}{{A`{{Ab{j}}}}}Ad}1{{AjAj}{{d{Aj}}}}0{{Alb}An}{A`{{A`{c}}}{}}000000000{{{A`{B`}}}{{A`{B`c}}}{}}000000000`{{{A`{An}}}An}{{{A`{Al}}}Al}{{{A`{b}}}b}{{{A`{Bb}}}Bb}{{{A`{Af}}}Af}{{{A`{Bd}}}Bd}{{{A`{l}}}l}{{{A`{{Ah{ce}}}}}{{Ah{ce}}}BfBf}{A`Bh}0000000{{{A`{b}}{A`{b}}}Bj}{ll}`{hl}{{{A`{B`Bl}}}{{d{Bn}}}}{{{A`{B`Bl}}}{{d{{n{c}}}}}{BnAj}}{{{A`{B`Bl}}}{{d{c}}}Bn}{{{A`{B`Bl}}}{{d{b}}}}{{{A`{B`Bl}}}{{d{Bb}}}}{{{A`{B`Bl}}}{{d{l}}}}{{{A`{{n{c}}}}g}{{d{e}}}Ad{}{{Cb{{A`{B`Bl}}}{{C`{{d{e}}}}}}}}{{{A`{{Ah{Afc}}}}g}{{d{e}}}Ad{}{{Cb{{A`{B`Bl}}}{{C`{{d{e}}}}}}}}{{{A`{B`Bl}}c}{{d{{A`{{Ab{j}}}}}}}{BnAj}}{{{A`{B`Bl}}c}{{d{e}}}{BnAj}Bn}{{}b}{Ajl}{Bbl}>{{{A`{Cd}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{{n{c}}}}{A`{B`Cf}}}{{d{Bh}}}{AdCd}}{{{A`{B`Cf}}{A`{c}}}{{d{Bh}}}Cd}{{{A`{b}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{Bb}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{l}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{{Ah{{A`{c}}e}}}}{A`{B`Cf}}}{{d{Bh}}}Cd{AdCd}}{{{A`{B`Cf}}l{A`{{Ab{{A`{Cd}}}}}}}{{d{Bh}}}}{{{A`{Cd}}{A`{B`{Ab{j}}}}}{{d{{A`{{Ab{j}}}}}}}}0{{{A`{B`Cf}}{A`{{Ab{{A`{Cd}}}}}}}{{d{Bh}}}}{{{A`{Cd}}}{{d{b}}}}{{{A`{{n{c}}}}}{{d{b}}}{AdCd}}{{{A`{b}}}{{d{b}}}}{{{A`{Bb}}}{{d{b}}}}{{{A`{l}}}{{d{b}}}}{{{A`{{Ah{{A`{c}}e}}}}}{{d{b}}}Cd{AdCd}}{{{A`{An}}{A`{An}}}Ch}{{{A`{Al}}{A`{Al}}}Ch}{{{A`{b}}{A`{b}}}Ch}{{{A`{Bb}}{A`{Bb}}}Ch}{{{A`{Af}}{A`{Af}}}Ch}{{{A`{Bd}}{A`{Bd}}}Ch}{{{A`{l}}{A`{l}}}Ch}{{{A`{{Ah{ce}}}}{A`{{Ah{ce}}}}}ChCjCj}{{{A`{B`Bl}}Al}{{d{c}}}{}}{{{A`{B`Cf}}Al}{{d{c}}}{}}{{{A`{Cl}}e}{{d{c}}}{}{{Cb{{A`{{Ab{{A`{Cd}}}}}}}{{C`{{d{c}}}}}}}}{{Blc}{{d{c}}}{}}{Cf{{d{{A`{{Ab{j}}}}}}}}{{{A`{Bl}}{A`{B`Cn}}}D`}{{{A`{Cf}}{A`{B`Cn}}}D`}{{{A`{An}}{A`{B`Cn}}}D`}0{{{A`{Al}}{A`{B`Cn}}}D`}0{{{A`{b}}{A`{B`Cn}}}D`}0{{{A`{Af}}{A`{B`Cn}}}D`}{{{A`{Bd}}{A`{B`Cn}}}D`}{{{A`{l}}{A`{B`Cn}}}D`}0{{{A`{{Ah{ce}}}}{A`{B`Cn}}}D`DbDb}{{c{A`{{Ab{j}}}}}{{d{{n{c}}}}}Ad}{cc{}}{{{A`{{Ab{j}}}}}Bl}1{DdAn}{AlAn}33{jb}{hb}55555{{BdChh}l}6{{c{A`{{Ab{j}}}}}{{d{{Ah{Afc}}}}}Ad}{{{A`{{Ab{j}}}}}{{d{Bn}}}}0{{}c{}}000000000{{{A`{{n{c}}}}}ChAd}{AfCh}{{{A`{{Ah{Afc}}}}}ChAd}{{{A`{Bl}}}Ch}{{{A`{Cf}}}Ch}1{AnAl}{{{A`{{n{c}}}}}bAd}{Afb}{{{A`{{Ah{Afc}}}}}bAd}{{}f}{{Anb}An}{{{A`{{Ab{j}}}}}Bl}{{{A`{B`{Ab{j}}}}}Cf}{{Alb}An}{{{A`{{Ab{j}}}}}{{d{Af}}}}{{ce}{{Ah{ec}}}Ad{}}`{{{A`{b}}{A`{b}}}{{Df{Bj}}}}{An{{Df{b}}}}{hl}{{}l}{{{A`{{Ah{ce}}}}}e{}Ad}{bf}{c{{Dh{e}}}{}{}}000{{{A`{{Ab{{A`{Cd}}}}}}}{{d{b}}}}{f{{d{b}}}}2{j{{d{Bb}}}}33{j{{d{Bd}}}}4{j{{d{l}}}}5{{{A`{{Ab{j}}}}}{{d{l}}}}6{{}{{Dh{c}}}{}}000000000{A`Dj}000000000<{{Ajc}{{Ah{cAj}}}{}}0{{}b}`````````","D":"Nb","p":[[5,"Length",0,263],[8,"Result",0,264],[1,"usize"],[1,"u16"],[1,"u8"],[5,"Tag",0,265],[8,"TaggedSlice",0,266],[1,"reference"],[1,"slice"],[10,"Copy",267],[5,"Slice",0,268],[5,"TaggedValue",0,266],[10,"TagLike",0,265],[6,"ErrorKind",0,264],[5,"Error",0,264],[0,"mut"],[5,"SimpleTag",0,269],[6,"Class",0,265],[10,"Clone",270],[1,"unit"],[6,"Ordering",271],[5,"Decoder",0,272],[10,"Decodable",0,273],[17,"Output"],[10,"FnOnce",274],[10,"Encodable",0,273],[5,"Encoder",0,275],[1,"bool"],[10,"PartialEq",271],[10,"Container",0,273],[5,"Formatter",276],[8,"Result",276],[10,"Debug",276],[6,"Infallible",277],[6,"Option",278],[6,"Result",279],[5,"TypeId",280],[10,"Tagged",0],[15,"Underlength",254],[15,"UnexpectedTag",254],[15,"InvalidTag",254],[15,"TrailingData",254],[15,"Length",254],[15,"InvalidClass",254]],"r":[[3,265],[4,273],[6,273],[7,281],[8,272],[9,273],[10,281],[11,275],[13,264],[14,264],[21,263],[31,264],[34,269],[35,268],[36,265],[37,265],[38,273],[39,266],[40,266]],"b":[[50,"impl-Add%3Cusize%3E-for-Length"],[51,"impl-Add%3Cu16%3E-for-Length"],[52,"impl-Add%3Cu8%3E-for-Length"],[53,"impl-Add-for-Length"],[149,"impl-Display-for-Error"],[150,"impl-Debug-for-Error"],[151,"impl-Debug-for-ErrorKind"],[152,"impl-Display-for-ErrorKind"],[153,"impl-Debug-for-Length"],[154,"impl-Display-for-Length"],[157,"impl-Display-for-Tag"],[158,"impl-Debug-for-Tag"],[164,"impl-From%3CInfallible%3E-for-Error"],[165,"impl-From%3CErrorKind%3E-for-Error"],[168,"impl-From%3Cu8%3E-for-Length"],[169,"impl-From%3Cu16%3E-for-Length"],[218,"impl-TryFrom%3C%26%5B%26dyn+Encodable%5D%3E-for-Length"],[219,"impl-TryFrom%3Cusize%3E-for-Length"],[226,"impl-TryFrom%3Cu8%3E-for-Tag"],[228,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Tag"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJYAHAABAAIABgAAABEAAQAYAAIAHgABACEAAQAsAAEAMAAAADIABQA7AAAAPwAoAGkAAABrAAIAcgAAAHQAAQB3AAAAeQADAIIADACUAAwAowAAAKUAAQCpAAEAsAAAAM8AAgDTAAAA1QAAANcAJAAHAQAA"}],["flexiber_derive",{"t":"YY","n":["Decodable","Encodable"],"q":[[0,"flexiber_derive"]],"i":"``","f":"``","D":"f","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["log",{"t":"PPPPPPGGKFFPFFFSFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNMNNNNNNNQNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNNNNNNNNNNMQQHNNHNNNNNNNNNNNNNNHHHHNNNNNNQNNNNNNNNNNNNNNNNNNNNNNNNQ","n":["Debug","","Error","","Info","","Level","LevelFilter","Log","Metadata","MetadataBuilder","Off","ParseLevelError","Record","RecordBuilder","STATIC_MAX_LEVEL","SetLoggerError","Trace","","Warn","","args","","as_str","","borrow","","","","","","","","borrow_mut","","","","","","","","build","","builder","","clone","","","","clone_to_uninit","","","","cmp","","","","debug","default","","enabled","eq","","","","","","","error","file","","file_static","","flush","fmt","","","","","","","","","","","","from","","","","","","","","from_str","","hash","","","","info","into","","","","","","","","iter","","level","","","","line","","log","","log_enabled","logger","max","","max_level","metadata","","module_path","","module_path_static","","new","","partial_cmp","","","","","","set_logger","set_logger_racy","set_max_level","set_max_level_racy","target","","","","to_level","to_level_filter","trace","try_from","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","warn"],"q":[[0,"log"],[174,"core::fmt"],[175,"core::cmp"],[176,"core::option"],[177,"core::result"],[178,"core::hash"],[179,"core::iter::traits::iterator"],[180,"core::any"]],"i":"lA`1010`````0`````1010bj323210AdAbBfAn765432104253765376537632`42Aj8877431`6565088776543221187654321878743`87654321876543650```87`65656553887743````654378`876543218765432187654321`","f":"`````````````````````{{{d{b}}}{{d{f}}}}{{{d{hj}}f}{{d{hj}}}}{{{d{l}}}{{d{n}}}}{{{d{A`}}}{{d{n}}}}{d{{d{c}}}{}}0000000{{{d{h}}}{{d{hc}}}{}}0000000{{{d{j}}}b}{{{d{Ab}}}Ad}{{}j}{{}Ab}{{{d{l}}}l}{{{d{A`}}}A`}{{{d{b}}}b}{{{d{Ad}}}Ad}{dAf}000{{{d{l}}{d{l}}}Ah}{{{d{A`}}{d{A`}}}Ah}{{{d{Ad}}{d{Ad}}}Ah}{{{d{Ab}}{d{Ab}}}Ah}`:9{{{d{Aj}}{d{Ad}}}Al}{{{d{l}}{d{l}}}Al}{{{d{l}}{d{A`}}}Al}{{{d{A`}}{d{A`}}}Al}{{{d{A`}}{d{l}}}Al}{{{d{Ad}}{d{Ad}}}Al}{{{d{Ab}}{d{Ab}}}Al}{{{d{An}}{d{An}}}Al}`{{{d{b}}}{{B`{{d{n}}}}}}{{{d{hj}}{B`{{d{n}}}}}{{d{hj}}}}10{{{d{Aj}}}Af}{{{d{l}}{d{hBb}}}Bd}0{{{d{A`}}{d{hBb}}}Bd}0{{{d{b}}{d{hBb}}}Bd}{{{d{j}}{d{hBb}}}Bd}{{{d{Ad}}{d{hBb}}}Bd}{{{d{Ab}}{d{hBb}}}Bd}{{{d{Bf}}{d{hBb}}}Bd}0{{{d{An}}{d{hBb}}}Bd}0{cc{}}0000000{{{d{n}}}{{Bh{lc}}}{}}{{{d{n}}}{{Bh{A`c}}}{}}{{{d{l}}{d{hc}}}AfBj}{{{d{A`}}{d{hc}}}AfBj}{{{d{Ad}}{d{hc}}}AfBj}{{{d{Ab}}{d{hc}}}AfBj}`{{}c{}}0000000{{}{{`{{Bn{}{{Bl{l}}}}}}}}{{}{{`{{Bn{}{{Bl{A`}}}}}}}}{{{d{b}}}l}{{{d{hj}}l}{{d{hj}}}}{{{d{Ad}}}l}{{{d{hAb}}l}{{d{hAb}}}}{{{d{b}}}{{B`{C`}}}}{{{d{hj}}{B`{C`}}}{{d{hj}}}}{{{d{Aj}}{d{b}}}Af}``{{}{{d{Aj}}}}{{}l}{{}A`}0{{{d{b}}}{{d{Ad}}}}{{{d{hj}}Ad}{{d{hj}}}}{{{d{b}}}{{B`{{d{n}}}}}}{{{d{hj}}{B`{{d{n}}}}}{{d{hj}}}}10{{}j}{{}Ab}{{{d{l}}{d{A`}}}{{B`{Ah}}}}{{{d{l}}{d{l}}}{{B`{Ah}}}}{{{d{A`}}{d{A`}}}{{B`{Ah}}}}{{{d{A`}}{d{l}}}{{B`{Ah}}}}{{{d{Ad}}{d{Ad}}}{{B`{Ah}}}}{{{d{Ab}}{d{Ab}}}{{B`{Ah}}}}{{{d{Aj}}}{{Bh{AfBf}}}}0{A`Af}0{{{d{b}}}{{d{n}}}}{{{d{hj}}{d{n}}}{{d{hj}}}}{{{d{Ad}}}{{d{n}}}}{{{d{hAb}}{d{n}}}{{d{hAb}}}}{{{d{A`}}}{{B`{l}}}}{{{d{l}}}A`}`{c{{Bh{e}}}{}{}}0000000{{}{{Bh{c}}}{}}0000000{dCb}0000000`","D":"Kd","p":[[5,"Record",0],[1,"reference"],[5,"Arguments",174],[0,"mut"],[5,"RecordBuilder",0],[6,"Level",0],[1,"str"],[6,"LevelFilter",0],[5,"MetadataBuilder",0],[5,"Metadata",0],[1,"unit"],[6,"Ordering",175],[10,"Log",0],[1,"bool"],[5,"ParseLevelError",0],[6,"Option",176],[5,"Formatter",174],[8,"Result",174],[5,"SetLoggerError",0],[6,"Result",177],[10,"Hasher",178],[17,"Item"],[10,"Iterator",179],[1,"u32"],[5,"TypeId",180]],"r":[],"b":[[61,"impl-PartialEq-for-Level"],[62,"impl-PartialEq%3CLevelFilter%3E-for-Level"],[63,"impl-PartialEq-for-LevelFilter"],[64,"impl-PartialEq%3CLevel%3E-for-LevelFilter"],[74,"impl-Display-for-Level"],[75,"impl-Debug-for-Level"],[76,"impl-Display-for-LevelFilter"],[77,"impl-Debug-for-LevelFilter"],[82,"impl-Display-for-SetLoggerError"],[83,"impl-Debug-for-SetLoggerError"],[84,"impl-Display-for-ParseLevelError"],[85,"impl-Debug-for-ParseLevelError"],[132,"impl-PartialOrd%3CLevelFilter%3E-for-Level"],[133,"impl-PartialOrd-for-Level"],[134,"impl-PartialOrd-for-LevelFilter"],[135,"impl-PartialOrd%3CLevel%3E-for-LevelFilter"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAFQACAAaAA8ALgALADsAAQA+AAYASwALAF8ABQCFAAUAlgAXAA=="}],["proc_macro2",{"t":"PPPGFPFPPFFPPPFPGFFGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNNNNNNNNFENNNNNNNNNNNNNNN","n":["Alone","Brace","Bracket","Delimiter","Group","","Ident","","Joint","LexError","Literal","","None","Parenthesis","Punct","","Spacing","Span","TokenStream","TokenTree","as_char","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","byte_character","byte_string","c_string","call_site","character","clone","","","","","","","","","clone_into","","","","","","","","","clone_to_uninit","","","","","","","","","cmp","default","delim_span","delimiter","eq","","","","extend","","extra","f32_suffixed","f32_unsuffixed","f64_suffixed","f64_unsuffixed","fmt","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","from_iter","","from_str","","hash","i128_suffixed","i128_unsuffixed","i16_suffixed","i16_unsuffixed","i32_suffixed","i32_unsuffixed","i64_suffixed","i64_unsuffixed","i8_suffixed","i8_unsuffixed","into","","","","","","","","","","into_iter","is_empty","isize_suffixed","isize_unsuffixed","join","located_at","mixed_site","new","","","","new_raw","partial_cmp","resolved_at","set_span","","","","","source_text","spacing","span","","","","","","span_close","span_open","stream","string","subspan","to_owned","","","","","","","","","to_string","","","","","","","token_stream","try_from","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","u128_suffixed","u128_unsuffixed","u16_suffixed","u16_unsuffixed","u32_suffixed","u32_unsuffixed","u64_suffixed","u64_unsuffixed","u8_suffixed","u8_unsuffixed","unwrap","usize_suffixed","usize_unsuffixed","DelimSpan","borrow","borrow_mut","clone","clone_into","clone_to_uninit","close","fmt","from","into","join","open","to_owned","try_from","try_into","type_id","IntoIter","TokenStream","borrow","borrow_mut","clone","clone_into","clone_to_uninit","fmt","from","into","into_iter","next","size_hint","to_owned","try_from","try_into","type_id"],"q":[[0,"proc_macro2"],[239,"proc_macro2::extra"],[255,"proc_macro2::token_stream"],[272,"core::ffi::c_str"],[273,"core::cmp"],[274,"core::marker"],[275,"core::convert"],[276,"core::iter::traits::collect"],[277,"core::fmt"],[278,"proc_macro"],[279,"core::result"],[280,"core::hash"],[281,"core::option"],[282,"alloc::string"],[283,"core::ops::range"],[284,"core::any"]],"i":"AlAj0``Af`02``011`0````bCfAdAb4Ah647Anl5437286910000304372869104372869104372869101422891144`000055443772286691100544433777772869104440100000000005437286910440033342611137261036572610222004372869105472610`5437286910543728691054372869100000000000300`Bd00000000000000``Dn00000000000000","f":"````````````````````{{{d{b}}}f}{d{{d{c}}}{}}000000000{{{d{h}}}{{d{hc}}}{}}000000000{jl}{{{d{{n{j}}}}}l}{{{d{A`}}}l}{{}Ab}{fl}{{{d{Ad}}}Ad}{{{d{Ab}}}Ab}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{b}}}b}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{l}}}l}{{d{d{hc}}}B`{}}00000000{dB`}00000000{{{d{An}}{d{An}}}Bb}{{}Ad}{{{d{Ah}}}Bd}{{{d{Ah}}}Aj}{{{d{Aj}}{d{Aj}}}Bf}{{{d{Al}}{d{Al}}}Bf}{{{d{An}}{d{An}}}Bf}{{{d{An}}{d{c}}}Bf{Bh{Bl{Bj}}}}{{{d{hAd}}c}B`{{C`{}{{Bn{Af}}}}}}{{{d{hAd}}c}B`{{C`{}{{Bn{Ad}}}}}}`{Cbl}0{Cdl}0{{{d{Cf}}{d{hCh}}}Cj}0{{{d{Ad}}{d{hCh}}}Cj}0{{{d{Ab}}{d{hCh}}}Cj}{{{d{Af}}{d{hCh}}}Cj}0{{{d{Ah}}{d{hCh}}}Cj}0{{{d{Aj}}{d{hCh}}}Cj}{{{d{b}}{d{hCh}}}Cj}0{{{d{Al}}{d{hCh}}}Cj}{{{d{An}}{d{hCh}}}Cj}0{{{d{l}}{d{hCh}}}Cj}0{cc{}}0{ClAd}{AfAd}{CnAb}3{lAf}{bAf}{AnAf}{AhAf}7777777{cAd{{C`{}{{Bn{Af}}}}}}{cAd{{C`{}{{Bn{Ad}}}}}}{{{d{Bj}}}{{D`{AdCf}}}}{{{d{Bj}}}{{D`{lCf}}}}{{{d{An}}{d{hc}}}B`Db}{Ddl}0{Dfl}0{Dhl}0{Djl}0{Dll}0{{}c{}}000000000{AdDn}{{{d{Ad}}}Bf}{E`l}0{{{d{Ab}}Ab}{{Eb{Ab}}}}{{{d{Ab}}Ab}Ab}{{}Ab}{{}Ad}{{AjAd}Ah}{{fAl}b}{{{d{Bj}}Ab}An}0{{{d{An}}{d{An}}}{{Eb{Bb}}}}6{{{d{hAf}}Ab}B`}{{{d{hAh}}Ab}B`}{{{d{hb}}Ab}B`}{{{d{hAn}}Ab}B`}{{{d{hl}}Ab}B`}{{{d{Ab}}}{{Eb{Ed}}}}{{{d{b}}}Al}{{{d{Cf}}}Ab}{{{d{Af}}}Ab}{{{d{Ah}}}Ab}{{{d{b}}}Ab}{{{d{An}}}Ab}{{{d{l}}}Ab}33{{{d{Ah}}}Ad}{{{d{Bj}}}l}{{{d{l}}c}{{Eb{Ab}}}{{Eh{Ef}}}}{dc{}}00000000{dEd}000000`{c{{D`{e}}}{}{}}000000000{{}{{D`{c}}}{}}000000000{dEj}000000000{Ell}0{Enl}0{F`l}0{Fbl}0{jl}0{AbCn}{Efl}0`{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{Bd}}}Bd}{{d{d{hc}}}B`{}}{dB`}{{{d{Bd}}}Ab}{{{d{Bd}}{d{hCh}}}Cj}{cc{}}{{}c{}}33{dc{}}{c{{D`{e}}}{}{}}{{}{{D`{c}}}{}}{dEj}``<;{{{d{Dn}}}Dn}:9{{{d{Dn}}{d{hCh}}}Cj}766{{{d{hDn}}}{{Eb{Af}}}}{{{d{Dn}}}{{Fd{Ef{Eb{Ef}}}}}}7654","D":"Nh","p":[[5,"Punct",0],[1,"reference"],[1,"char"],[0,"mut"],[1,"u8"],[5,"Literal",0],[1,"slice"],[5,"CStr",272],[5,"Span",0],[5,"TokenStream",0],[6,"TokenTree",0],[5,"Group",0],[6,"Delimiter",0],[6,"Spacing",0],[5,"Ident",0],[1,"unit"],[6,"Ordering",273],[5,"DelimSpan",239],[1,"bool"],[10,"Sized",274],[1,"str"],[10,"AsRef",275],[17,"Item"],[10,"IntoIterator",276],[1,"f32"],[1,"f64"],[5,"LexError",0],[5,"Formatter",277],[8,"Result",277],[5,"TokenStream",278],[5,"Span",278],[6,"Result",279],[10,"Hasher",280],[1,"i128"],[1,"i16"],[1,"i32"],[1,"i64"],[1,"i8"],[5,"IntoIter",255],[1,"isize"],[6,"Option",281],[5,"String",282],[1,"usize"],[10,"RangeBounds",283],[5,"TypeId",284],[1,"u128"],[1,"u16"],[1,"u32"],[1,"u64"],[1,"tuple"]],"r":[[256,0]],"b":[[79,"impl-PartialEq-for-Ident"],[80,"impl-PartialEq%3CT%3E-for-Ident"],[81,"impl-Extend%3CTokenTree%3E-for-TokenStream"],[82,"impl-Extend%3CTokenStream%3E-for-TokenStream"],[88,"impl-Display-for-LexError"],[89,"impl-Debug-for-LexError"],[90,"impl-Debug-for-TokenStream"],[91,"impl-Display-for-TokenStream"],[93,"impl-Display-for-TokenTree"],[94,"impl-Debug-for-TokenTree"],[95,"impl-Display-for-Group"],[96,"impl-Debug-for-Group"],[98,"impl-Display-for-Punct"],[99,"impl-Debug-for-Punct"],[101,"impl-Display-for-Ident"],[102,"impl-Debug-for-Ident"],[103,"impl-Display-for-Literal"],[104,"impl-Debug-for-Literal"],[107,"impl-From%3CTokenStream%3E-for-TokenStream"],[108,"impl-From%3CTokenTree%3E-for-TokenStream"],[111,"impl-From%3CLiteral%3E-for-TokenTree"],[112,"impl-From%3CPunct%3E-for-TokenTree"],[113,"impl-From%3CIdent%3E-for-TokenTree"],[114,"impl-From%3CGroup%3E-for-TokenTree"],[122,"impl-FromIterator%3CTokenTree%3E-for-TokenStream"],[123,"impl-FromIterator%3CTokenStream%3E-for-TokenStream"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJwAEQAWABMALwAcAE4ABQBZABAAbAACAHAAAwB7AAQAlAAAAKAAAACpAAAAtAAPAMUAHQDxAAQA9wAAAPwAAwABAQYACgEGAA=="}],["quote",{"t":"KKKMMMMMQNNQQNNNNM","n":["IdentFragment","ToTokens","TokenStreamExt","append","append_all","append_separated","append_terminated","fmt","format_ident","into_token_stream","","quote","quote_spanned","span","","to_token_stream","","to_tokens"],"q":[[0,"quote"],[18,"quote::ext"],[19,"proc_macro2"],[20,"core::convert"],[21,"core::iter::traits::collect"],[22,"quote::to_tokens"],[23,"quote::ident_fragment"],[24,"core::fmt"],[25,"core::option"]],"i":"```d000Ab`A`0``11000","f":"```{{{f{bd}}c}h{{l{j}}}}{{{f{bd}}c}hn}{{{f{bd}}ce}hnA`}0{{{f{Ab}}{f{bAd}}}Af}`{A`Ah}0``{{{f{Ab}}}{{Al{Aj}}}}0{{{f{A`}}}Ah}0{{{f{A`}}{f{bAh}}}h}","D":"Bf","p":[[0,"mut"],[10,"TokenStreamExt",0,18],[1,"reference"],[1,"unit"],[6,"TokenTree",19],[10,"Into",20],[10,"IntoIterator",21],[10,"ToTokens",0,22],[10,"IdentFragment",0,23],[5,"Formatter",24],[8,"Result",24],[5,"TokenStream",19],[5,"Span",19],[6,"Option",25]],"r":[[0,23],[1,22],[2,18]],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA="}],["syn",{"t":"FPPPPFPPPFPFPPGFPPFFGPPPPPPPPPFPPPPPPPPPPPPPFFPPGFFFPPFPPPPPFGFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFPGFGFFPPPGGFPPPFPFPFPPPPPPPPFPPPPFPGPFFFFFFFFPPFPPGPPGGFFPPPPPPPPPPPPPPPPTPPPPFFPPPGFPFFPPFPPPPPPPPIPGPPPPPPPPPPQPFGPPPPPFGPPPPFFFFFFFFFGFFFFFFFGPPPPPPFPPPPFGFGPPOOOOOOOOOONOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOQOOOOQCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNOOQQONNNOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOCOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOOONOOOONOOOOOOONOONCOOOOOOOOOOONNNNNNNNNNNNNOOOOOOOOOOOOOOOOQCHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNQNNNNNQQHNNNNNNOOOOOOOONOOOOCOOOONNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOCNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONONNNNNNOOOOOOOCOONNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKMTMFNNNNONNHONNNNFPFFFPRKFIKKIFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKKMMPFFFFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKMFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFKFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNN","n":["Abi","Add","AddAssign","And","AngleBracketed","AngleBracketedGenericArguments","Array","","Assign","AssocConst","","AssocType","","Async","AttrStyle","Attribute","Await","BareFn","BareFnArg","BareVariadic","BinOp","Binary","BitAnd","BitAndAssign","BitOr","BitOrAssign","BitXor","BitXorAssign","Block","Bool","BoundLifetimes","Brace","Bracket","Break","Byte","ByteStr","CStr","Call","Cast","Char","Closure","Const","","","ConstParam","Constraint","","Continue","Data","DataEnum","DataStruct","DataUnion","Default","Deref","DeriveInput","Div","DivAssign","Enum","Eq","Err","Error","Expr","ExprArray","ExprAssign","ExprAsync","ExprAwait","ExprBinary","ExprBlock","ExprBreak","ExprCall","ExprCast","ExprClosure","ExprConst","ExprContinue","ExprField","ExprForLoop","ExprGroup","ExprIf","ExprIndex","ExprInfer","ExprLet","ExprLit","ExprLoop","ExprMacro","ExprMatch","ExprMethodCall","ExprParen","ExprPath","ExprRange","ExprRawAddr","ExprReference","ExprRepeat","ExprReturn","ExprStruct","ExprTry","ExprTryBlock","ExprTuple","ExprUnary","ExprUnsafe","ExprWhile","ExprYield","Field","","FieldMutability","FieldValue","Fields","FieldsNamed","FieldsUnnamed","Float","ForLoop","Ge","GenericArgument","GenericParam","Generics","Group","","Gt","Ident","If","ImplGenerics","ImplTrait","Index","","Infer","","Inherited","Inner","Int","Le","Let","Lifetime","","","","","LifetimeParam","List","Lit","","LitBool","LitByte","LitByteStr","LitCStr","LitChar","LitFloat","LitInt","LitStr","Loop","Lt","Macro","","","MacroDelimiter","Match","Maybe","Member","Meta","MetaList","MetaNameValue","MethodCall","Mul","MulAssign","NameValue","Named","","Ne","Neg","Never","None","","","Not","Ok","Or","Outer","PLACEHOLDER","Paren","","","Parenthesized","ParenthesizedGenericArguments","Path","","","","PathArguments","PathSegment","PreciseCapture","PredicateLifetime","PredicateType","Ptr","Public","QSelf","Range","RawAddr","Reference","","Rem","RemAssign","Repeat","Restricted","Result","Return","ReturnType","Shl","ShlAssign","Shr","ShrAssign","Slice","Str","Struct","","Sub","SubAssign","Token","Trait","TraitBound","TraitBoundModifier","TraitObject","Try","TryBlock","Tuple","","Turbofish","Type","","","","","TypeArray","TypeBareFn","TypeGenerics","TypeGroup","TypeImplTrait","TypeInfer","TypeMacro","TypeNever","TypeParam","TypeParamBound","TypeParen","TypePath","TypePtr","TypeReference","TypeSlice","TypeTraitObject","TypeTuple","UnOp","Unary","Union","Unit","Unnamed","","Unsafe","Variant","Verbatim","","","","VisRestricted","Visibility","WhereClause","WherePredicate","While","Yield","abi","and_token","","apostrophe","args","","","arguments","as_token","","as_turbofish","attrs","","","","","","","","","","","","","","","","","","","","","","","","bang_token","","base","base10_digits","","base10_parse","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bounded_ty","bounds","","","","","","","brace_token","","","braced","bracket_token","","","","bracketed","buffer","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cmp","","colon2_token","colon_token","","","","","","","","comma","const_params","const_params_mut","const_token","","custom_keyword","custom_punctuation","data","default","","","","","delimiter","","discriminant","dot2_token","dot_token","","dots","dyn_token","elem","","","","","","elems","","enum_token","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eq_token","","","","","expr","","","","","","","ext","extern_token","fields","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fn_token","for_token","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","func","generics","","","","get_ident","group_token","","gt_token","","","","hash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ident","","","","","","","","","","impl_token","in_token","index","","inputs","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","","","is_empty","","is_ident","is_none","iter","iter_mut","leading_colon","left","len","","lifetime","","","lifetimes","","","","","lifetimes_mut","lit","lt_token","","","","mac","","make_where_clause","member","","members","meta","","method","modifier","mutability","","","","name","","","named","new","","","","","","","","","","","","new_raw","op","","output","","params","paren_token","","","","","","","","","","","parenthesized","parse","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","parse2","parse_any","parse_args","","parse_args_with","","parse_body","parse_body_with","parse_inner","parse_macro_input","parse_mod_style","parse_named","parse_nested_meta","","parse_outer","parse_quote","parse_quote_spanned","parse_str","parse_unnamed","parse_with","partial_cmp","","path","","","","","","","","","","peek","position","pound_token","predicates","pub_token","punctuated","qself","","","receiver","require_ident","require_list","require_name_value","require_path_only","rest","right","segments","semi_token","","set_span","","","","","","","","","","","span","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","spanned","split_for_impl","star_token","struct_token","style","suffix","","","","","","","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","to_tokens","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","token","","","","","","","","","tokens","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","turbofish","ty","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_params","type_params_mut","underscore_token","union_token","unnamed","unraw","unsafety","value","","","","","","","","","variadic","variants","vis","","visit","where_clause","where_token","without_plus","","","","Cursor","TokenBuffer","any_group","begin","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","empty","eof","eq","from","","group","ident","into","","lifetime","literal","new","new2","partial_cmp","punct","span","to_owned","token_stream","token_tree","try_from","","try_into","","type_id","","IdentExt","parse_any","peek_any","unraw","ParseNestedMeta","borrow","borrow_mut","error","from","input","into","parse_nested_meta","parser","path","try_from","try_into","type_id","value","End","Err","Error","Lookahead1","Nothing","Ok","Output","Parse","ParseBuffer","ParseStream","Parser","Peek","Result","StepCursor","advance_to","borrow","","","","","","borrow_mut","","","","","","call","clone","","","","clone_into","","","","clone_to_uninit","","","","combine","cursor","deref","discouraged","display","drop","eq","error","","","extend","fmt","","","","","fork","from","","","","","","","hash","into","","","","","","into_compile_error","into_iter","","is_empty","lookahead1","new","new_spanned","parse","","","","parse2","parse_any_delimiter","parse_str","parse_terminated","peek","","","peek2","peek3","span","","","step","to_compile_error","to_owned","","","","to_string","","to_tokens","try_from","","","","","","try_into","","","","","","type_id","","","","","","AnyDelimiter","Speculative","advance_to","parse_any_delimiter","End","IntoIter","IntoPairs","Iter","IterMut","Pair","Pairs","PairsMut","Punctuated","","borrow","","","","","","","","borrow_mut","","","","","","","","clear","clone","","","","","","clone_from","clone_into","","","","","","clone_to_uninit","","","","","","cloned","default","empty_or_trailing","eq","extend","","first","first_mut","fmt","from","","","","","","","","from_iter","","get","get_mut","hash","index","index_mut","insert","into","","","","","","","","into_iter","","","","","","","","","into_pairs","into_tuple","into_value","is_empty","iter","iter_mut","last","last_mut","len","","","","","","","new","","next","","","","","","next_back","","","","","","pairs","pairs_mut","parse_separated_nonempty","parse_separated_nonempty_with","parse_terminated","parse_terminated_with","pop","pop_punct","punct","punct_mut","push","push_punct","push_value","size_hint","","","","","","span","","to_owned","","","","","","to_tokens","","trailing_punct","try_from","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","value","value_mut","Spanned","span","Abstract","And","AndAnd","AndEq","As","Async","At","Auto","Await","Become","Box","Brace","Bracket","Break","Caret","CaretEq","Colon","Comma","Const","Continue","Crate","Default","Do","Dollar","Dot","DotDot","DotDotDot","DotDotEq","Dyn","Else","Enum","Eq","EqEq","Extern","FatArrow","Final","Fn","For","Ge","Group","Gt","If","Impl","In","LArrow","Le","Let","Loop","Lt","Macro","Match","Minus","MinusEq","Mod","Move","Mut","Ne","Not","Or","OrEq","OrOr","Override","Paren","PathSep","Percent","PercentEq","Plus","PlusEq","Pound","Priv","Pub","Question","RArrow","Raw","Ref","Return","SelfType","SelfValue","Semi","Shl","ShlEq","Shr","ShrEq","Slash","SlashEq","Star","StarEq","Static","Struct","Super","Tilde","Token","Trait","Try","Type","Typeof","Underscore","Union","Unsafe","Unsized","Use","Virtual","Where","While","Yield","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","default","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","parse","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","span","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","spans","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","surround","","","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_tokens","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Visit","visit_abi","","","visit_angle_bracketed_generic_arguments","","","visit_assoc_const","","","visit_assoc_type","","","visit_attr_style","","","visit_attribute","","","visit_bare_fn_arg","","","visit_bare_variadic","","","visit_bin_op","","","visit_bound_lifetimes","","","visit_const_param","","","visit_constraint","","","visit_data","","","visit_data_enum","","","visit_data_struct","","","visit_data_union","","","visit_derive_input","","","visit_expr","","","visit_expr_binary","","","visit_expr_call","","","visit_expr_cast","","","visit_expr_field","","","visit_expr_group","","","visit_expr_index","","","visit_expr_lit","","","visit_expr_macro","","","visit_expr_method_call","","","visit_expr_paren","","","visit_expr_path","","","visit_expr_reference","","","visit_expr_struct","","","visit_expr_tuple","","","visit_expr_unary","","","visit_field","","","visit_field_mutability","","","visit_field_value","","","visit_fields","","","visit_fields_named","","","visit_fields_unnamed","","","visit_generic_argument","","","visit_generic_param","","","visit_generics","","","visit_ident","","","visit_index","","","visit_lifetime","","","visit_lifetime_param","","","visit_lit","","","visit_lit_bool","","","visit_lit_byte","","","visit_lit_byte_str","","","visit_lit_char","","","visit_lit_cstr","","","visit_lit_float","","","visit_lit_int","","","visit_lit_str","","","visit_macro","","","visit_macro_delimiter","","","visit_member","","","visit_meta","","","visit_meta_list","","","visit_meta_name_value","","","visit_parenthesized_generic_arguments","","","visit_path","","","visit_path_arguments","","","visit_path_segment","","","visit_predicate_lifetime","","","visit_predicate_type","","","visit_qself","","","visit_return_type","","","visit_span","","","visit_trait_bound","","","visit_trait_bound_modifier","","","visit_type","","","visit_type_array","","","visit_type_bare_fn","","","visit_type_group","","","visit_type_impl_trait","","","visit_type_infer","","","visit_type_macro","","","visit_type_never","","","visit_type_param","","","visit_type_param_bound","","","visit_type_paren","","","visit_type_path","","","visit_type_ptr","","","visit_type_reference","","","visit_type_slice","","","visit_type_trait_object","","","visit_type_tuple","","","visit_un_op","","","visit_variant","","","visit_vis_restricted","","","visit_visibility","","","visit_where_clause","","","visit_where_predicate","",""],"q":[[0,"syn"],[2545,"syn::buffer"],[2581,"syn::ext"],[2585,"syn::meta"],[2599,"syn::parse"],[2720,"syn::parse::discouraged"],[2724,"syn::punctuated"],[2897,"syn::spanned"],[2899,"syn::token"],[5016,"syn::visit"],[5302,"syn::generics"],[5303,"syn::lit"],[5304,"syn::error"],[5305,"core::str::traits"],[5306,"proc_macro2"],[5307,"syn::lifetime"],[5308,"syn::attr"],[5309,"syn::data"],[5310,"syn::derive"],[5311,"syn::expr"],[5312,"syn::mac"],[5313,"syn::op"],[5314,"syn::path"],[5315,"syn::restriction"],[5316,"syn::ty"],[5317,"core::cmp"],[5318,"core::convert"],[5319,"core::marker"],[5320,"core::fmt"],[5321,"core::result"],[5322,"core::option"],[5323,"core::hash"],[5324,"core::ffi::c_str"],[5325,"proc_macro"],[5326,"alloc::vec"],[5327,"core::ops::function"],[5328,"proc_macro2::extra"],[5329,"alloc::string"],[5330,"core::any"],[5331,"alloc::ffi::c_str"],[5332,"syn::lookahead"],[5333,"core::iter::traits::collect"],[5334,"quote::to_tokens"],[5335,"core::clone"],[5336,"core::default"],[5337,"syn::gen::visit"],[5338,"syn::gen"]],"i":"`Hj00Ib`ChJh1`Id`02``21```24444442Gh`Hh0411144144F`3``35````LlHl`99C`:n``````````````````````````````````````````9`````69;```98;`9`8`998JbAl8=;`6FjGb;`An`>````````>Hj`?>`?Fn````Ch223BfEh4DlDnE`EbEdEfElFbFdFfLhLjHfKfD`hl10AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlGfFbFdGd3IlK`;BhCdEb`AjDdJjL```AdAfbfAh8AlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAhIfBlElFbFdFfGdGfIlKnL`EdLdCdAd0AfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlBbFdFfIhIjCnDbDdDlE`EfEl`?BdCbCfEbAd00AfbfAh0AjAlAnB`Bb=BfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEh0Ej0ElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`Hbh0l0HdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlJlFhAd000000AfbfAhAjAlAn000B`BbBdBf00BhBjBlBnC`CbCdCfCh000000000000000000000000000000000000000A@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEh000Ej0ElEnF`000FbFd0FfFhFj00FlFnG`Gb00GdGfGh00000000GjGlGnH`Hbh0l0HdHfHhHjHlHn0I`0IbIdIfIhIjIlInJ`JbJdJfJh00000000000000JjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlClBnIhIjIlHnDbJnEnFhIfJ`AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAhBdBlBnFdFfI`IhIjIlK`JdDdEjInJlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlBf000IbHn1220Cj3JjFbGd>EnFhFlGfJl4Df54IfJ`DhKd9D`ElBf`AjDj:::7Cj?CbJjAd?GhGjGlGnH`HbhlHd999AfbfAh0AjAnB`BbBdBfBhBjBlBnChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEh0Ej0ElEnF`FbFdFfFhFjFlFnG`GbGdGfGh0Gj0Gl0Gn0H`0Hb0h0l0Hd0HfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlEjHd`En;CbAjGhGjGlGnH`HbhlAdAfbfAh=AlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAhhl3Afbf5AjAnB`BbBdBfBhBjBlBnChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHjHlHnI`IbIdIfIhIjIlInJbJdJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLl`GjGlGnH`HbhlHdB`HfAdAfbfAhAjAlAn9BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlDjBlCnFfIhJ`8AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@lA@nAAdAAfCjAAhAAjClCnA@hA@fA@dD`OhDbOfDdOdObDfO`DhNlDjDlDnNnOjE`A@`AAbEbAA`A@jEdEfA@bOnOlEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlEn0>CfBjAdJlGjGlGnH`HbHdBb1Ij8CdBlBn`?G`JhK`LbLl``AE`AEd01011111110111011100111111010101`AEj00`AD`000000`00000`n```0ACl```````AF`AElAFjAFd3AFfAFh4325105421042104210451`2503514445505443251004325104445544ACf671767643666561655321561543621543621543621``AGjAGlAHf````````0AGdAH`AI`AHbAHdABfABh765432107665321766532176532177666666666543210766666666654321076665432106776666665432106754321054321066666666776665432106765321767665432107654321076543210777`AId`````````````````````````````````````````````````````````````````````````````````````````````````````````AIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNjAOhAOnB@`B@dB@fB@hB@jBAbBAjBB`BBbBBhBBjBCbBCfBCjBClBD`BDjBDnBEbNjAOhAOnB@`B@dB@fB@hB@jBAbBAjBB`BBbBBhBBjBCbBCfBCjBClBD`BDjBDnBEbAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfBEdBEfBEhNjAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfBEdBEfBEh3NjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNjAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjN`AJlAJnAK`AKbAKdNhAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNdNfAMlAMnNbAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEh``BEj0`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00","f":"``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{b}}}f}```````````````````````````{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{{{d{h}}}{{n{c}}}A`}{{{d{l}}}{{n{c}}}A`}{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ab}}}{{d{Abc}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000``````````````````{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{b}}}b}{{{d{f}}}f}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{B`}}}B`}{{{d{Bb}}}Bb}{{{d{Bd}}}Bd}{{{d{Bf}}}Bf}{{{d{Bh}}}Bh}{{{d{Bj}}}Bj}{{{d{Bl}}}Bl}{{{d{Bn}}}Bn}{{{d{C`}}}C`}{{{d{Cb}}}Cb}{{{d{Cd}}}Cd}{{{d{Cf}}}Cf}{{{d{Ch}}}Ch}{{{d{Cj}}}Cj}{{{d{Cl}}}Cl}{{{d{Cn}}}Cn}{{{d{D`}}}D`}{{{d{Db}}}Db}{{{d{Dd}}}Dd}{{{d{Df}}}Df}{{{d{Dh}}}Dh}{{{d{Dj}}}Dj}{{{d{Dl}}}Dl}{{{d{Dn}}}Dn}{{{d{E`}}}E`}{{{d{Eb}}}Eb}{{{d{Ed}}}Ed}{{{d{Ef}}}Ef}{{{d{Eh}}}Eh}{{{d{Ej}}}Ej}{{{d{El}}}El}{{{d{En}}}En}{{{d{F`}}}F`}{{{d{Fb}}}Fb}{{{d{Fd}}}Fd}{{{d{Ff}}}Ff}{{{d{Fh}}}Fh}{{{d{Fj}}}Fj}{{{d{Fl}}}Fl}{{{d{Fn}}}Fn}{{{d{G`}}}G`}{{{d{Gb}}}Gb}{{{d{Gd}}}Gd}{{{d{Gf}}}Gf}{{{d{Gh}}}Gh}{{{d{Gj}}}Gj}{{{d{Gl}}}Gl}{{{d{Gn}}}Gn}{{{d{H`}}}H`}{{{d{Hb}}}Hb}{{{d{h}}}h}{{{d{l}}}l}{{{d{Hd}}}Hd}{{{d{Hf}}}Hf}{{{d{Hh}}}Hh}{{{d{Hj}}}Hj}{{{d{Hl}}}Hl}{{{d{Hn}}}Hn}{{{d{I`}}}I`}{{{d{Ib}}}Ib}{{{d{Id}}}Id}{{{d{If}}}If}{{{d{Ih}}}Ih}{{{d{Ij}}}Ij}{{{d{Il}}}Il}{{{d{In}}}In}{{{d{J`}}}J`}{{{d{Jb}}}Jb}{{{d{Jd}}}Jd}{{{d{Jf}}}Jf}{{{d{Jh}}}Jh}{{{d{Jj}}}Jj}{{{d{Jl}}}Jl}{{{d{Jn}}}Jn}{{{d{K`}}}K`}{{{d{Kb}}}Kb}{{{d{Kd}}}Kd}{{{d{Kf}}}Kf}{{{d{Kh}}}Kh}{{{d{Kj}}}Kj}{{{d{Kl}}}Kl}{{{d{Kn}}}Kn}{{{d{L`}}}L`}{{{d{Lb}}}Lb}{{{d{Ld}}}Ld}{{{d{Lf}}}Lf}{{{d{Lh}}}Lh}{{{d{Lj}}}Lj}{{{d{Ll}}}Ll}{{d{d{Abc}}}Ln{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dLn}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ad}}{d{Ad}}}M`}{{{d{Ah}}{d{Ah}}}M`}`````````````````{{}En}{{}Fh}{{}Ib}```````````````````{{{d{Ad}}{d{c}}}Mb{{Md{j}}Mf}}{{{d{Ad}}{d{Ad}}}Mb}{{{d{Af}}{d{Af}}}Mb}{{{d{b}}{d{b}}}Mb}{{{d{f}}{d{f}}}Mb}{{{d{Ah}}{d{Ah}}}Mb}{{{d{Aj}}{d{Aj}}}Mb}{{{d{Al}}{d{Al}}}Mb}{{{d{An}}{d{An}}}Mb}{{{d{B`}}{d{B`}}}Mb}{{{d{Bb}}{d{Bb}}}Mb}{{{d{Bd}}{d{Bd}}}Mb}{{{d{Bf}}{d{Bf}}}Mb}{{{d{Bh}}{d{Bh}}}Mb}{{{d{Bj}}{d{Bj}}}Mb}{{{d{Bl}}{d{Bl}}}Mb}{{{d{Bn}}{d{Bn}}}Mb}{{{d{C`}}{d{C`}}}Mb}{{{d{Cb}}{d{Cb}}}Mb}{{{d{Cd}}{d{Cd}}}Mb}{{{d{Cf}}{d{Cf}}}Mb}{{{d{Ch}}{d{Ch}}}Mb}{{{d{Cj}}{d{Cj}}}Mb}{{{d{Cl}}{d{Cl}}}Mb}{{{d{Cn}}{d{Cn}}}Mb}{{{d{D`}}{d{D`}}}Mb}{{{d{Db}}{d{Db}}}Mb}{{{d{Dd}}{d{Dd}}}Mb}{{{d{Df}}{d{Df}}}Mb}{{{d{Dh}}{d{Dh}}}Mb}{{{d{Dj}}{d{Dj}}}Mb}{{{d{Dl}}{d{Dl}}}Mb}{{{d{Dn}}{d{Dn}}}Mb}{{{d{E`}}{d{E`}}}Mb}{{{d{Eb}}{d{Eb}}}Mb}{{{d{Ed}}{d{Ed}}}Mb}{{{d{Ef}}{d{Ef}}}Mb}{{{d{Eh}}{d{Eh}}}Mb}{{{d{Ej}}{d{Ej}}}Mb}{{{d{El}}{d{El}}}Mb}{{{d{En}}{d{En}}}Mb}{{{d{F`}}{d{F`}}}Mb}{{{d{Fb}}{d{Fb}}}Mb}{{{d{Fd}}{d{Fd}}}Mb}{{{d{Ff}}{d{Ff}}}Mb}{{{d{Fh}}{d{Fh}}}Mb}{{{d{Fj}}{d{Fj}}}Mb}{{{d{Fl}}{d{Fl}}}Mb}{{{d{Fn}}{d{Fn}}}Mb}{{{d{G`}}{d{G`}}}Mb}{{{d{Gb}}{d{Gb}}}Mb}{{{d{Gd}}{d{Gd}}}Mb}{{{d{Gf}}{d{Gf}}}Mb}{{{d{Gh}}{d{Gh}}}Mb}{{{d{Gj}}{d{Gj}}}Mb}{{{d{Gl}}{d{Gl}}}Mb}{{{d{Gn}}{d{Gn}}}Mb}{{{d{H`}}{d{H`}}}Mb}{{{d{Hb}}{d{Hb}}}Mb}{{{d{h}}{d{h}}}Mb}{{{d{l}}{d{l}}}Mb}{{{d{Hd}}{d{Hd}}}Mb}{{{d{Hf}}{d{Hf}}}Mb}{{{d{Hh}}{d{Hh}}}Mb}{{{d{Hj}}{d{Hj}}}Mb}{{{d{Hl}}{d{Hl}}}Mb}{{{d{Hn}}{d{Hn}}}Mb}{{{d{I`}}{d{I`}}}Mb}{{{d{Ib}}{d{Ib}}}Mb}{{{d{Id}}{d{Id}}}Mb}{{{d{If}}{d{If}}}Mb}{{{d{Ih}}{d{Ih}}}Mb}{{{d{Ij}}{d{Ij}}}Mb}{{{d{Il}}{d{Il}}}Mb}{{{d{In}}{d{In}}}Mb}{{{d{J`}}{d{J`}}}Mb}{{{d{Jb}}{d{Jb}}}Mb}{{{d{Jd}}{d{Jd}}}Mb}{{{d{Jf}}{d{Jf}}}Mb}{{{d{Jh}}{d{Jh}}}Mb}{{{d{Jj}}{d{Jj}}}Mb}{{{d{Jl}}{d{Jl}}}Mb}{{{d{Jn}}{d{Jn}}}Mb}{{{d{K`}}{d{K`}}}Mb}{{{d{Kb}}{d{Kb}}}Mb}{{{d{Kd}}{d{Kd}}}Mb}{{{d{Kf}}{d{Kf}}}Mb}{{{d{Kh}}{d{Kh}}}Mb}{{{d{Kj}}{d{Kj}}}Mb}{{{d{Kl}}{d{Kl}}}Mb}{{{d{Kn}}{d{Kn}}}Mb}{{{d{L`}}{d{L`}}}Mb}{{{d{Lb}}{d{Lb}}}Mb}{{{d{Ld}}{d{Ld}}}Mb}{{{d{Lf}}{d{Lf}}}Mb}{{{d{Lh}}{d{Lh}}}Mb}{{{d{Lj}}{d{Lj}}}Mb}{{{d{Ll}}{d{Ll}}}Mb}``````````````````{{{d{Ad}}{d{AbMh}}}{{Ml{LnMj}}}}00{{{d{Af}}{d{AbMh}}}Mn}{{{d{b}}{d{AbMh}}}Mn}{{{d{f}}{d{AbMh}}}Mn}{{{d{Ah}}{d{AbMh}}}Mn}0{{{d{Aj}}{d{AbMh}}}Mn}{{{d{Al}}{d{AbMh}}}Mn}{{{d{An}}{d{AbMh}}}Mn}{{{d{B`}}{d{AbMh}}}Mn}{{{d{Bb}}{d{AbMh}}}Mn}{{{d{Bd}}{d{AbMh}}}Mn}{{{d{Bf}}{d{AbMh}}}Mn}{{{d{Bh}}{d{AbMh}}}Mn}{{{d{Bj}}{d{AbMh}}}Mn}{{{d{Bl}}{d{AbMh}}}Mn}{{{d{Bn}}{d{AbMh}}}Mn}{{{d{C`}}{d{AbMh}}}Mn}{{{d{Cb}}{d{AbMh}}}Mn}{{{d{Cd}}{d{AbMh}}}Mn}{{{d{Cf}}{d{AbMh}}}Mn}{{{d{Ch}}{d{AbMh}}}Mn}{{{d{Cj}}{d{AbMh}}}Mn}{{{d{Cl}}{d{AbMh}}}Mn}{{{d{Cn}}{d{AbMh}}}Mn}{{{d{D`}}{d{AbMh}}}Mn}{{{d{Db}}{d{AbMh}}}Mn}{{{d{Dd}}{d{AbMh}}}Mn}{{{d{Df}}{d{AbMh}}}Mn}{{{d{Dh}}{d{AbMh}}}Mn}{{{d{Dj}}{d{AbMh}}}Mn}{{{d{Dl}}{d{AbMh}}}Mn}{{{d{Dn}}{d{AbMh}}}Mn}{{{d{E`}}{d{AbMh}}}Mn}{{{d{Eb}}{d{AbMh}}}Mn}{{{d{Ed}}{d{AbMh}}}Mn}{{{d{Ef}}{d{AbMh}}}Mn}{{{d{Eh}}{d{AbMh}}}Mn}0{{{d{Ej}}{d{AbMh}}}Mn}0{{{d{El}}{d{AbMh}}}Mn}{{{d{En}}{d{AbMh}}}Mn}{{{d{F`}}{d{AbMh}}}Mn}{{{d{Fb}}{d{AbMh}}}Mn}{{{d{Fd}}{d{AbMh}}}Mn}{{{d{Ff}}{d{AbMh}}}Mn}{{{d{Fh}}{d{AbMh}}}Mn}{{{d{Fj}}{d{AbMh}}}Mn}{{{d{Fl}}{d{AbMh}}}Mn}{{{d{Fn}}{d{AbMh}}}Mn}{{{d{G`}}{d{AbMh}}}Mn}{{{d{Gb}}{d{AbMh}}}Mn}{{{d{Gd}}{d{AbMh}}}Mn}{{{d{Gf}}{d{AbMh}}}Mn}{{{d{Gh}}{d{AbMh}}}Mn}{{{d{Gj}}{d{AbMh}}}Mn}{{{d{Gl}}{d{AbMh}}}Mn}{{{d{Gn}}{d{AbMh}}}Mn}{{{d{H`}}{d{AbMh}}}Mn}{{{d{Hb}}{d{AbMh}}}Mn}{{{d{h}}{d{AbMh}}}Mn}0{{{d{l}}{d{AbMh}}}Mn}0{{{d{Hd}}{d{AbMh}}}Mn}{{{d{Hf}}{d{AbMh}}}Mn}{{{d{Hh}}{d{AbMh}}}Mn}{{{d{Hj}}{d{AbMh}}}Mn}{{{d{Hl}}{d{AbMh}}}Mn}{{{d{Hn}}{d{AbMh}}}Mn}{{{d{I`}}{d{AbMh}}}Mn}{{{d{Ib}}{d{AbMh}}}Mn}{{{d{Id}}{d{AbMh}}}Mn}{{{d{If}}{d{AbMh}}}Mn}{{{d{Ih}}{d{AbMh}}}Mn}{{{d{Ij}}{d{AbMh}}}Mn}{{{d{Il}}{d{AbMh}}}Mn}{{{d{In}}{d{AbMh}}}Mn}{{{d{J`}}{d{AbMh}}}Mn}{{{d{Jb}}{d{AbMh}}}Mn}{{{d{Jd}}{d{AbMh}}}Mn}{{{d{Jf}}{d{AbMh}}}Mn}{{{d{Jh}}{d{AbMh}}}Mn}{{{d{Jj}}{d{AbMh}}}Mn}{{{d{Jl}}{d{AbMh}}}Mn}{{{d{Jn}}{d{AbMh}}}Mn}{{{d{K`}}{d{AbMh}}}Mn}{{{d{Kb}}{d{AbMh}}}Mn}{{{d{Kd}}{d{AbMh}}}Mn}{{{d{Kf}}{d{AbMh}}}Mn}{{{d{Kh}}{d{AbMh}}}Mn}{{{d{Kj}}{d{AbMh}}}Mn}{{{d{Kl}}{d{AbMh}}}Mn}{{{d{Kn}}{d{AbMh}}}Mn}{{{d{L`}}{d{AbMh}}}Mn}{{{d{Lb}}{d{AbMh}}}Mn}{{{d{Ld}}{d{AbMh}}}Mn}{{{d{Lf}}{d{AbMh}}}Mn}{{{d{Lh}}{d{AbMh}}}Mn}{{{d{Lj}}{d{AbMh}}}Mn}{{{d{Ll}}{d{AbMh}}}Mn}``{cc{}}{N`Ad}{NbAd}{NdAd}{NfAd}{NhAd}{NjAd}666666{BbAn}{B`An}{HnAn}99999{BjBf}{BhBf};;;;;;;;{D`Ch}{EbCh}{DnCh}{DjCh}{NlCh}{DhCh}{NnCh}{O`Ch}{DfCh}{ObCh}{OdCh}{DdCh}{OfCh}{DbCh}{OhCh}{OjCh}{E`Ch}{OlCh}{OnCh}{A@`Ch}{A@bCh}{EfCh}{A@dCh}{EdCh}{A@fCh}{A@hCh}{A@jCh}{A@lCh}{A@nCh}{AA`Ch}{AAbCh}{AAdCh}{AAfCh}{CjCh}{AAhCh}{cc{}}{CnCh}{DlCh}{ClCh}{AAjCh}444444444444444444444444444444444444444{AdEh}{AAlEh}6{EjEh}{AAlEj}888{FdF`}9{FbF`}{FfF`};;{AdFd}<<{AhFj}{FlFj}>>>>{GdGb}{GfGb}{cc{}}00{HbGh}{lGh}{hGh}3{H`Gh}{GnGh}{HdGh}{GjGh}{GlGh}88888{AAnh}99{AAnl}:::::{cHn{{AB`{I`}}}};;{cI`{{AB`{Ad}}}}<<<<<<<<<<<{KlJh}{LdJh}{JjJh}?{KjJh}{KnJh}{KhJh}{L`Jh}{JlJh}{KfJh}{KdJh}{JnJh}{KbJh}{LbJh}{K`Jh}{cc{}}00000000000000000`````{{{d{Hn}}}{{ABb{{d{Ad}}}}}}``````{{{d{Ad}}{d{Abc}}}LnABd}{{{d{Af}}{d{Abc}}}LnABd}{{{d{b}}{d{Abc}}}LnABd}{{{d{f}}{d{Abc}}}LnABd}{{{d{Ah}}{d{Abc}}}LnABd}{{{d{Aj}}{d{Abc}}}LnABd}{{{d{Al}}{d{Abc}}}LnABd}{{{d{An}}{d{Abc}}}LnABd}{{{d{B`}}{d{Abc}}}LnABd}{{{d{Bb}}{d{Abc}}}LnABd}{{{d{Bd}}{d{Abc}}}LnABd}{{{d{Bf}}{d{Abc}}}LnABd}{{{d{Bh}}{d{Abc}}}LnABd}{{{d{Bj}}{d{Abc}}}LnABd}{{{d{Bl}}{d{Abc}}}LnABd}{{{d{Bn}}{d{Abc}}}LnABd}{{{d{C`}}{d{Abc}}}LnABd}{{{d{Cb}}{d{Abc}}}LnABd}{{{d{Cd}}{d{Abc}}}LnABd}{{{d{Cf}}{d{Abc}}}LnABd}{{{d{Ch}}{d{Abc}}}LnABd}{{{d{Cj}}{d{Abc}}}LnABd}{{{d{Cl}}{d{Abc}}}LnABd}{{{d{Cn}}{d{Abc}}}LnABd}{{{d{D`}}{d{Abc}}}LnABd}{{{d{Db}}{d{Abc}}}LnABd}{{{d{Dd}}{d{Abc}}}LnABd}{{{d{Df}}{d{Abc}}}LnABd}{{{d{Dh}}{d{Abc}}}LnABd}{{{d{Dj}}{d{Abc}}}LnABd}{{{d{Dl}}{d{Abc}}}LnABd}{{{d{Dn}}{d{Abc}}}LnABd}{{{d{E`}}{d{Abc}}}LnABd}{{{d{Eb}}{d{Abc}}}LnABd}{{{d{Ed}}{d{Abc}}}LnABd}{{{d{Ef}}{d{Abc}}}LnABd}{{{d{Eh}}{d{Abc}}}LnABd}{{{d{Ej}}{d{Abc}}}LnABd}{{{d{El}}{d{Abc}}}LnABd}{{{d{En}}{d{Abc}}}LnABd}{{{d{F`}}{d{Abc}}}LnABd}{{{d{Fb}}{d{Abc}}}LnABd}{{{d{Fd}}{d{Abc}}}LnABd}{{{d{Ff}}{d{Abc}}}LnABd}{{{d{Fh}}{d{Abc}}}LnABd}{{{d{Fj}}{d{Abc}}}LnABd}{{{d{Fl}}{d{Abc}}}LnABd}{{{d{Fn}}{d{Abc}}}LnABd}{{{d{G`}}{d{Abc}}}LnABd}{{{d{Gb}}{d{Abc}}}LnABd}{{{d{Gd}}{d{Abc}}}LnABd}{{{d{Gf}}{d{Abc}}}LnABd}{{{d{Gh}}{d{Abc}}}LnABd}{{{d{Gj}}{d{Abc}}}LnABd}{{{d{Gl}}{d{Abc}}}LnABd}{{{d{Gn}}{d{Abc}}}LnABd}{{{d{H`}}{d{Abc}}}LnABd}{{{d{Hb}}{d{Abc}}}LnABd}{{{d{h}}{d{Abc}}}LnABd}{{{d{l}}{d{Abc}}}LnABd}{{{d{Hd}}{d{Abc}}}LnABd}{{{d{Hf}}{d{Abc}}}LnABd}{{{d{Hh}}{d{Abc}}}LnABd}{{{d{Hj}}{d{Abc}}}LnABd}{{{d{Hl}}{d{Abc}}}LnABd}{{{d{Hn}}{d{Abc}}}LnABd}{{{d{I`}}{d{Abc}}}LnABd}{{{d{Ib}}{d{Abc}}}LnABd}{{{d{Id}}{d{Abc}}}LnABd}{{{d{If}}{d{Abc}}}LnABd}{{{d{Ih}}{d{Abc}}}LnABd}{{{d{Ij}}{d{Abc}}}LnABd}{{{d{Il}}{d{Abc}}}LnABd}{{{d{In}}{d{Abc}}}LnABd}{{{d{J`}}{d{Abc}}}LnABd}{{{d{Jb}}{d{Abc}}}LnABd}{{{d{Jd}}{d{Abc}}}LnABd}{{{d{Jf}}{d{Abc}}}LnABd}{{{d{Jh}}{d{Abc}}}LnABd}{{{d{Jj}}{d{Abc}}}LnABd}{{{d{Jl}}{d{Abc}}}LnABd}{{{d{Jn}}{d{Abc}}}LnABd}{{{d{K`}}{d{Abc}}}LnABd}{{{d{Kb}}{d{Abc}}}LnABd}{{{d{Kd}}{d{Abc}}}LnABd}{{{d{Kf}}{d{Abc}}}LnABd}{{{d{Kh}}{d{Abc}}}LnABd}{{{d{Kj}}{d{Abc}}}LnABd}{{{d{Kl}}{d{Abc}}}LnABd}{{{d{Kn}}{d{Abc}}}LnABd}{{{d{L`}}{d{Abc}}}LnABd}{{{d{Lb}}{d{Abc}}}LnABd}{{{d{Ld}}{d{Abc}}}LnABd}{{{d{Lf}}{d{Abc}}}LnABd}{{{d{Lh}}{d{Abc}}}LnABd}{{{d{Lj}}{d{Abc}}}LnABd}{{{d{Ll}}{d{Abc}}}LnABd}````````````````{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Bf}}}c{}}{Bfc{}}{{{d{AbBf}}}c{}}{{{d{Bf}}}Mb}{{{d{Ib}}}Mb}{{{d{Hn}}{d{c}}}MbMf}1{{{d{Bf}}}{{ABf{Bl}}}}{{{d{AbBf}}}{{ABh{Bl}}}}``{{{d{Bf}}}AAl}`````````````````{{{d{AbEn}}}{{d{AbG`}}}}```````````````{{{d{j}}ABj}Ad}{{{d{j}}ABj}Ah}{AhFb}{AAnGh}{{{d{j}}ABj}Gj}{{{d{{ABn{ABl}}}}ABj}Gl}{{{d{AC`}}ABj}Gn}{{ABlABj}H`}{{ACbABj}Hb}{{{d{j}}ABj}h}{{{d{j}}ABj}l}{{MbABj}Hd};``````````````````{ACd{{n{c}}}ACf}{ACh{{n{Ad}}}}{ACh{{n{Ah}}}}{ACh{{n{An}}}}{ACh{{n{B`}}}}{ACh{{n{Bb}}}}{ACh{{n{Bd}}}}{ACh{{n{Bh}}}}{ACh{{n{Bj}}}}{ACh{{n{Bn}}}}{ACh{{n{Ch}}}}{ACh{{n{Df}}}}{ACh{{n{Dh}}}}{ACh{{n{Dn}}}}{ACh{{n{Eb}}}}{ACh{{n{Eh}}}}{ACh{{n{Ej}}}}{ACh{{n{El}}}}{ACh{{n{En}}}}{ACh{{n{F`}}}}{ACh{{n{Fb}}}}{ACh{{n{Fd}}}}{ACh{{n{Ff}}}}{ACh{{n{Fh}}}}{ACh{{n{Fj}}}}{ACh{{n{Fl}}}}{ACh{{n{Fn}}}}{ACh{{n{G`}}}}{ACh{{n{Gb}}}}{ACh{{n{Gh}}}}{{{d{Gj}}}{{n{c}}}ACf}{ACh{{n{Gj}}}}{ACh{{n{Gl}}}}{ACh{{n{Gn}}}}{ACh{{n{H`}}}}{ACh{{n{Hb}}}}{ACh{{n{h}}}}{ACh{{n{l}}}}{ACh{{n{Hd}}}}{ACh{{n{Hf}}}}{ACh{{n{Hj}}}}{ACh{{n{Hl}}}}{ACh{{n{Hn}}}}{ACh{{n{I`}}}}{ACh{{n{Id}}}}{ACh{{n{If}}}}{ACh{{n{In}}}}{ACh{{n{Jb}}}}{ACh{{n{Jh}}}}{ACh{{n{Jj}}}}{ACh{{n{Jl}}}}{ACh{{n{Jn}}}}{ACh{{n{K`}}}}{ACh{{n{Kb}}}}{ACh{{n{Kd}}}}{ACh{{n{Kf}}}}{ACh{{n{Kh}}}}{ACh{{n{Kj}}}}{ACh{{n{Kl}}}}{ACh{{n{Kn}}}}{ACh{{n{L`}}}}{ACh{{n{Lb}}}}{ACh{{n{Ld}}}}{ACh{{n{Lf}}}}{ACh{{n{Lh}}}}{ACh{{n{Ll}}}}{ACj{{n{c}}}ACf}{ACh{{n{Ad}}}}{{{d{Aj}}}{{n{c}}}ACf}{{{d{B`}}}{{n{c}}}ACf}{{{d{Aj}}c}nACl}{{{d{B`}}c}nACl}{{{d{Hf}}}{{n{c}}}ACf}{{{d{Hf}}c}nACl}{ACh{{n{{ACn{Aj}}}}}}`{ACh{{n{Hn}}}}{ACh{{n{Bl}}}}{{{d{Aj}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}{{{d{B`}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}4``{{{d{j}}}{{n{c}}}ACf}3{{{d{Gj}}c}nACl}{{{d{Ad}}{d{Ad}}}{{ABb{M`}}}}{{{d{Ah}}{d{Ah}}}{{ABb{M`}}}}{{{d{Aj}}}{{d{Hn}}}}{{{d{An}}}{{d{Hn}}}}````````{AChMb}`````````{{{d{Hn}}}{{n{{d{Ad}}}}}}{{{d{An}}}{{n{{d{B`}}}}}}{{{d{An}}}{{n{{d{Bb}}}}}}{{{d{An}}}{{n{{d{Hn}}}}}}`````{{{d{AbAd}}ABj}Ln}{{{d{AbAh}}ABj}Ln}{{{d{AbGh}}ABj}Ln}{{{d{AbGj}}ABj}Ln}{{{d{AbGl}}ABj}Ln}{{{d{AbGn}}ABj}Ln}{{{d{AbH`}}ABj}Ln}{{{d{AbHb}}ABj}Ln}{{{d{Abh}}ABj}Ln}{{{d{Abl}}ABj}Ln}{{{d{AbHd}}ABj}Ln}{{{d{Ad}}}{{ABb{ABj}}}}{{{d{Ad}}}ABj}{dABj}000{{{d{Ah}}}ABj}111111111111111111111111111111111111111111111111111{{{d{Eh}}}{{ABb{ABj}}}}2{{{d{Ej}}}{{ABb{ABj}}}}3333333333333333{{{d{Gh}}}ABj}{{{d{Gj}}}ABj}55{{{d{Gl}}}ABj}6{{{d{Gn}}}ABj}7{{{d{H`}}}ABj}8{{{d{Hb}}}ABj}9{{{d{h}}}ABj}:{{{d{l}}}ABj};{{{d{Hd}}}ABj}<{{{d{Hh}}}{{d{ADf}}}}==========={{{d{J`}}}ABj}>>>>>>>>>>>>>>>>>>>>>```{{{d{En}}}{{ADh{Afb{ABb{{d{G`}}}}}}}}```{{{d{Gh}}}{{d{j}}}}{{{d{Gj}}}{{d{j}}}}{{{d{Gl}}}{{d{j}}}}{{{d{Gn}}}{{d{j}}}}{{{d{H`}}}{{d{j}}}}{{{d{Hb}}}{{d{j}}}}{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{dc{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dADj}000{{{d{Ad}}{d{AbACj}}}Ln}{{{d{Af}}{d{AbACj}}}Ln}{{{d{b}}{d{AbACj}}}Ln}{{{d{f}}{d{AbACj}}}Ln}{{{d{Ah}}{d{AbACj}}}Ln}{{{d{Aj}}{d{AbACj}}}Ln}{{{d{An}}{d{AbACj}}}Ln}{{{d{B`}}{d{AbACj}}}Ln}{{{d{Bb}}{d{AbACj}}}Ln}{{{d{Bd}}{d{AbACj}}}Ln}{{{d{Bf}}{d{AbACj}}}Ln}{{{d{Bh}}{d{AbACj}}}Ln}{{{d{Bj}}{d{AbACj}}}Ln}{{{d{Bl}}{d{AbACj}}}Ln}{{{d{Bn}}{d{AbACj}}}Ln}{{{d{Ch}}{d{AbACj}}}Ln}{{{d{A@l}}{d{AbACj}}}Ln}{{{d{A@n}}{d{AbACj}}}Ln}{{{d{AAd}}{d{AbACj}}}Ln}{{{d{AAf}}{d{AbACj}}}Ln}{{{d{Cj}}{d{AbACj}}}Ln}{{{d{AAh}}{d{AbACj}}}Ln}{{{d{AAj}}{d{AbACj}}}Ln}{{{d{Cl}}{d{AbACj}}}Ln}{{{d{Cn}}{d{AbACj}}}Ln}{{{d{A@h}}{d{AbACj}}}Ln}{{{d{A@f}}{d{AbACj}}}Ln}{{{d{A@d}}{d{AbACj}}}Ln}{{{d{D`}}{d{AbACj}}}Ln}{{{d{Oh}}{d{AbACj}}}Ln}{{{d{Db}}{d{AbACj}}}Ln}{{{d{Of}}{d{AbACj}}}Ln}{{{d{Dd}}{d{AbACj}}}Ln}{{{d{Od}}{d{AbACj}}}Ln}{{{d{Ob}}{d{AbACj}}}Ln}{{{d{Df}}{d{AbACj}}}Ln}{{{d{O`}}{d{AbACj}}}Ln}{{{d{Dh}}{d{AbACj}}}Ln}{{{d{Nl}}{d{AbACj}}}Ln}{{{d{Dj}}{d{AbACj}}}Ln}{{{d{Dl}}{d{AbACj}}}Ln}{{{d{Dn}}{d{AbACj}}}Ln}{{{d{Nn}}{d{AbACj}}}Ln}{{{d{Oj}}{d{AbACj}}}Ln}{{{d{E`}}{d{AbACj}}}Ln}{{{d{A@`}}{d{AbACj}}}Ln}{{{d{AAb}}{d{AbACj}}}Ln}{{{d{Eb}}{d{AbACj}}}Ln}{{{d{AA`}}{d{AbACj}}}Ln}{{{d{A@j}}{d{AbACj}}}Ln}{{{d{Ed}}{d{AbACj}}}Ln}{{{d{Ef}}{d{AbACj}}}Ln}{{{d{A@b}}{d{AbACj}}}Ln}{{{d{On}}{d{AbACj}}}Ln}{{{d{Ol}}{d{AbACj}}}Ln}{{{d{Eh}}{d{AbACj}}}Ln}{{{d{Ej}}{d{AbACj}}}Ln}{{{d{El}}{d{AbACj}}}Ln}{{{d{En}}{d{AbACj}}}Ln}{{{d{F`}}{d{AbACj}}}Ln}{{{d{Fb}}{d{AbACj}}}Ln}{{{d{Fd}}{d{AbACj}}}Ln}{{{d{Ff}}{d{AbACj}}}Ln}{{{d{Fh}}{d{AbACj}}}Ln}{{{d{Fj}}{d{AbACj}}}Ln}{{{d{Fl}}{d{AbACj}}}Ln}{{{d{Fn}}{d{AbACj}}}Ln}{{{d{G`}}{d{AbACj}}}Ln}{{{d{Gb}}{d{AbACj}}}Ln}{{{d{Gd}}{d{AbACj}}}Ln}{{{d{Gf}}{d{AbACj}}}Ln}{{{d{Gh}}{d{AbACj}}}Ln}{{{d{Gj}}{d{AbACj}}}Ln}{{{d{Gl}}{d{AbACj}}}Ln}{{{d{Gn}}{d{AbACj}}}Ln}{{{d{H`}}{d{AbACj}}}Ln}{{{d{Hb}}{d{AbACj}}}Ln}{{{d{h}}{d{AbACj}}}Ln}{{{d{l}}{d{AbACj}}}Ln}{{{d{Hd}}{d{AbACj}}}Ln}{{{d{Hf}}{d{AbACj}}}Ln}{{{d{Hj}}{d{AbACj}}}Ln}{{{d{Hl}}{d{AbACj}}}Ln}{{{d{Hn}}{d{AbACj}}}Ln}{{{d{I`}}{d{AbACj}}}Ln}{{{d{Ib}}{d{AbACj}}}Ln}{{{d{Id}}{d{AbACj}}}Ln}{{{d{If}}{d{AbACj}}}Ln}{{{d{Ih}}{d{AbACj}}}Ln}{{{d{Ij}}{d{AbACj}}}Ln}{{{d{Il}}{d{AbACj}}}Ln}{{{d{In}}{d{AbACj}}}Ln}{{{d{Jb}}{d{AbACj}}}Ln}{{{d{Jd}}{d{AbACj}}}Ln}{{{d{Jh}}{d{AbACj}}}Ln}{{{d{Jj}}{d{AbACj}}}Ln}{{{d{Jl}}{d{AbACj}}}Ln}{{{d{Jn}}{d{AbACj}}}Ln}{{{d{K`}}{d{AbACj}}}Ln}{{{d{Kb}}{d{AbACj}}}Ln}{{{d{Kd}}{d{AbACj}}}Ln}{{{d{Kf}}{d{AbACj}}}Ln}{{{d{Kh}}{d{AbACj}}}Ln}{{{d{Kj}}{d{AbACj}}}Ln}{{{d{Kl}}{d{AbACj}}}Ln}{{{d{Kn}}{d{AbACj}}}Ln}{{{d{L`}}{d{AbACj}}}Ln}{{{d{Lb}}{d{AbACj}}}Ln}{{{d{Ld}}{d{AbACj}}}Ln}{{{d{Lf}}{d{AbACj}}}Ln}{{{d{Lh}}{d{AbACj}}}Ln}{{{d{Lj}}{d{AbACj}}}Ln}{{{d{Ll}}{d{AbACj}}}Ln}`{{{d{Gj}}}AAn}{{{d{Gl}}}AAn}{{{d{Gn}}}AAn}{{{d{H`}}}AAn}{{{d{Hb}}}AAn}{{{d{h}}}AAn}{{{d{l}}}AAn}{{{d{Hd}}}Ad}``{c{{Ml{e}}}{}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Ml{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000```````{dADl}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`````{{{d{Ad}}}Ad}`{{{d{Gj}}}ADj}{{{d{Gl}}}{{ACn{ABl}}}}{{{d{Gn}}}ADn}{{{d{H`}}}ABl}{{{d{Hb}}}ACb}{{{d{Hd}}}Mb}``````````{ACh{{n{Jh}}}}{ACh{{n{K`}}}}{ACh{{n{Lb}}}}{ACh{{n{Ll}}}}``{AE`{{ABb{{ADh{AE`AEbADfAE`}}}}}}{{{d{AEd}}}AE`}{d{{d{c}}}{}}0{{{d{Ab}}}{{d{Abc}}}{}}0{{{d{AE`}}}AE`}{{d{d{Abc}}}Ln{}}{dLn}{{}AE`}{AE`Mb}{{{d{AE`}}{d{AE`}}}Mb}{cc{}}0{{AE`AEb}{{ABb{{ADh{AE`ADfAE`}}}}}}{AE`{{ABb{{ADh{AdAE`}}}}}}{{}c{}}0{AE`{{ABb{{ADh{AhAE`}}}}}}{AE`{{ABb{{ADh{AAnAE`}}}}}}{ACdAEd}{ACjAEd}{{{d{AE`}}{d{AE`}}}{{ABb{M`}}}}{AE`{{ABb{{ADh{AEfAE`}}}}}}{AE`ABj}{dc{}}{AE`ACj}{AE`{{ABb{{ADh{AEhAE`}}}}}}{c{{Ml{e}}}{}{}}0{{}{{Ml{c}}}{}}0{dADl}0`{ACh{{n{AEj}}}}`{{{d{AEj}}}Ad}`{d{{d{c}}}{}}{{{d{Ab}}}{{d{Abc}}}{}}{{{d{AD`}}c}AElAEn}{cc{}}`{{}c{}}{{{d{AD`}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}{c{{`{{ACl{}{{ADb{Ln}}}}}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}`;:9{{{d{AD`}}}{{n{ACh}}}}``````````````{{{d{AF`}}{d{AF`}}}Ln}888888777777{{{d{AF`}}{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{c}}}{}}{{{d{AEl}}}AEl}{{{d{AFd}}}AFd}{{{d{AFf}}}AFf}{{{d{AFh}}}AFh}{{d{d{Abc}}}Ln{}}000{dLn}000{{{d{AbAEl}}AEl}Ln}{{{d{AF`}}}AE`}{{{d{AFf}}}{{d{c}}}{}}`{{}{{d{j}}}}{{{d{AbAF`}}}Ln}{{{d{AFh}}{d{AFh}}}Mb}{AFjAEl}{{{d{AF`}}c}AElAEn}{{AFfc}AElAEn}{{{d{AbAEl}}c}Ln{{AFn{}{{AFl{AEl}}}}}}{{{d{AEl}}{d{AbMh}}}Mn}0{{{d{AF`}}{d{AbMh}}}Mn}0{{{d{AFh}}{d{AbMh}}}Mn}{{{d{AF`}}}AF`}{AG`AEl}{cc{}}00000{{{d{AFh}}{d{Abc}}}LnABd}{{}c{}}00000{AElACj}{AElc{}}{{{d{AEl}}}c{}}{{{d{AF`}}}Mb}{{{d{AF`}}}AFj}{{ABjc}AElAEn}{{ce}AElAGbAEn}{ACh{{n{ACf}}}}{{{d{AF`}}}{{n{c}}}ACf}{{{ACl{}{{ADb{c}}}}ACd}{{n{c}}}{}}{ACh{{n{AFh}}}}{{{ACl{}{{ADb{c}}}}ACj}{{n{c}}}{}}{{{d{AF`}}}{{n{{ADh{AEbADfAF`}}}}}}{{{ACl{}{{ADb{c}}}}{d{j}}}{{n{c}}}{}}{{{d{AF`}}{AFb{ACh}{{ADb{{n{c}}}}}}e}{{n{{AGd{c}}}}}{}AGf}{{{d{AFj}}c}MbAGf}{AE`Mb}{{{d{AF`}}c}MbAGf}00{{{d{AEl}}}ABj}{{{d{AF`}}}ABj}{dABj}{{{d{AF`}}e}{{n{c}}}{}{{AGh{AFf}{{ADb{{n{{ADh{cAE`}}}}}}}}}}{{{d{AEl}}}ACj}{dc{}}000{dADj}0{{{d{AFh}}{d{AbACj}}}Ln}{c{{Ml{e}}}{}{}}00000{{}{{Ml{c}}}{}}00000{dADl}00000``{{{d{AGj}}{d{AGj}}}Ln}{{{d{AGl}}}{{n{{ADh{AEbADfAF`}}}}}}``````````{d{{d{c}}}{}}0000000{{{d{Ab}}}{{d{Abc}}}{}}0000000{{{d{Ab{AGd{ce}}}}}Ln{}{}}{{{d{{AGd{ce}}}}}{{AGd{ce}}}AGnAGn}{{{d{{AH`{ce}}}}}{{AH`{ce}}}{}{}}{{{d{{AHb{ce}}}}}{{AHb{ce}}}AGnAGn}{{{d{{AHd{c}}}}}{{AHd{c}}}AGn}{{{d{{ABf{c}}}}}{{ABf{c}}}{}}{{{d{{AHf{ce}}}}}{{AHf{ce}}}AGnAGn}{{{d{Ab{AGd{ce}}}}{d{{AGd{ce}}}}}LnAGnAGn}{{d{d{Abc}}}Ln{}}00000{dLn}00000{{{AHf{{d{c}}{d{e}}}}}{{AHf{ce}}}AGnAGn}{{}{{AGd{ce}}}{}{}}{{{d{{AGd{ce}}}}}Mb{}{}}{{{d{{AGd{ce}}}}{d{{AGd{ce}}}}}MbAHhAHh}{{{d{Ab{AGd{ce}}}}g}Ln{}AHj{{AFn{}{{AFl{{AHf{ce}}}}}}}}{{{d{Ab{AGd{ce}}}}g}Ln{}AHj{{AFn{}{{AFl{c}}}}}}{{{d{{AGd{ce}}}}}{{ABb{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABb{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}{d{AbMh}}}MnAHlAHl}{cc{}}0000000{e{{AGd{cg}}}{}{{AFn{}{{AFl{c}}}}}AHj}{g{{AGd{ce}}}{}{}{{AFn{}{{AFl{{AHf{ce}}}}}}}}{{{d{{AGd{ce}}}}AAl}{{ABb{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}AAl}{{ABb{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}{d{Abg}}}LnAHnAHnABd}{{{d{{AGd{ce}}}}AAl}{{d{g}}}{}{}{}}{{{d{Ab{AGd{ce}}}}AAl}{{d{Abg}}}{}{}{}}{{{d{Ab{AGd{ce}}}}AAlc}Ln{}AHj}{{}c{}}0000000{{{d{Ab{AGd{ce}}}}}g{}{}{}}{{{d{{AGd{ce}}}}}g{}{}{}}{{{AGd{ce}}}g{}{}{}}333333{{{AGd{ce}}}{{AHb{ce}}}{}{}}{{{AHf{ce}}}{{ADh{c{ABb{e}}}}}{}{}}{{{AHf{ce}}}c{}{}}{{{d{{AGd{ce}}}}}Mb{}{}}{{{d{{AGd{ce}}}}}{{ABf{c}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABh{c}}}{}{}}{{{d{{AGd{ce}}}}}{{ABb{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABb{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}}AAl{}{}}{{{d{{AH`{ce}}}}}AAl{}{}}{{{d{{AI`{ce}}}}}AAl{}{}}{{{d{{AHb{ce}}}}}AAl{}{}}{{{d{{AHd{c}}}}}AAl{}}{{{d{{ABf{c}}}}}AAl{}}{{{d{{ABh{c}}}}}AAl{}}{{}{{AGd{ce}}}{}{}}{{c{ABb{e}}}{{AHf{ce}}}{}{}}{{{d{Ab{AH`{ce}}}}}{{ABb{g}}}{}{}{}}{{{d{Ab{AI`{ce}}}}}{{ABb{g}}}{}{}{}}{{{d{Ab{AHb{ce}}}}}{{ABb{g}}}{}{}{}}{{{d{Ab{AHd{c}}}}}{{ABb{e}}}{}{}}{{{d{Ab{ABf{c}}}}}{{ABb{e}}}{}{}}{{{d{Ab{ABh{c}}}}}{{ABb{e}}}{}{}}543210{{{d{{AGd{ce}}}}}{{AH`{ce}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{AI`{ce}}}{}{}}{ACh{{n{{AGd{ce}}}}}ACf{AIbACf}}{{ACh{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{{AGd{ce}}}}}{}{AIbACf}}{ACh{{n{{AGd{ce}}}}}ACfACf}{{ACh{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{{AGd{ce}}}}}{}ACf}{{{d{Ab{AGd{ce}}}}}{{ABb{{AHf{ce}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABb{e}}}{}{}}{{{d{{AHf{ce}}}}}{{ABb{{d{e}}}}}{}{}}{{{d{Ab{AHf{ce}}}}}{{ABb{{d{Abe}}}}}{}{}}{{{d{Ab{AGd{ce}}}}c}Ln{}AHj}{{{d{Ab{AGd{ce}}}}e}Ln{}{}}{{{d{Ab{AGd{ce}}}}c}Ln{}{}}{{{d{{AH`{ce}}}}}{{ADh{AAl{ABb{AAl}}}}}{}{}}{{{d{{AI`{ce}}}}}{{ADh{AAl{ABb{AAl}}}}}{}{}}{{{d{{AHb{ce}}}}}{{ADh{AAl{ABb{AAl}}}}}{}{}}{{{d{{AHd{c}}}}}{{ADh{AAl{ABb{AAl}}}}}{}}{{{d{{ABf{c}}}}}{{ADh{AAl{ABb{AAl}}}}}{}}{{{d{{ABh{c}}}}}{{ADh{AAl{ABb{AAl}}}}}{}}{dABj}0{dc{}}00000{{{d{{AGd{ce}}}}{d{AbACj}}}LnAGbAGb}{{{d{{AHf{ce}}}}{d{AbACj}}}LnAGbAGb}{{{d{{AGd{ce}}}}}Mb{}{}}{c{{Ml{e}}}{}{}}0000000{{}{{Ml{c}}}{}}0000000{dADl}0000000{{{d{{AHf{ce}}}}}{{d{c}}}{}{}}{{{d{Ab{AHf{ce}}}}}{{d{Abc}}}{}{}}`{{{d{AId}}}ABj}`````````````````````````````````````````````````````````````````````````````````````````````````````````{d{{d{c}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ab}}}{{d{Abc}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{AIf}}}AIf}{{{d{Nj}}}Nj}{{{d{AIh}}}AIh}{{{d{AIj}}}AIj}{{{d{AIl}}}AIl}{{{d{AIn}}}AIn}{{{d{AJ`}}}AJ`}{{{d{AJb}}}AJb}{{{d{AJd}}}AJd}{{{d{AJf}}}AJf}{{{d{AJh}}}AJh}{{{d{AJj}}}AJj}{{{d{N`}}}N`}{{{d{AJl}}}AJl}{{{d{AJn}}}AJn}{{{d{AK`}}}AK`}{{{d{AKb}}}AKb}{{{d{AKd}}}AKd}{{{d{Nh}}}Nh}{{{d{AKf}}}AKf}{{{d{AKh}}}AKh}{{{d{AKj}}}AKj}{{{d{AKl}}}AKl}{{{d{AKn}}}AKn}{{{d{AL`}}}AL`}{{{d{ALb}}}ALb}{{{d{ALd}}}ALd}{{{d{ALf}}}ALf}{{{d{ALh}}}ALh}{{{d{ALj}}}ALj}{{{d{ALl}}}ALl}{{{d{ALn}}}ALn}{{{d{AM`}}}AM`}{{{d{AMb}}}AMb}{{{d{AMd}}}AMd}{{{d{AMf}}}AMf}{{{d{AMh}}}AMh}{{{d{AMj}}}AMj}{{{d{Nd}}}Nd}{{{d{Nf}}}Nf}{{{d{AMl}}}AMl}{{{d{AMn}}}AMn}{{{d{Nb}}}Nb}{{{d{AN`}}}AN`}{{{d{ANb}}}ANb}{{{d{ANd}}}ANd}{{{d{ANf}}}ANf}{{{d{ANh}}}ANh}{{{d{ANj}}}ANj}{{{d{ANl}}}ANl}{{{d{ANn}}}ANn}{{{d{AO`}}}AO`}{{{d{AOb}}}AOb}{{{d{AOd}}}AOd}{{{d{AOf}}}AOf}{{{d{AOh}}}AOh}{{{d{AOj}}}AOj}{{{d{AOl}}}AOl}{{{d{AOn}}}AOn}{{{d{B@`}}}B@`}{{{d{B@b}}}B@b}{{{d{B@d}}}B@d}{{{d{B@f}}}B@f}{{{d{B@h}}}B@h}{{{d{B@j}}}B@j}{{{d{B@l}}}B@l}{{{d{B@n}}}B@n}{{{d{BA`}}}BA`}{{{d{BAb}}}BAb}{{{d{BAd}}}BAd}{{{d{BAf}}}BAf}{{{d{BAh}}}BAh}{{{d{BAj}}}BAj}{{{d{BAl}}}BAl}{{{d{BAn}}}BAn}{{{d{BB`}}}BB`}{{{d{BBb}}}BBb}{{{d{BBd}}}BBd}{{{d{BBf}}}BBf}{{{d{BBh}}}BBh}{{{d{BBj}}}BBj}{{{d{BBl}}}BBl}{{{d{BBn}}}BBn}{{{d{BC`}}}BC`}{{{d{BCb}}}BCb}{{{d{BCd}}}BCd}{{{d{BCf}}}BCf}{{{d{BCh}}}BCh}{{{d{BCj}}}BCj}{{{d{BCl}}}BCl}{{{d{BCn}}}BCn}{{{d{BD`}}}BD`}{{{d{BDb}}}BDb}{{{d{BDd}}}BDd}{{{d{BDf}}}BDf}{{{d{BDh}}}BDh}{{{d{BDj}}}BDj}{{{d{BDl}}}BDl}{{{d{BDn}}}BDn}{{{d{BE`}}}BE`}{{{d{BEb}}}BEb}{{{d{BEd}}}BEd}{{{d{BEf}}}BEf}{{{d{BEh}}}BEh}{{d{d{Abc}}}Ln{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dLn}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}AIf}{{}Nj}{{}AIh}{{}AIj}{{}AIl}{{}AIn}{{}AJ`}{{}AJb}{{}AJd}{{}AJf}{{}AJh}{{}AJj}{{}N`}{{}AJl}{{}AJn}{{}AK`}{{}AKb}{{}AKd}{{}Nh}{{}AKf}{{}AKh}{{}AKj}{{}AKl}{{}AKn}{{}AL`}{{}ALb}{{}ALd}{{}ALf}{{}ALh}{{}ALj}{{}ALl}{{}ALn}{{}AM`}{{}AMb}{{}AMd}{{}AMf}{{}AMh}{{}AMj}{{}Nd}{{}Nf}{{}AMl}{{}AMn}{{}Nb}{{}AN`}{{}ANb}{{}ANd}{{}ANf}{{}ANh}{{}ANj}{{}ANl}{{}ANn}{{}AO`}{{}AOb}{{}AOd}{{}AOf}{{}AOh}{{}AOj}{{}AOl}{{}AOn}{{}B@`}{{}B@b}{{}B@d}{{}B@f}{{}B@h}{{}B@j}{{}B@l}{{}B@n}{{}BA`}{{}BAb}{{}BAd}{{}BAf}{{}BAh}{{}BAj}{{}BAl}{{}BAn}{{}BB`}{{}BBb}{{}BBd}{{}BBf}{{}BBh}{{}BBj}{{}BBl}{{}BBn}{{}BC`}{{}BCb}{{}BCd}{{}BCf}{{}BCh}{{}BCj}{{}BCl}{{}BCn}{{}BD`}{{}BDb}{{}BDd}{{}BDf}{{}BDh}{{}BDj}{{}BDl}{{}BDn}{{}BE`}{{}BEb}{{}BEd}{{}BEf}{{}BEh}{{{d{Nj}}}{{d{c}}}{}}{{{d{AOh}}}{{d{c}}}{}}{{{d{AOn}}}{{d{c}}}{}}{{{d{B@`}}}{{d{c}}}{}}{{{d{B@d}}}{{d{c}}}{}}{{{d{B@f}}}{{d{c}}}{}}{{{d{B@h}}}{{d{c}}}{}}{{{d{B@j}}}{{d{c}}}{}}{{{d{BAb}}}{{d{c}}}{}}{{{d{BAj}}}{{d{c}}}{}}{{{d{BB`}}}{{d{c}}}{}}{{{d{BBb}}}{{d{c}}}{}}{{{d{BBh}}}{{d{c}}}{}}{{{d{BBj}}}{{d{c}}}{}}{{{d{BCb}}}{{d{c}}}{}}{{{d{BCf}}}{{d{c}}}{}}{{{d{BCj}}}{{d{c}}}{}}{{{d{BCl}}}{{d{c}}}{}}{{{d{BD`}}}{{d{c}}}{}}{{{d{BDj}}}{{d{c}}}{}}{{{d{BDn}}}{{d{c}}}{}}{{{d{BEb}}}{{d{c}}}{}}{{{d{AbNj}}}{{d{Abc}}}{}}{{{d{AbAOh}}}{{d{Abc}}}{}}{{{d{AbAOn}}}{{d{Abc}}}{}}{{{d{AbB@`}}}{{d{Abc}}}{}}{{{d{AbB@d}}}{{d{Abc}}}{}}{{{d{AbB@f}}}{{d{Abc}}}{}}{{{d{AbB@h}}}{{d{Abc}}}{}}{{{d{AbB@j}}}{{d{Abc}}}{}}{{{d{AbBAb}}}{{d{Abc}}}{}}{{{d{AbBAj}}}{{d{Abc}}}{}}{{{d{AbBB`}}}{{d{Abc}}}{}}{{{d{AbBBb}}}{{d{Abc}}}{}}{{{d{AbBBh}}}{{d{Abc}}}{}}{{{d{AbBBj}}}{{d{Abc}}}{}}{{{d{AbBCb}}}{{d{Abc}}}{}}{{{d{AbBCf}}}{{d{Abc}}}{}}{{{d{AbBCj}}}{{d{Abc}}}{}}{{{d{AbBCl}}}{{d{Abc}}}{}}{{{d{AbBD`}}}{{d{Abc}}}{}}{{{d{AbBDj}}}{{d{Abc}}}{}}{{{d{AbBDn}}}{{d{Abc}}}{}}{{{d{AbBEb}}}{{d{Abc}}}{}}{{{d{AIf}}{d{AIf}}}Mb}{{{d{Nj}}{d{Nj}}}Mb}{{{d{AIh}}{d{AIh}}}Mb}{{{d{AIj}}{d{AIj}}}Mb}{{{d{AIl}}{d{AIl}}}Mb}{{{d{AIn}}{d{AIn}}}Mb}{{{d{AJ`}}{d{AJ`}}}Mb}{{{d{AJb}}{d{AJb}}}Mb}{{{d{AJd}}{d{AJd}}}Mb}{{{d{AJf}}{d{AJf}}}Mb}{{{d{AJh}}{d{AJh}}}Mb}{{{d{AJj}}{d{AJj}}}Mb}{{{d{N`}}{d{N`}}}Mb}{{{d{AJl}}{d{AJl}}}Mb}{{{d{AJn}}{d{AJn}}}Mb}{{{d{AK`}}{d{AK`}}}Mb}{{{d{AKb}}{d{AKb}}}Mb}{{{d{AKd}}{d{AKd}}}Mb}{{{d{Nh}}{d{Nh}}}Mb}{{{d{AKf}}{d{AKf}}}Mb}{{{d{AKh}}{d{AKh}}}Mb}{{{d{AKj}}{d{AKj}}}Mb}{{{d{AKl}}{d{AKl}}}Mb}{{{d{AKn}}{d{AKn}}}Mb}{{{d{AL`}}{d{AL`}}}Mb}{{{d{ALb}}{d{ALb}}}Mb}{{{d{ALd}}{d{ALd}}}Mb}{{{d{ALf}}{d{ALf}}}Mb}{{{d{ALh}}{d{ALh}}}Mb}{{{d{ALj}}{d{ALj}}}Mb}{{{d{ALl}}{d{ALl}}}Mb}{{{d{ALn}}{d{ALn}}}Mb}{{{d{AM`}}{d{AM`}}}Mb}{{{d{AMb}}{d{AMb}}}Mb}{{{d{AMd}}{d{AMd}}}Mb}{{{d{AMf}}{d{AMf}}}Mb}{{{d{AMh}}{d{AMh}}}Mb}{{{d{AMj}}{d{AMj}}}Mb}{{{d{Nd}}{d{Nd}}}Mb}{{{d{Nf}}{d{Nf}}}Mb}{{{d{AMl}}{d{AMl}}}Mb}{{{d{AMn}}{d{AMn}}}Mb}{{{d{Nb}}{d{Nb}}}Mb}{{{d{AN`}}{d{AN`}}}Mb}{{{d{ANb}}{d{ANb}}}Mb}{{{d{ANd}}{d{ANd}}}Mb}{{{d{ANf}}{d{ANf}}}Mb}{{{d{ANh}}{d{ANh}}}Mb}{{{d{ANj}}{d{ANj}}}Mb}{{{d{ANl}}{d{ANl}}}Mb}{{{d{ANn}}{d{ANn}}}Mb}{{{d{AO`}}{d{AO`}}}Mb}{{{d{AOb}}{d{AOb}}}Mb}{{{d{AOd}}{d{AOd}}}Mb}{{{d{AOf}}{d{AOf}}}Mb}{{{d{AOh}}{d{AOh}}}Mb}{{{d{AOj}}{d{AOj}}}Mb}{{{d{AOl}}{d{AOl}}}Mb}{{{d{AOn}}{d{AOn}}}Mb}{{{d{B@`}}{d{B@`}}}Mb}{{{d{B@b}}{d{B@b}}}Mb}{{{d{B@d}}{d{B@d}}}Mb}{{{d{B@f}}{d{B@f}}}Mb}{{{d{B@h}}{d{B@h}}}Mb}{{{d{B@j}}{d{B@j}}}Mb}{{{d{B@l}}{d{B@l}}}Mb}{{{d{B@n}}{d{B@n}}}Mb}{{{d{BA`}}{d{BA`}}}Mb}{{{d{BAb}}{d{BAb}}}Mb}{{{d{BAd}}{d{BAd}}}Mb}{{{d{BAf}}{d{BAf}}}Mb}{{{d{BAh}}{d{BAh}}}Mb}{{{d{BAj}}{d{BAj}}}Mb}{{{d{BAl}}{d{BAl}}}Mb}{{{d{BAn}}{d{BAn}}}Mb}{{{d{BB`}}{d{BB`}}}Mb}{{{d{BBb}}{d{BBb}}}Mb}{{{d{BBd}}{d{BBd}}}Mb}{{{d{BBf}}{d{BBf}}}Mb}{{{d{BBh}}{d{BBh}}}Mb}{{{d{BBj}}{d{BBj}}}Mb}{{{d{BBl}}{d{BBl}}}Mb}{{{d{BBn}}{d{BBn}}}Mb}{{{d{BC`}}{d{BC`}}}Mb}{{{d{BCb}}{d{BCb}}}Mb}{{{d{BCd}}{d{BCd}}}Mb}{{{d{BCf}}{d{BCf}}}Mb}{{{d{BCh}}{d{BCh}}}Mb}{{{d{BCj}}{d{BCj}}}Mb}{{{d{BCl}}{d{BCl}}}Mb}{{{d{BCn}}{d{BCn}}}Mb}{{{d{BD`}}{d{BD`}}}Mb}{{{d{BDb}}{d{BDb}}}Mb}{{{d{BDd}}{d{BDd}}}Mb}{{{d{BDf}}{d{BDf}}}Mb}{{{d{BDh}}{d{BDh}}}Mb}{{{d{BDj}}{d{BDj}}}Mb}{{{d{BDl}}{d{BDl}}}Mb}{{{d{BDn}}{d{BDn}}}Mb}{{{d{BE`}}{d{BE`}}}Mb}{{{d{BEb}}{d{BEb}}}Mb}{{{d{BEd}}{d{BEd}}}Mb}{{{d{BEf}}{d{BEf}}}Mb}{{{d{BEh}}{d{BEh}}}Mb}{{{d{AIf}}{d{AbMh}}}Mn}{{{d{Nj}}{d{AbMh}}}Mn}{{{d{AIh}}{d{AbMh}}}Mn}{{{d{AIj}}{d{AbMh}}}Mn}{{{d{AIl}}{d{AbMh}}}Mn}{{{d{AIn}}{d{AbMh}}}Mn}{{{d{AJ`}}{d{AbMh}}}Mn}{{{d{AJb}}{d{AbMh}}}Mn}{{{d{AJd}}{d{AbMh}}}Mn}{{{d{AJf}}{d{AbMh}}}Mn}{{{d{AJh}}{d{AbMh}}}Mn}{{{d{AJj}}{d{AbMh}}}Mn}{{{d{N`}}{d{AbMh}}}Mn}{{{d{AJl}}{d{AbMh}}}Mn}{{{d{AJn}}{d{AbMh}}}Mn}{{{d{AK`}}{d{AbMh}}}Mn}{{{d{AKb}}{d{AbMh}}}Mn}{{{d{AKd}}{d{AbMh}}}Mn}{{{d{Nh}}{d{AbMh}}}Mn}{{{d{AKf}}{d{AbMh}}}Mn}{{{d{AKh}}{d{AbMh}}}Mn}{{{d{AKj}}{d{AbMh}}}Mn}{{{d{AKl}}{d{AbMh}}}Mn}{{{d{AKn}}{d{AbMh}}}Mn}{{{d{AL`}}{d{AbMh}}}Mn}{{{d{ALb}}{d{AbMh}}}Mn}{{{d{ALd}}{d{AbMh}}}Mn}{{{d{ALf}}{d{AbMh}}}Mn}{{{d{ALh}}{d{AbMh}}}Mn}{{{d{ALj}}{d{AbMh}}}Mn}{{{d{ALl}}{d{AbMh}}}Mn}{{{d{ALn}}{d{AbMh}}}Mn}{{{d{AM`}}{d{AbMh}}}Mn}{{{d{AMb}}{d{AbMh}}}Mn}{{{d{AMd}}{d{AbMh}}}Mn}{{{d{AMf}}{d{AbMh}}}Mn}{{{d{AMh}}{d{AbMh}}}Mn}{{{d{AMj}}{d{AbMh}}}Mn}{{{d{Nd}}{d{AbMh}}}Mn}{{{d{Nf}}{d{AbMh}}}Mn}{{{d{AMl}}{d{AbMh}}}Mn}{{{d{AMn}}{d{AbMh}}}Mn}{{{d{Nb}}{d{AbMh}}}Mn}{{{d{AN`}}{d{AbMh}}}Mn}{{{d{ANb}}{d{AbMh}}}Mn}{{{d{ANd}}{d{AbMh}}}Mn}{{{d{ANf}}{d{AbMh}}}Mn}{{{d{ANh}}{d{AbMh}}}Mn}{{{d{ANj}}{d{AbMh}}}Mn}{{{d{ANl}}{d{AbMh}}}Mn}{{{d{ANn}}{d{AbMh}}}Mn}{{{d{AO`}}{d{AbMh}}}Mn}{{{d{AOb}}{d{AbMh}}}Mn}{{{d{AOd}}{d{AbMh}}}Mn}{{{d{AOf}}{d{AbMh}}}Mn}{{{d{AOh}}{d{AbMh}}}Mn}{{{d{AOj}}{d{AbMh}}}Mn}{{{d{AOl}}{d{AbMh}}}Mn}{{{d{AOn}}{d{AbMh}}}Mn}{{{d{B@`}}{d{AbMh}}}Mn}{{{d{B@b}}{d{AbMh}}}Mn}{{{d{B@d}}{d{AbMh}}}Mn}{{{d{B@f}}{d{AbMh}}}Mn}{{{d{B@h}}{d{AbMh}}}Mn}{{{d{B@j}}{d{AbMh}}}Mn}{{{d{B@l}}{d{AbMh}}}Mn}{{{d{B@n}}{d{AbMh}}}Mn}{{{d{BA`}}{d{AbMh}}}Mn}{{{d{BAb}}{d{AbMh}}}Mn}{{{d{BAd}}{d{AbMh}}}Mn}{{{d{BAf}}{d{AbMh}}}Mn}{{{d{BAh}}{d{AbMh}}}Mn}{{{d{BAj}}{d{AbMh}}}Mn}{{{d{BAl}}{d{AbMh}}}Mn}{{{d{BAn}}{d{AbMh}}}Mn}{{{d{BB`}}{d{AbMh}}}Mn}{{{d{BBb}}{d{AbMh}}}Mn}{{{d{BBd}}{d{AbMh}}}Mn}{{{d{BBf}}{d{AbMh}}}Mn}{{{d{BBh}}{d{AbMh}}}Mn}{{{d{BBj}}{d{AbMh}}}Mn}{{{d{BBl}}{d{AbMh}}}Mn}{{{d{BBn}}{d{AbMh}}}Mn}{{{d{BC`}}{d{AbMh}}}Mn}{{{d{BCb}}{d{AbMh}}}Mn}{{{d{BCd}}{d{AbMh}}}Mn}{{{d{BCf}}{d{AbMh}}}Mn}{{{d{BCh}}{d{AbMh}}}Mn}{{{d{BCj}}{d{AbMh}}}Mn}{{{d{BCl}}{d{AbMh}}}Mn}{{{d{BCn}}{d{AbMh}}}Mn}{{{d{BD`}}{d{AbMh}}}Mn}{{{d{BDb}}{d{AbMh}}}Mn}{{{d{BDd}}{d{AbMh}}}Mn}{{{d{BDf}}{d{AbMh}}}Mn}{{{d{BDh}}{d{AbMh}}}Mn}{{{d{BDj}}{d{AbMh}}}Mn}{{{d{BDl}}{d{AbMh}}}Mn}{{{d{BDn}}{d{AbMh}}}Mn}{{{d{BE`}}{d{AbMh}}}Mn}{{{d{BEb}}{d{AbMh}}}Mn}{{{d{BEd}}{d{AbMh}}}Mn}{{{d{BEf}}{d{AbMh}}}Mn}{{{d{BEh}}{d{AbMh}}}Mn}{cc{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{AIf}}{d{Abc}}}LnABd}{{{d{Nj}}{d{Abc}}}LnABd}{{{d{AIh}}{d{Abc}}}LnABd}{{{d{AIj}}{d{Abc}}}LnABd}{{{d{AIl}}{d{Abc}}}LnABd}{{{d{AIn}}{d{Abc}}}LnABd}{{{d{AJ`}}{d{Abc}}}LnABd}{{{d{AJb}}{d{Abc}}}LnABd}{{{d{AJd}}{d{Abc}}}LnABd}{{{d{AJf}}{d{Abc}}}LnABd}{{{d{AJh}}{d{Abc}}}LnABd}{{{d{AJj}}{d{Abc}}}LnABd}{{{d{N`}}{d{Abc}}}LnABd}{{{d{AJl}}{d{Abc}}}LnABd}{{{d{AJn}}{d{Abc}}}LnABd}{{{d{AK`}}{d{Abc}}}LnABd}{{{d{AKb}}{d{Abc}}}LnABd}{{{d{AKd}}{d{Abc}}}LnABd}{{{d{Nh}}{d{Abc}}}LnABd}{{{d{AKf}}{d{Abc}}}LnABd}{{{d{AKh}}{d{Abc}}}LnABd}{{{d{AKj}}{d{Abc}}}LnABd}{{{d{AKl}}{d{Abc}}}LnABd}{{{d{AKn}}{d{Abc}}}LnABd}{{{d{AL`}}{d{Abc}}}LnABd}{{{d{ALb}}{d{Abc}}}LnABd}{{{d{ALd}}{d{Abc}}}LnABd}{{{d{ALf}}{d{Abc}}}LnABd}{{{d{ALh}}{d{Abc}}}LnABd}{{{d{ALj}}{d{Abc}}}LnABd}{{{d{ALl}}{d{Abc}}}LnABd}{{{d{ALn}}{d{Abc}}}LnABd}{{{d{AM`}}{d{Abc}}}LnABd}{{{d{AMb}}{d{Abc}}}LnABd}{{{d{AMd}}{d{Abc}}}LnABd}{{{d{AMf}}{d{Abc}}}LnABd}{{{d{AMh}}{d{Abc}}}LnABd}{{{d{AMj}}{d{Abc}}}LnABd}{{{d{Nd}}{d{Abc}}}LnABd}{{{d{Nf}}{d{Abc}}}LnABd}{{{d{AMl}}{d{Abc}}}LnABd}{{{d{AMn}}{d{Abc}}}LnABd}{{{d{Nb}}{d{Abc}}}LnABd}{{{d{AN`}}{d{Abc}}}LnABd}{{{d{ANb}}{d{Abc}}}LnABd}{{{d{ANd}}{d{Abc}}}LnABd}{{{d{ANf}}{d{Abc}}}LnABd}{{{d{ANh}}{d{Abc}}}LnABd}{{{d{ANj}}{d{Abc}}}LnABd}{{{d{ANl}}{d{Abc}}}LnABd}{{{d{ANn}}{d{Abc}}}LnABd}{{{d{AO`}}{d{Abc}}}LnABd}{{{d{AOb}}{d{Abc}}}LnABd}{{{d{AOd}}{d{Abc}}}LnABd}{{{d{AOf}}{d{Abc}}}LnABd}{{{d{AOh}}{d{Abc}}}LnABd}{{{d{AOj}}{d{Abc}}}LnABd}{{{d{AOl}}{d{Abc}}}LnABd}{{{d{AOn}}{d{Abc}}}LnABd}{{{d{B@`}}{d{Abc}}}LnABd}{{{d{B@b}}{d{Abc}}}LnABd}{{{d{B@d}}{d{Abc}}}LnABd}{{{d{B@f}}{d{Abc}}}LnABd}{{{d{B@h}}{d{Abc}}}LnABd}{{{d{B@j}}{d{Abc}}}LnABd}{{{d{B@l}}{d{Abc}}}LnABd}{{{d{B@n}}{d{Abc}}}LnABd}{{{d{BA`}}{d{Abc}}}LnABd}{{{d{BAb}}{d{Abc}}}LnABd}{{{d{BAd}}{d{Abc}}}LnABd}{{{d{BAf}}{d{Abc}}}LnABd}{{{d{BAh}}{d{Abc}}}LnABd}{{{d{BAj}}{d{Abc}}}LnABd}{{{d{BAl}}{d{Abc}}}LnABd}{{{d{BAn}}{d{Abc}}}LnABd}{{{d{BB`}}{d{Abc}}}LnABd}{{{d{BBb}}{d{Abc}}}LnABd}{{{d{BBd}}{d{Abc}}}LnABd}{{{d{BBf}}{d{Abc}}}LnABd}{{{d{BBh}}{d{Abc}}}LnABd}{{{d{BBj}}{d{Abc}}}LnABd}{{{d{BBl}}{d{Abc}}}LnABd}{{{d{BBn}}{d{Abc}}}LnABd}{{{d{BC`}}{d{Abc}}}LnABd}{{{d{BCb}}{d{Abc}}}LnABd}{{{d{BCd}}{d{Abc}}}LnABd}{{{d{BCf}}{d{Abc}}}LnABd}{{{d{BCh}}{d{Abc}}}LnABd}{{{d{BCj}}{d{Abc}}}LnABd}{{{d{BCl}}{d{Abc}}}LnABd}{{{d{BCn}}{d{Abc}}}LnABd}{{{d{BD`}}{d{Abc}}}LnABd}{{{d{BDb}}{d{Abc}}}LnABd}{{{d{BDd}}{d{Abc}}}LnABd}{{{d{BDf}}{d{Abc}}}LnABd}{{{d{BDh}}{d{Abc}}}LnABd}{{{d{BDj}}{d{Abc}}}LnABd}{{{d{BDl}}{d{Abc}}}LnABd}{{{d{BDn}}{d{Abc}}}LnABd}{{{d{BE`}}{d{Abc}}}LnABd}{{{d{BEb}}{d{Abc}}}LnABd}{{{d{BEd}}{d{Abc}}}LnABd}{{{d{BEf}}{d{Abc}}}LnABd}{{{d{BEh}}{d{Abc}}}LnABd}{{}c{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{ACh{{n{Nj}}}}{ACh{{n{AIh}}}}{ACh{{n{AIj}}}}{ACh{{n{AIl}}}}{ACh{{n{AIn}}}}{ACh{{n{AJ`}}}}{ACh{{n{AJb}}}}{ACh{{n{AJd}}}}{ACh{{n{AJf}}}}{ACh{{n{AJh}}}}{ACh{{n{AJj}}}}{ACh{{n{N`}}}}{ACh{{n{AJl}}}}{ACh{{n{AJn}}}}{ACh{{n{AK`}}}}{ACh{{n{AKb}}}}{ACh{{n{AKd}}}}{ACh{{n{Nh}}}}{ACh{{n{AKf}}}}{ACh{{n{AKh}}}}{ACh{{n{AKj}}}}{ACh{{n{AKl}}}}{ACh{{n{AKn}}}}{ACh{{n{AL`}}}}{ACh{{n{ALb}}}}{ACh{{n{ALd}}}}{ACh{{n{ALf}}}}{ACh{{n{ALh}}}}{ACh{{n{ALj}}}}{ACh{{n{ALl}}}}{ACh{{n{ALn}}}}{ACh{{n{AM`}}}}{ACh{{n{AMb}}}}{ACh{{n{AMd}}}}{ACh{{n{AMf}}}}{ACh{{n{AMh}}}}{ACh{{n{AMj}}}}{ACh{{n{Nd}}}}{ACh{{n{Nf}}}}{ACh{{n{AMl}}}}{ACh{{n{AMn}}}}{ACh{{n{Nb}}}}{ACh{{n{AN`}}}}{ACh{{n{ANb}}}}{ACh{{n{ANd}}}}{ACh{{n{ANf}}}}{ACh{{n{ANh}}}}{ACh{{n{ANj}}}}{ACh{{n{ANl}}}}{ACh{{n{ANn}}}}{ACh{{n{AO`}}}}{ACh{{n{AOb}}}}{ACh{{n{AOd}}}}{ACh{{n{AOf}}}}{ACh{{n{AOh}}}}{ACh{{n{AOj}}}}{ACh{{n{AOl}}}}{ACh{{n{AOn}}}}{ACh{{n{B@`}}}}{ACh{{n{B@b}}}}{ACh{{n{B@d}}}}{ACh{{n{B@f}}}}{ACh{{n{B@h}}}}{ACh{{n{B@j}}}}{ACh{{n{B@l}}}}{ACh{{n{B@n}}}}{ACh{{n{BA`}}}}{ACh{{n{BAb}}}}{ACh{{n{BAd}}}}{ACh{{n{BAf}}}}{ACh{{n{BAh}}}}{ACh{{n{BAj}}}}{ACh{{n{BAl}}}}{ACh{{n{BAn}}}}{ACh{{n{BB`}}}}{ACh{{n{BBb}}}}{ACh{{n{BBd}}}}{ACh{{n{BBf}}}}{ACh{{n{BBh}}}}{ACh{{n{BBj}}}}{ACh{{n{BBl}}}}{ACh{{n{BBn}}}}{ACh{{n{BC`}}}}{ACh{{n{BCb}}}}{ACh{{n{BCd}}}}{ACh{{n{BCf}}}}{ACh{{n{BCh}}}}{ACh{{n{BCj}}}}{ACh{{n{BCl}}}}{ACh{{n{BCn}}}}{ACh{{n{BD`}}}}{ACh{{n{BDb}}}}{ACh{{n{BDd}}}}{ACh{{n{BDf}}}}{ACh{{n{BDh}}}}{ACh{{n{BDj}}}}{ACh{{n{BDl}}}}{ACh{{n{BDn}}}}{ACh{{n{BE`}}}}{ACh{{n{BEb}}}}{dABj}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{AIf}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEd}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEf}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEh}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{dc{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Nj}}{d{AbACj}}}Ln}{{{d{AIh}}{d{AbACj}}}Ln}{{{d{AIj}}{d{AbACj}}}Ln}{{{d{AIl}}{d{AbACj}}}Ln}{{{d{AIn}}{d{AbACj}}}Ln}{{{d{AJ`}}{d{AbACj}}}Ln}{{{d{AJb}}{d{AbACj}}}Ln}{{{d{AJd}}{d{AbACj}}}Ln}{{{d{AJf}}{d{AbACj}}}Ln}{{{d{AJh}}{d{AbACj}}}Ln}{{{d{AJj}}{d{AbACj}}}Ln}{{{d{N`}}{d{AbACj}}}Ln}{{{d{AJl}}{d{AbACj}}}Ln}{{{d{AJn}}{d{AbACj}}}Ln}{{{d{AK`}}{d{AbACj}}}Ln}{{{d{AKb}}{d{AbACj}}}Ln}{{{d{AKd}}{d{AbACj}}}Ln}{{{d{Nh}}{d{AbACj}}}Ln}{{{d{AKf}}{d{AbACj}}}Ln}{{{d{AKh}}{d{AbACj}}}Ln}{{{d{AKj}}{d{AbACj}}}Ln}{{{d{AKl}}{d{AbACj}}}Ln}{{{d{AKn}}{d{AbACj}}}Ln}{{{d{AL`}}{d{AbACj}}}Ln}{{{d{ALb}}{d{AbACj}}}Ln}{{{d{ALd}}{d{AbACj}}}Ln}{{{d{ALf}}{d{AbACj}}}Ln}{{{d{ALh}}{d{AbACj}}}Ln}{{{d{ALj}}{d{AbACj}}}Ln}{{{d{ALl}}{d{AbACj}}}Ln}{{{d{ALn}}{d{AbACj}}}Ln}{{{d{AM`}}{d{AbACj}}}Ln}{{{d{AMb}}{d{AbACj}}}Ln}{{{d{AMd}}{d{AbACj}}}Ln}{{{d{AMf}}{d{AbACj}}}Ln}{{{d{AMh}}{d{AbACj}}}Ln}{{{d{AMj}}{d{AbACj}}}Ln}{{{d{Nd}}{d{AbACj}}}Ln}{{{d{Nf}}{d{AbACj}}}Ln}{{{d{AMl}}{d{AbACj}}}Ln}{{{d{AMn}}{d{AbACj}}}Ln}{{{d{Nb}}{d{AbACj}}}Ln}{{{d{AN`}}{d{AbACj}}}Ln}{{{d{ANb}}{d{AbACj}}}Ln}{{{d{ANd}}{d{AbACj}}}Ln}{{{d{ANf}}{d{AbACj}}}Ln}{{{d{ANh}}{d{AbACj}}}Ln}{{{d{ANj}}{d{AbACj}}}Ln}{{{d{ANl}}{d{AbACj}}}Ln}{{{d{ANn}}{d{AbACj}}}Ln}{{{d{AO`}}{d{AbACj}}}Ln}{{{d{AOb}}{d{AbACj}}}Ln}{{{d{AOd}}{d{AbACj}}}Ln}{{{d{AOf}}{d{AbACj}}}Ln}{{{d{AOh}}{d{AbACj}}}Ln}{{{d{AOj}}{d{AbACj}}}Ln}{{{d{AOl}}{d{AbACj}}}Ln}{{{d{AOn}}{d{AbACj}}}Ln}{{{d{B@`}}{d{AbACj}}}Ln}{{{d{B@b}}{d{AbACj}}}Ln}{{{d{B@d}}{d{AbACj}}}Ln}{{{d{B@f}}{d{AbACj}}}Ln}{{{d{B@h}}{d{AbACj}}}Ln}{{{d{B@j}}{d{AbACj}}}Ln}{{{d{B@l}}{d{AbACj}}}Ln}{{{d{B@n}}{d{AbACj}}}Ln}{{{d{BA`}}{d{AbACj}}}Ln}{{{d{BAb}}{d{AbACj}}}Ln}{{{d{BAd}}{d{AbACj}}}Ln}{{{d{BAf}}{d{AbACj}}}Ln}{{{d{BAh}}{d{AbACj}}}Ln}{{{d{BAj}}{d{AbACj}}}Ln}{{{d{BAl}}{d{AbACj}}}Ln}{{{d{BAn}}{d{AbACj}}}Ln}{{{d{BB`}}{d{AbACj}}}Ln}{{{d{BBb}}{d{AbACj}}}Ln}{{{d{BBd}}{d{AbACj}}}Ln}{{{d{BBf}}{d{AbACj}}}Ln}{{{d{BBh}}{d{AbACj}}}Ln}{{{d{BBj}}{d{AbACj}}}Ln}{{{d{BBl}}{d{AbACj}}}Ln}{{{d{BBn}}{d{AbACj}}}Ln}{{{d{BC`}}{d{AbACj}}}Ln}{{{d{BCb}}{d{AbACj}}}Ln}{{{d{BCd}}{d{AbACj}}}Ln}{{{d{BCf}}{d{AbACj}}}Ln}{{{d{BCh}}{d{AbACj}}}Ln}{{{d{BCj}}{d{AbACj}}}Ln}{{{d{BCl}}{d{AbACj}}}Ln}{{{d{BCn}}{d{AbACj}}}Ln}{{{d{BD`}}{d{AbACj}}}Ln}{{{d{BDb}}{d{AbACj}}}Ln}{{{d{BDd}}{d{AbACj}}}Ln}{{{d{BDf}}{d{AbACj}}}Ln}{{{d{BDh}}{d{AbACj}}}Ln}{{{d{BDj}}{d{AbACj}}}Ln}{{{d{BDl}}{d{AbACj}}}Ln}{{{d{BDn}}{d{AbACj}}}Ln}{{{d{BE`}}{d{AbACj}}}Ln}{{{d{BEb}}{d{AbACj}}}Ln}{c{{Ml{e}}}{}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Ml{c}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dADl}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`{{{d{Abc}}{d{Lf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Lf}}}Ln}0{{{d{Abc}}{d{If}}}Ln{BEjMf}}{{{d{AbBEj}}{d{If}}}Ln}0{{{d{Abc}}{d{Ij}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ij}}}Ln}0{{{d{Abc}}{d{Ih}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ih}}}Ln}0{{{d{Abc}}{d{Al}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Al}}}Ln}0{{{d{Abc}}{d{Aj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Aj}}}Ln}0{{{d{Abc}}{d{Lh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Lh}}}Ln}0{{{d{Abc}}{d{Lj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Lj}}}Ln}0{{{d{Abc}}{d{Hj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hj}}}Ln}0{{{d{Abc}}{d{Fh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fh}}}Ln}0{{{d{Abc}}{d{Ff}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ff}}}Ln}0{{{d{Abc}}{d{Il}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Il}}}Ln}0{{{d{Abc}}{d{C`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{C`}}}Ln}0{{{d{Abc}}{d{Cd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cd}}}Ln}0{{{d{Abc}}{d{Cb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cb}}}Ln}0{{{d{Abc}}{d{Cf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cf}}}Ln}0{{{d{Abc}}{d{Bn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bn}}}Ln}0{{{d{Abc}}{d{Ch}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ch}}}Ln}0{{{d{Abc}}{d{Cj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cj}}}Ln}0{{{d{Abc}}{d{Cl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cl}}}Ln}0{{{d{Abc}}{d{Cn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Cn}}}Ln}0{{{d{Abc}}{d{D`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{D`}}}Ln}0{{{d{Abc}}{d{Db}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Db}}}Ln}0{{{d{Abc}}{d{Dd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Dd}}}Ln}0{{{d{Abc}}{d{Df}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Df}}}Ln}0{{{d{Abc}}{d{Dh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Dh}}}Ln}0{{{d{Abc}}{d{Dj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Dj}}}Ln}0{{{d{Abc}}{d{Dl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Dl}}}Ln}0{{{d{Abc}}{d{Dn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Dn}}}Ln}0{{{d{Abc}}{d{E`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{E`}}}Ln}0{{{d{Abc}}{d{Eb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Eb}}}Ln}0{{{d{Abc}}{d{Ed}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ed}}}Ln}0{{{d{Abc}}{d{Ef}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ef}}}Ln}0{{{d{Abc}}{d{Bl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bl}}}Ln}0{{{d{Abc}}{d{Jf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jf}}}Ln}0{{{d{Abc}}{d{El}}}Ln{BEjMf}}{{{d{AbBEj}}{d{El}}}Ln}0{{{d{Abc}}{d{Bf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bf}}}Ln}0{{{d{Abc}}{d{Bh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bh}}}Ln}0{{{d{Abc}}{d{Bj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bj}}}Ln}0{{{d{Abc}}{d{Id}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Id}}}Ln}0{{{d{Abc}}{d{F`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{F`}}}Ln}0{{{d{Abc}}{d{En}}}Ln{BEjMf}}{{{d{AbBEj}}{d{En}}}Ln}0{{{d{Abc}}{d{Ad}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ad}}}Ln}0{{{d{Abc}}{d{Ej}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ej}}}Ln}0{{{d{Abc}}{d{Ah}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ah}}}Ln}0{{{d{Abc}}{d{Fb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fb}}}Ln}0{{{d{Abc}}{d{Gh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gh}}}Ln}0{{{d{Abc}}{d{Hd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hd}}}Ln}0{{{d{Abc}}{d{H`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{H`}}}Ln}0{{{d{Abc}}{d{Gl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gl}}}Ln}0{{{d{Abc}}{d{Hb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hb}}}Ln}0{{{d{Abc}}{d{Gn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gn}}}Ln}0{{{d{Abc}}{d{l}}}Ln{BEjMf}}{{{d{AbBEj}}{d{l}}}Ln}0{{{d{Abc}}{d{h}}}Ln{BEjMf}}{{{d{AbBEj}}{d{h}}}Ln}0{{{d{Abc}}{d{Gj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gj}}}Ln}0{{{d{Abc}}{d{Hf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hf}}}Ln}0{{{d{Abc}}{d{Hh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hh}}}Ln}0{{{d{Abc}}{d{Eh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Eh}}}Ln}0{{{d{Abc}}{d{An}}}Ln{BEjMf}}{{{d{AbBEj}}{d{An}}}Ln}0{{{d{Abc}}{d{B`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{B`}}}Ln}0{{{d{Abc}}{d{Bb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bb}}}Ln}0{{{d{Abc}}{d{In}}}Ln{BEjMf}}{{{d{AbBEj}}{d{In}}}Ln}0{{{d{Abc}}{d{Hn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hn}}}Ln}0{{{d{Abc}}{d{Ib}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ib}}}Ln}0{{{d{Abc}}{d{I`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{I`}}}Ln}0{{{d{Abc}}{d{Gd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gd}}}Ln}0{{{d{Abc}}{d{Gf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gf}}}Ln}0{{{d{Abc}}{d{J`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{J`}}}Ln}0{{{d{Abc}}{d{Ll}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ll}}}Ln}0{{{d{Abc}}{d{ABj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{ABj}}}Ln}0{{{d{Abc}}{d{Fl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fl}}}Ln}0{{{d{Abc}}{d{Fn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fn}}}Ln}0{{{d{Abc}}{d{Jh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jh}}}Ln}0{{{d{Abc}}{d{Jj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jj}}}Ln}0{{{d{Abc}}{d{Jl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jl}}}Ln}0{{{d{Abc}}{d{Jn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jn}}}Ln}0{{{d{Abc}}{d{K`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{K`}}}Ln}0{{{d{Abc}}{d{Kb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kb}}}Ln}0{{{d{Abc}}{d{Kd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kd}}}Ln}0{{{d{Abc}}{d{Kf}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kf}}}Ln}0{{{d{Abc}}{d{Fd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fd}}}Ln}0{{{d{Abc}}{d{Fj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Fj}}}Ln}0{{{d{Abc}}{d{Kh}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kh}}}Ln}0{{{d{Abc}}{d{Kj}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kj}}}Ln}0{{{d{Abc}}{d{Kl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kl}}}Ln}0{{{d{Abc}}{d{Kn}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Kn}}}Ln}0{{{d{Abc}}{d{L`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{L`}}}Ln}0{{{d{Abc}}{d{Lb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Lb}}}Ln}0{{{d{Abc}}{d{Ld}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Ld}}}Ln}0{{{d{Abc}}{d{Hl}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Hl}}}Ln}0{{{d{Abc}}{d{Bd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Bd}}}Ln}0{{{d{Abc}}{d{Jd}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jd}}}Ln}0{{{d{Abc}}{d{Jb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Jb}}}Ln}0{{{d{Abc}}{d{G`}}}Ln{BEjMf}}{{{d{AbBEj}}{d{G`}}}Ln}0{{{d{Abc}}{d{Gb}}}Ln{BEjMf}}{{{d{AbBEj}}{d{Gb}}}Ln}0","D":"H@f","p":[[5,"TypeGenerics",0,5302],[1,"reference"],[5,"Turbofish",0,5302],[5,"LitInt",0,5303],[1,"str"],[5,"LitFloat",0,5303],[8,"Result",2599,5304],[10,"FromStr",5305],[0,"mut"],[5,"Ident",0,5306],[5,"ImplGenerics",0,5302],[5,"Lifetime",0,5307],[5,"Attribute",0,5308],[6,"AttrStyle",0,5308],[6,"Meta",0,5308],[5,"MetaList",0,5308],[5,"MetaNameValue",0,5308],[5,"Variant",0,5309],[6,"Fields",0,5309],[5,"FieldsNamed",0,5309],[5,"FieldsUnnamed",0,5309],[5,"Field",0,5309],[5,"DeriveInput",0,5310],[6,"Data",0,5310],[5,"DataStruct",0,5310],[5,"DataEnum",0,5310],[5,"DataUnion",0,5310],[6,"Expr",0,5311],[5,"ExprBinary",0,5311],[5,"ExprCall",0,5311],[5,"ExprCast",0,5311],[5,"ExprField",0,5311],[5,"ExprGroup",0,5311],[5,"ExprIndex",0,5311],[5,"ExprLit",0,5311],[5,"ExprMacro",0,5311],[5,"ExprMethodCall",0,5311],[5,"ExprParen",0,5311],[5,"ExprPath",0,5311],[5,"ExprReference",0,5311],[5,"ExprStruct",0,5311],[5,"ExprTuple",0,5311],[5,"ExprUnary",0,5311],[6,"Member",0,5311],[5,"Index",0,5311],[5,"FieldValue",0,5311],[5,"Generics",0,5302],[6,"GenericParam",0,5302],[5,"LifetimeParam",0,5302],[5,"TypeParam",0,5302],[5,"ConstParam",0,5302],[5,"BoundLifetimes",0,5302],[6,"TypeParamBound",0,5302],[5,"TraitBound",0,5302],[6,"TraitBoundModifier",0,5302],[5,"WhereClause",0,5302],[6,"WherePredicate",0,5302],[5,"PredicateLifetime",0,5302],[5,"PredicateType",0,5302],[6,"Lit",0,5303],[5,"LitStr",0,5303],[5,"LitByteStr",0,5303],[5,"LitCStr",0,5303],[5,"LitByte",0,5303],[5,"LitChar",0,5303],[5,"LitBool",0,5303],[5,"Macro",0,5312],[6,"MacroDelimiter",0,5312],[6,"BinOp",0,5313],[6,"UnOp",0,5313],[5,"Path",0,5314],[5,"PathSegment",0,5314],[6,"PathArguments",0,5314],[6,"GenericArgument",0,5314],[5,"AngleBracketedGenericArguments",0,5314],[5,"AssocType",0,5314],[5,"AssocConst",0,5314],[5,"Constraint",0,5314],[5,"ParenthesizedGenericArguments",0,5314],[5,"QSelf",0,5314],[6,"Visibility",0,5315],[5,"VisRestricted",0,5315],[6,"FieldMutability",0,5315],[6,"Type",0,5316],[5,"TypeArray",0,5316],[5,"TypeBareFn",0,5316],[5,"TypeGroup",0,5316],[5,"TypeImplTrait",0,5316],[5,"TypeInfer",0,5316],[5,"TypeMacro",0,5316],[5,"TypeNever",0,5316],[5,"TypeParen",0,5316],[5,"TypePath",0,5316],[5,"TypePtr",0,5316],[5,"TypeReference",0,5316],[5,"TypeSlice",0,5316],[5,"TypeTraitObject",0,5316],[5,"TypeTuple",0,5316],[5,"Abi",0,5316],[5,"BareFnArg",0,5316],[5,"BareVariadic",0,5316],[6,"ReturnType",0,5316],[1,"unit"],[6,"Ordering",5317],[1,"bool"],[10,"AsRef",5318],[10,"Sized",5319],[5,"Formatter",5320],[5,"Error",5320],[6,"Result",5321],[8,"Result",5320],[5,"Crate",2899],[5,"Super",2899],[5,"SelfType",2899],[5,"SelfValue",2899],[5,"Extern",2899],[5,"Underscore",2899],[5,"ExprMatch",0,5311],[5,"ExprRange",0,5311],[5,"ExprLoop",0,5311],[5,"ExprLet",0,5311],[5,"ExprInfer",0,5311],[5,"ExprIf",0,5311],[5,"ExprForLoop",0,5311],[5,"ExprRawAddr",0,5311],[5,"ExprYield",0,5311],[5,"ExprWhile",0,5311],[5,"ExprRepeat",0,5311],[5,"ExprUnsafe",0,5311],[5,"ExprContinue",0,5311],[5,"ExprConst",0,5311],[5,"ExprClosure",0,5311],[5,"ExprTryBlock",0,5311],[5,"ExprArray",0,5311],[5,"ExprAssign",0,5311],[5,"ExprTry",0,5311],[5,"ExprReturn",0,5311],[5,"ExprAsync",0,5311],[5,"ExprAwait",0,5311],[5,"ExprBlock",0,5311],[5,"ExprBreak",0,5311],[1,"usize"],[5,"Literal",5306],[10,"Into",5318],[6,"Option",5322],[10,"Hasher",5323],[5,"Iter",2724],[5,"IterMut",2724],[5,"Span",5306],[1,"u8"],[1,"slice"],[5,"CStr",5324],[1,"char"],[5,"TokenStream",5325],[10,"Parse",2599],[8,"ParseStream",2599],[5,"TokenStream",5306],[10,"Parser",2599],[5,"Vec",5326],[5,"ParseNestedMeta",2585],[17,"Output"],[10,"FnMut",5327],[5,"DelimSpan",5328],[1,"tuple"],[5,"String",5329],[5,"TypeId",5330],[5,"CString",5331],[5,"Cursor",2545],[6,"Delimiter",5306],[5,"TokenBuffer",2545],[5,"Punct",5306],[6,"TokenTree",5306],[10,"IdentExt",2581],[5,"Error",2599,5304],[10,"Display",5320],[5,"ParseBuffer",2599],[1,"fn"],[5,"End",2599,5332],[5,"StepCursor",2599],[5,"Nothing",2599],[5,"Lookahead1",2599,5332],[17,"Item"],[10,"IntoIterator",5333],[5,"LexError",5306],[10,"ToTokens",5334],[5,"Punctuated",2724],[10,"Peek",2599,5332],[10,"FnOnce",5327],[10,"Speculative",2720],[10,"AnyDelimiter",2720],[10,"Clone",5335],[5,"Pairs",2724],[5,"IntoPairs",2724],[5,"IntoIter",2724],[6,"Pair",2724],[10,"PartialEq",5317],[10,"Default",5336],[10,"Debug",5320],[10,"Hash",5323],[5,"PairsMut",2724],[10,"Token",2899],[10,"Spanned",2897],[5,"Group",2899],[5,"Abstract",2899],[5,"As",2899],[5,"Async",2899],[5,"Auto",2899],[5,"Await",2899],[5,"Become",2899],[5,"Box",2899],[5,"Break",2899],[5,"Const",2899],[5,"Continue",2899],[5,"Default",2899],[5,"Do",2899],[5,"Dyn",2899],[5,"Else",2899],[5,"Enum",2899],[5,"Final",2899],[5,"Fn",2899],[5,"For",2899],[5,"If",2899],[5,"Impl",2899],[5,"In",2899],[5,"Let",2899],[5,"Loop",2899],[5,"Macro",2899],[5,"Match",2899],[5,"Mod",2899],[5,"Move",2899],[5,"Mut",2899],[5,"Override",2899],[5,"Priv",2899],[5,"Pub",2899],[5,"Raw",2899],[5,"Ref",2899],[5,"Return",2899],[5,"Static",2899],[5,"Struct",2899],[5,"Trait",2899],[5,"Try",2899],[5,"Type",2899],[5,"Typeof",2899],[5,"Union",2899],[5,"Unsafe",2899],[5,"Unsized",2899],[5,"Use",2899],[5,"Virtual",2899],[5,"Where",2899],[5,"While",2899],[5,"Yield",2899],[5,"And",2899],[5,"AndAnd",2899],[5,"AndEq",2899],[5,"At",2899],[5,"Caret",2899],[5,"CaretEq",2899],[5,"Colon",2899],[5,"Comma",2899],[5,"Dollar",2899],[5,"Dot",2899],[5,"DotDot",2899],[5,"DotDotDot",2899],[5,"DotDotEq",2899],[5,"Eq",2899],[5,"EqEq",2899],[5,"FatArrow",2899],[5,"Ge",2899],[5,"Gt",2899],[5,"LArrow",2899],[5,"Le",2899],[5,"Lt",2899],[5,"Minus",2899],[5,"MinusEq",2899],[5,"Ne",2899],[5,"Not",2899],[5,"Or",2899],[5,"OrEq",2899],[5,"OrOr",2899],[5,"PathSep",2899],[5,"Percent",2899],[5,"PercentEq",2899],[5,"Plus",2899],[5,"PlusEq",2899],[5,"Pound",2899],[5,"Question",2899],[5,"RArrow",2899],[5,"Semi",2899],[5,"Shl",2899],[5,"ShlEq",2899],[5,"Shr",2899],[5,"ShrEq",2899],[5,"Slash",2899],[5,"SlashEq",2899],[5,"Star",2899],[5,"StarEq",2899],[5,"Tilde",2899],[5,"Brace",2899],[5,"Bracket",2899],[5,"Paren",2899],[10,"Visit",5016,5337]],"r":[[0,5316],[5,5314],[9,5314],[11,5314],[14,5308],[15,5308],[18,5316],[19,5316],[20,5313],[30,5302],[44,5302],[45,5314],[48,5310],[49,5310],[50,5310],[51,5310],[54,5310],[60,5304],[61,5311],[62,5311],[63,5311],[64,5311],[65,5311],[66,5311],[67,5311],[68,5311],[69,5311],[70,5311],[71,5311],[72,5311],[73,5311],[74,5311],[75,5311],[76,5311],[77,5311],[78,5311],[79,5311],[80,5311],[81,5311],[82,5311],[83,5311],[84,5311],[85,5311],[86,5311],[87,5311],[88,5311],[89,5311],[90,5311],[91,5311],[92,5311],[93,5311],[94,5311],[95,5311],[96,5311],[97,5311],[98,5311],[99,5311],[100,5311],[101,5309],[103,5315],[104,5311],[105,5309],[106,5309],[107,5309],[111,5314],[112,5302],[113,5302],[117,5306],[119,5302],[121,5311],[130,5307],[135,5302],[137,5303],[139,5303],[140,5303],[141,5303],[142,5303],[143,5303],[144,5303],[145,5303],[146,5303],[149,5312],[152,5312],[155,5311],[156,5308],[157,5308],[158,5308],[180,5314],[181,5314],[185,5314],[186,5314],[188,5302],[189,5302],[192,5314],[201,5304],[203,5316],[216,5302],[217,5302],[223,5302],[224,5316],[229,5316],[230,5316],[231,5302],[232,5316],[233,5316],[234,5316],[235,5316],[236,5316],[237,5302],[238,5302],[239,5316],[240,5316],[241,5316],[242,5316],[243,5316],[244,5316],[245,5316],[246,5313],[253,5309],[258,5315],[259,5315],[260,5302],[261,5302],[2538,5338],[2599,5332],[2601,5304],[2602,5332],[2610,5332],[2611,5304],[5016,5337],[5017,5337],[5020,5337],[5023,5337],[5026,5337],[5029,5337],[5032,5337],[5035,5337],[5038,5337],[5041,5337],[5044,5337],[5047,5337],[5050,5337],[5053,5337],[5056,5337],[5059,5337],[5062,5337],[5065,5337],[5068,5337],[5071,5337],[5074,5337],[5077,5337],[5080,5337],[5083,5337],[5086,5337],[5089,5337],[5092,5337],[5095,5337],[5098,5337],[5101,5337],[5104,5337],[5107,5337],[5110,5337],[5113,5337],[5116,5337],[5119,5337],[5122,5337],[5125,5337],[5128,5337],[5131,5337],[5134,5337],[5137,5337],[5140,5337],[5143,5337],[5146,5337],[5149,5337],[5152,5337],[5155,5337],[5158,5337],[5161,5337],[5164,5337],[5167,5337],[5170,5337],[5173,5337],[5176,5337],[5179,5337],[5182,5337],[5185,5337],[5188,5337],[5191,5337],[5194,5337],[5197,5337],[5200,5337],[5203,5337],[5206,5337],[5209,5337],[5212,5337],[5215,5337],[5218,5337],[5221,5337],[5224,5337],[5227,5337],[5230,5337],[5233,5337],[5236,5337],[5239,5337],[5242,5337],[5245,5337],[5248,5337],[5251,5337],[5254,5337],[5257,5337],[5260,5337],[5263,5337],[5266,5337],[5269,5337],[5272,5337],[5275,5337],[5278,5337],[5281,5337],[5284,5337],[5287,5337],[5290,5337],[5293,5337],[5296,5337],[5299,5337]],"b":[[898,"impl-PartialEq%3CT%3E-for-Ident"],[899,"impl-PartialEq-for-Ident"],[1014,"impl-Display-for-Ident"],[1015,"impl-IdentFragment-for-Ident"],[1016,"impl-Debug-for-Ident"],[1020,"impl-Display-for-Lifetime"],[1021,"impl-Debug-for-Lifetime"],[1053,"impl-IdentFragment-for-Member"],[1054,"impl-Debug-for-Member"],[1055,"impl-Debug-for-Index"],[1056,"impl-IdentFragment-for-Index"],[1077,"impl-Debug-for-LitInt"],[1078,"impl-Display-for-LitInt"],[1079,"impl-Display-for-LitFloat"],[1080,"impl-Debug-for-LitFloat"],[1121,"impl-From%3CCrate%3E-for-Ident"],[1122,"impl-From%3CSuper%3E-for-Ident"],[1123,"impl-From%3CSelfType%3E-for-Ident"],[1124,"impl-From%3CSelfValue%3E-for-Ident"],[1125,"impl-From%3CExtern%3E-for-Ident"],[1126,"impl-From%3CUnderscore%3E-for-Ident"],[1133,"impl-From%3CMetaNameValue%3E-for-Meta"],[1134,"impl-From%3CMetaList%3E-for-Meta"],[1135,"impl-From%3CPath%3E-for-Meta"],[1141,"impl-From%3CFieldsUnnamed%3E-for-Fields"],[1142,"impl-From%3CFieldsNamed%3E-for-Fields"],[1151,"impl-From%3CExprField%3E-for-Expr"],[1152,"impl-From%3CExprStruct%3E-for-Expr"],[1153,"impl-From%3CExprPath%3E-for-Expr"],[1154,"impl-From%3CExprMethodCall%3E-for-Expr"],[1155,"impl-From%3CExprMatch%3E-for-Expr"],[1156,"impl-From%3CExprMacro%3E-for-Expr"],[1157,"impl-From%3CExprRange%3E-for-Expr"],[1158,"impl-From%3CExprLoop%3E-for-Expr"],[1159,"impl-From%3CExprLit%3E-for-Expr"],[1160,"impl-From%3CExprLet%3E-for-Expr"],[1161,"impl-From%3CExprInfer%3E-for-Expr"],[1162,"impl-From%3CExprIndex%3E-for-Expr"],[1163,"impl-From%3CExprIf%3E-for-Expr"],[1164,"impl-From%3CExprGroup%3E-for-Expr"],[1165,"impl-From%3CExprForLoop%3E-for-Expr"],[1166,"impl-From%3CExprRawAddr%3E-for-Expr"],[1167,"impl-From%3CExprReference%3E-for-Expr"],[1168,"impl-From%3CExprYield%3E-for-Expr"],[1169,"impl-From%3CExprWhile%3E-for-Expr"],[1170,"impl-From%3CExprRepeat%3E-for-Expr"],[1171,"impl-From%3CExprUnsafe%3E-for-Expr"],[1172,"impl-From%3CExprUnary%3E-for-Expr"],[1173,"impl-From%3CExprContinue%3E-for-Expr"],[1174,"impl-From%3CExprTuple%3E-for-Expr"],[1175,"impl-From%3CExprConst%3E-for-Expr"],[1176,"impl-From%3CExprClosure%3E-for-Expr"],[1177,"impl-From%3CExprTryBlock%3E-for-Expr"],[1178,"impl-From%3CExprArray%3E-for-Expr"],[1179,"impl-From%3CExprAssign%3E-for-Expr"],[1180,"impl-From%3CExprTry%3E-for-Expr"],[1181,"impl-From%3CExprReturn%3E-for-Expr"],[1182,"impl-From%3CExprAsync%3E-for-Expr"],[1183,"impl-From%3CExprAwait%3E-for-Expr"],[1184,"impl-From%3CExprBinary%3E-for-Expr"],[1185,"impl-From%3CExprBlock%3E-for-Expr"],[1187,"impl-From%3CExprCast%3E-for-Expr"],[1188,"impl-From%3CExprParen%3E-for-Expr"],[1189,"impl-From%3CExprCall%3E-for-Expr"],[1190,"impl-From%3CExprBreak%3E-for-Expr"],[1230,"impl-From%3CIdent%3E-for-Member"],[1231,"impl-From%3Cusize%3E-for-Member"],[1233,"impl-From%3CIndex%3E-for-Member"],[1238,"impl-From%3CTypeParam%3E-for-GenericParam"],[1240,"impl-From%3CLifetimeParam%3E-for-GenericParam"],[1241,"impl-From%3CConstParam%3E-for-GenericParam"],[1247,"impl-From%3CLifetime%3E-for-TypeParamBound"],[1248,"impl-From%3CTraitBound%3E-for-TypeParamBound"],[1253,"impl-From%3CPredicateLifetime%3E-for-WherePredicate"],[1254,"impl-From%3CPredicateType%3E-for-WherePredicate"],[1258,"impl-From%3CLitChar%3E-for-Lit"],[1259,"impl-From%3CLitFloat%3E-for-Lit"],[1260,"impl-From%3CLitInt%3E-for-Lit"],[1262,"impl-From%3CLitByte%3E-for-Lit"],[1263,"impl-From%3CLitCStr%3E-for-Lit"],[1264,"impl-From%3CLitBool%3E-for-Lit"],[1265,"impl-From%3CLitStr%3E-for-Lit"],[1266,"impl-From%3CLitByteStr%3E-for-Lit"],[1296,"impl-From%3CTypePtr%3E-for-Type"],[1297,"impl-From%3CTypeTuple%3E-for-Type"],[1298,"impl-From%3CTypeArray%3E-for-Type"],[1300,"impl-From%3CTypePath%3E-for-Type"],[1301,"impl-From%3CTypeReference%3E-for-Type"],[1302,"impl-From%3CTypeParen%3E-for-Type"],[1303,"impl-From%3CTypeSlice%3E-for-Type"],[1304,"impl-From%3CTypeBareFn%3E-for-Type"],[1305,"impl-From%3CTypeNever%3E-for-Type"],[1306,"impl-From%3CTypeMacro%3E-for-Type"],[1307,"impl-From%3CTypeGroup%3E-for-Type"],[1308,"impl-From%3CTypeInfer%3E-for-Type"],[1309,"impl-From%3CTypeTraitObject%3E-for-Type"],[1310,"impl-From%3CTypeImplTrait%3E-for-Type"],[1575,"impl-IntoIterator-for-%26Fields"],[1576,"impl-IntoIterator-for-Fields"],[1577,"impl-IntoIterator-for-%26mut+Fields"],[1681,"impl-LitStr"],[1682,"impl-Parse-for-LitStr"],[1779,"impl-IdentFragment-for-Ident"],[1780,"impl-Ident"],[2650,"impl-Debug-for-Error"],[2651,"impl-Display-for-Error"],[2652,"impl-Display-for-ParseBuffer%3C\'a%3E"],[2653,"impl-Debug-for-ParseBuffer%3C\'a%3E"],[2671,"impl-IntoIterator-for-Error"],[2672,"impl-IntoIterator-for-%26Error"],[2774,"impl-Extend%3CPair%3CT,+P%3E%3E-for-Punctuated%3CT,+P%3E"],[2775,"impl-Extend%3CT%3E-for-Punctuated%3CT,+P%3E"],[2787,"impl-FromIterator%3CT%3E-for-Punctuated%3CT,+P%3E"],[2788,"impl-FromIterator%3CPair%3CT,+P%3E%3E-for-Punctuated%3CT,+P%3E"],[2803,"impl-IntoIterator-for-%26mut+Punctuated%3CT,+P%3E"],[2804,"impl-IntoIterator-for-%26Punctuated%3CT,+P%3E"],[2805,"impl-IntoIterator-for-Punctuated%3CT,+P%3E"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALMQeAAgAAEAOgAAAH8AAACFAAAAmwAAAKkAAgCvAAAAsgAAALcAAAC8AAAA0wAAANgAAAD5AAAAAAEAAAkBCQAUARwAMgHyACYCAgAqAgUAMQIDADcCJgFfAwYAaAMBAGwDBwB1A3sA8gMAAPQDbABiBAUAbgQCAHYEAQCABCIApAQDAM8EAQDSBAEA1wQAANkEAQDdBAAA4AQBAOYEAQDrBAIA7wQEAPkEAAD8BAAAAgUAAAUFAAARBQIAFQUKADIFBAA4BWcAogUKAK4FAAAoBgIALAYAAC4GAAAxBgEANAYDADkGAAA8BgAAPgYGAEYGAQBKBgoAVwYAAFkGBwBiBgEAZQYMAHUGHACTBiIAtwYAAMoGAQDOBgMA0wYCANcGAwDcBgMA5AYEAOoGCgD2BoAAeQfgAFsIewHZCREA7AkBAO8JAgD2CQYA/wkAAAoKAAANCgAAEAoFABsKAQAfCgAAIwoDAC4KAAA2CgwARAoLAFIKAABUCgIAWgoFAGEKAABoCgAAcAoBAHYKAAB5CgAAewoAAH8KAACFCgAAiAoYAKUKAACuChAAwAoUANYKAgDbCgAA5AoBAOgKAgD0CggABgsFAA4LCwAnCw8AOAsXAL0LawORD2cAYRA3A5oTHAE="}],["synstructure",{"t":"GGFPPPKPPPPPFFFNNNNNNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNONNNNNNMNNNNNNONNNNNNNOQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNN","n":["AddBounds","BindStyle","BindingInfo","Both","Fields","Generics","MacroResult","Move","MoveMut","None","Ref","RefMut","Structure","VariantAst","VariantInfo","add_bounds","add_impl_generic","add_trait_bounds","add_where_predicate","ast","","","attrs","bind_with","","binding","binding_name","","bindings","bindings_mut","borrow","","","","","","borrow_mut","","","","","","bound_impl","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","construct","decl_attribute","decl_derive","discriminant","drain_filter","","drain_filter_variants","each","","each_variant","eq","","","","","","fields","filter","","filter_variants","fmt","","","","","","fold","","from","","","","","","gen_impl","hash","","","","","","ident","into","","","","","","into_result","into_stream","new","omitted_bindings","omitted_variants","pat","","prefix","referenced_ty_params","","","remove_binding","remove_variant","span","","style","test_derive","to_owned","","","","","","to_tokens","","try_from","","","","","","try_into","","","","","","try_new","type_id","","","","","","unbound_impl","underscore_const","unpretty_print","unsafe_bound_impl","unsafe_unbound_impl","variants","variants_mut"],"q":[[0,"synstructure"],[160,"syn::generics"],[161,"core::option"],[162,"syn::data"],[163,"syn::derive"],[164,"core::ops::function"],[165,"proc_macro2"],[166,"quote::to_tokens"],[167,"core::fmt"],[168,"core::hash"],[169,"syn::error"],[170,"proc_macro"],[171,"alloc::vec"],[172,"core::result"],[173,"core::any"],[174,"alloc::string"]],"i":"```h00`Bb0100```d000AfAj2Al132131154201354201335420135420135420131``013313354201301335420131354201335420130542013Ch042432232424533`65312453653124653124465312444`4444","f":"```````````````{{{f{bd}}h}{{f{bd}}}}{{{f{bd}}j}{{f{bd}}}}{{{f{d}}{f{l}}{f{b{A`{n}}}}h}Ab}{{{f{bd}}Ad}{{f{bd}}}}{{{f{Af}}}{{f{Ah}}}}{{{f{Aj}}}Al}{{{f{d}}}{{f{An}}}}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Af}}}{{B`{Bb}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Af}}}{{B`{Bb}}}}}}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Ah}}Bf}{{B`{Bh}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Ah}}Bf}{{B`{Bh}}}}}}{{{f{Aj}}}{{f{{Bj{Af}}}}}}{{{f{bAj}}}{{f{b{Bj{Af}}}}}}{f{{f{c}}}{}}00000{{{f{b}}}{{f{bc}}}{}}00000{{{f{d}}ce}BlBnBn}{{{f{h}}}h}{{{f{Bb}}}Bb}{{{f{Af}}}Af}{{{f{Al}}}Al}{{{f{Aj}}}Aj}{{{f{d}}}d}{{f{f{bc}}}Ab{}}00000{fAb}00000{{{f{Aj}}e}BlBn{{Bd{{f{Ah}}Bf}{{B`{c}}}}}}```{{{f{bAj}}c}Aj{{Bd{{f{Af}}}{{B`{C`}}}}}}{{{f{bd}}c}d{{Bd{{f{Af}}}{{B`{C`}}}}}}{{{f{bd}}c}d{{Bd{{f{Aj}}}{{B`{C`}}}}}}{{{f{Aj}}e}BlBn{{Bd{{f{Af}}}{{B`{c}}}}}}{{{f{d}}e}BlBn{{Bd{{f{Af}}}{{B`{c}}}}}}{{{f{d}}e}BlBn{{Bd{{f{Aj}}}{{B`{c}}}}}}{{{f{h}}{f{h}}}C`}{{{f{Bb}}{f{Bb}}}C`}{{{f{Af}}{f{Af}}}C`}{{{f{Al}}{f{Al}}}C`}{{{f{Aj}}{f{Aj}}}C`}{{{f{d}}{f{d}}}C`}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Af}}}{{B`{C`}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Af}}}{{B`{C`}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Aj}}}{{B`{C`}}}}}}{{{f{h}}{f{bCb}}}Cd}{{{f{Bb}}{f{bCb}}}Cd}{{{f{Af}}{f{bCb}}}Cd}{{{f{Al}}{f{bCb}}}Cd}{{{f{Aj}}{f{bCb}}}Cd}{{{f{d}}{f{bCb}}}Cd}{{{f{Aj}}cg}BlBnBn{{Bd{Bl{f{Af}}}{{B`{e}}}}}}{{{f{d}}cg}BlBnBn{{Bd{Bl{f{Af}}}{{B`{e}}}}}}{cc{}}00000{{{f{d}}Bl}Bl}{{{f{h}}{f{bc}}}AbCf}{{{f{Bb}}{f{bc}}}AbCf}{{{f{Af}}{f{bc}}}AbCf}{{{f{Al}}{f{bc}}}AbCf}{{{f{Aj}}{f{bc}}}AbCf}{{{f{d}}{f{bc}}}AbCf}`{{}c{}}00000{Ch{{Cj{Bl}}}}{ChCl}{{{f{An}}}d}{{{f{Aj}}}C`}{{{f{d}}}C`}{{{f{Af}}}Bl}{{{f{Aj}}}Bl}`{{{f{Af}}}{{Cn{{f{Bh}}}}}}{{{f{Aj}}}{{Cn{{f{Bh}}}}}}{{{f{d}}}{{Cn{{f{Bh}}}}}}{{{f{bAj}}Bf}{{f{bAj}}}}{{{f{bd}}Bf}{{f{bd}}}}{fD`}0``{fc{}}00000{{{f{Bb}}{f{bBl}}}Ab}{{{f{Af}}{f{bBl}}}Ab}{c{{Db{e}}}{}{}}00000{{}{{Db{c}}}{}}00000{{{f{An}}}{{Cj{d}}}}{fDd}00000{{{f{d}}ce}BlBnBn}{{{f{bd}}C`}{{f{bd}}}}{cDfDh}22{{{f{d}}}{{f{{Bj{Aj}}}}}}{{{f{bd}}}{{f{b{Bj{Aj}}}}}}","D":"J`","p":[[0,"mut"],[5,"Structure",0],[1,"reference"],[6,"AddBounds",0],[6,"GenericParam",160],[5,"TraitBound",160],[5,"WhereClause",160],[6,"Option",161],[1,"unit"],[6,"WherePredicate",160],[5,"BindingInfo",0],[5,"Field",162],[5,"VariantInfo",0],[5,"VariantAst",0],[5,"DeriveInput",163],[17,"Output"],[6,"BindStyle",0],[10,"FnMut",164],[1,"usize"],[5,"Ident",165],[1,"slice"],[5,"TokenStream",165],[10,"ToTokens",166],[1,"bool"],[5,"Formatter",167],[8,"Result",167],[10,"Hasher",168],[10,"MacroResult",0],[8,"Result",169],[5,"TokenStream",170],[5,"Vec",171],[5,"Span",165],[6,"Result",172],[5,"TypeId",173],[5,"String",174],[10,"Display",167]],"r":[],"b":[],"c":"OjAAAAEAAAAAAAAAEAAAAJ4A","e":"OzAAAAEAAFAACwAXAAAAHwALACwAEQBBAAAASAAGAFIABQBhAAYAdQAAAHsAAQB/ABMAlAAFAA=="}],["unicode_ident",{"t":"HH","n":["is_xid_continue","is_xid_start"],"q":[[0,"unicode_ident"]],"i":"``","f":"{bd}0","D":"b","p":[[1,"char"],[1,"bool"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAEAAAAAAAEAEAAAAAEAAgA="}]]')); +var searchIndex = new Map(JSON.parse('[["delog",{"t":"PPKPPKPPGGPFKKFPPKKPPNNNMONNNNNNNNMNNNMNNNNNNNNNNQHHNNNNNNMMMONNNNNNNNNNNNQNNCQQNNNNNNNNEHNNNNNNNNNMOCMMNNMONNNHNNNNNNNNMNNNNMOFHTTKFKNNNNNNNNNNNNNNNNNNOFFNNNNNNNNHNNNNNNHHNNNNNN","n":["Debug","","Delogger","Error","","Flusher","Info","","Level","LevelFilter","Off","Record","Renderer","State","Statistics","Trace","","TryLog","TryLogWithStatistics","Warn","","args","as_str","","attempts","","borrow","","","","borrow_mut","","","","buffer","builder","capacity","","claimed","clone","","","","clone_to_uninit","","","","cmp","","delog","dequeue","enqueue","eq","","","","file","file_static","flush","","flushes","","fmt","","","","","","from","","","","from_str","","generate_macros","hash","","hex","hex_str","hexstr","into","","","","iter","","level","line","log","logger","max","","metadata","module_path","module_path_static","partial_cmp","","","","read","","render","","","statistics","","successes","","target","to_level","to_level_filter","try_enqueue","try_from","","","","try_into","","","","try_log","type_id","","","","written","","HexStr","","N","SEPARATOR","Separator","U1","Unsigned","borrow","","borrow_mut","","fmt","","","","from","","into","","try_from","","try_into","","type_id","","value","DefaultRenderer","RipgrepRenderer","borrow","","borrow_mut","","clone","","clone_to_uninit","","default","from","","into","","render","","render_arguments","render_record","try_from","","try_into","","type_id",""],"q":[[0,"delog"],[127,"delog::hex"],[153,"delog::render"],[178,"log"],[179,"core::fmt"],[180,"delog::logger"],[181,"core::sync::atomic"],[182,"core::cmp"],[183,"core::option"],[184,"core::result"],[185,"core::hash"],[186,"core::iter::traits::iterator"],[187,"core::any"],[188,"core::marker"],[189,"core::convert"]],"i":"hl`10`10``0````10``10b21nAn04320432Ab30001543154354```5544330Bh32266554265465`65```26546544``65444665532`1CnCj054678`48764876D`598765``DhDj```EbDd10000010101010100``DnE`101010`101010``101010","f":"`````````````````````{{{d{b}}}{{d{f}}}}{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{{{d{n}}}c{}}`{d{{d{c}}}{}}000{{{d{A`}}}{{d{A`c}}}{}}000{{{d{Ab}}}{{d{A`{Af{Ad}}}}}}{{}Ah}{{{d{Ab}}}Aj}0{{{d{Ab}}}{{d{Al}}}}{{{d{An}}}An}{{{d{h}}}h}{{{d{l}}}l}{{{d{b}}}b}{{dAd}B`}000{{{d{h}}{d{h}}}Bb}{{{d{l}}{d{l}}}Bb}`{{c{d{A`{Af{Ad}}}}}{{d{j}}}Ab}{{c{d{b}}}B`Ab}{{{d{h}}{d{l}}}Bd}{{{d{h}}{d{h}}}Bd}{{{d{l}}{d{l}}}Bd}{{{d{l}}{d{h}}}Bd}{{{d{b}}}{{Bf{{d{j}}}}}}0{{{d{Ab}}{d{j}}}B`}{{{d{Bh}}{d{j}}}B`}{{{d{n}}}c{}}`{{{d{An}}{d{A`Bj}}}Bl}{{{d{h}}{d{A`Bj}}}{{C`{B`Bn}}}}0{{{d{l}}{d{A`Bj}}}{{C`{B`Bn}}}}0{{{d{b}}{d{A`Bj}}}{{C`{B`Bn}}}}{cc{}}000{{{d{j}}}{{C`{h}}}}{{{d{j}}}{{C`{l}}}}`{{{d{h}}{d{A`c}}}B`Cb}{{{d{l}}{d{A`c}}}B`Cb}```{{}c{}}000{{}{{`{{Cf{}{{Cd{h}}}}}}}}{{}{{`{{Cf{}{{Cd{l}}}}}}}}{{{d{b}}}h}{{{d{b}}}{{Bf{Ch}}}}`{{}{{d{A`{Bf{{d{Cj}}}}}}}}{{}h}{{}l}{{{d{b}}}{{d{Cl}}}}{{{d{b}}}{{Bf{{d{j}}}}}}0{{{d{h}}{d{l}}}{{Bf{Bb}}}}{{{d{h}}{d{h}}}{{Bf{Bb}}}}{{{d{l}}{d{h}}}{{Bf{Bb}}}}{{{d{l}}{d{l}}}{{Bf{Bb}}}}{{{d{n}}}c{}}``{{{d{Ab}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{Cn}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{Cj}}}An}03`{{{d{b}}}{{d{j}}}}{{{d{l}}}{{Bf{h}}}}{{{d{h}}}l}{{c{d{b}}}{{C`{B`B`}}}Ab}{c{{C`{e}}}{}{}}000{{}{{C`{c}}}{}}000{{{d{D`}}{d{b}}}{{C`{B`B`}}}}{dDb}000;``{{{d{c}}}{{Dd{ceg}}}DfDhDj}`````{d{{d{c}}}{}}0{{{d{A`}}}{{d{A`c}}}{}}0{{{d{{Dd{ceg}}}}{d{A`Bj}}}{{C`{B`Bn}}}{{Dl{{Af{Ad}}}}Df}DhDj}000{cc{}}0{{}c{}}0998866```4433{{{d{Dn}}}Dn}{{{d{E`}}}E`}{{dAd}B`}0{{}{{d{Dn}}}}5544{{{d{Dn}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{E`}}{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{{{d{A`{Af{Ad}}}}f}{{d{{Af{Ad}}}}}}{{{d{A`{Af{Ad}}}}{d{b}}}{{d{{Af{Ad}}}}}}{c{{C`{e}}}{}{}}0{{}{{C`{c}}}{}}0{dDb}0","D":"Lh","p":[[5,"Record",0,178],[1,"reference",null,null,1],[5,"Arguments",179],[6,"Level",0,178],[1,"str"],[6,"LevelFilter",0,178],[10,"State",0,180],[0,"mut"],[10,"Delogger",0,180],[1,"u8"],[1,"slice"],[5,"RecordBuilder",178],[1,"usize"],[5,"AtomicUsize",181],[5,"Statistics",0,180],[1,"unit"],[6,"Ordering",182],[1,"bool"],[6,"Option",183,null,1],[10,"Flusher",0],[5,"Formatter",179],[8,"Result",179],[5,"Error",179],[6,"Result",184,null,1],[10,"Hasher",185],[17,"Item"],[10,"Iterator",186],[1,"u32"],[10,"TryLogWithStatistics",0,180],[5,"Metadata",178],[10,"Renderer",0],[10,"TryLog",0,180],[5,"TypeId",187],[5,"HexStr",127],[10,"Sized",188],[10,"Unsigned",127],[10,"Separator",127],[10,"AsRef",189],[5,"DefaultRenderer",153],[5,"RipgrepRenderer",153],[5,"U1",127]],"r":[[2,180],[8,178],[9,178],[11,178],[13,180],[14,180],[17,180],[18,180],[50,180],[51,180],[111,180]],"b":[[52,"impl-PartialEq%3CLevelFilter%3E-for-Level"],[53,"impl-PartialEq-for-Level"],[54,"impl-PartialEq-for-LevelFilter"],[55,"impl-PartialEq%3CLevel%3E-for-LevelFilter"],[63,"impl-Debug-for-Level"],[64,"impl-Display-for-Level"],[65,"impl-Debug-for-LevelFilter"],[66,"impl-Display-for-LevelFilter"],[95,"impl-PartialOrd%3CLevelFilter%3E-for-Level"],[96,"impl-PartialOrd-for-Level"],[97,"impl-PartialOrd%3CLevel%3E-for-LevelFilter"],[98,"impl-PartialOrd-for-LevelFilter"],[138,"impl-Debug-for-HexStr%3C\'_,+T,+U,+S%3E"],[139,"impl-UpperHex-for-HexStr%3C\'a,+T,+U,+S%3E"],[140,"impl-LowerHex-for-HexStr%3C\'a,+T,+U,+S%3E"],[141,"impl-Display-for-HexStr%3C\'_,+T,+U,+S%3E"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAE4ADwAbAAcAKAAJADUAAwA/AAUASQABAEwAAQBZAAAAYAADAHEABwB6AAMAhwAHAJMABQCcAAcAqQABAK0ABQA=","P":[[24,"T"],[34,""],[50,""],[52,""],[60,"T"],[62,""],[68,"T"],[72,""],[75,"__H"],[80,"U"],[84,""],[99,"T"],[102,""],[106,"T"],[108,""],[111,""],[112,"U,T"],[116,"U"],[120,""],[125,"T"],[128,"T,U,S"],[134,"T"],[138,"T,U,S"],[142,"T"],[144,"U"],[146,"U,T"],[148,"U"],[150,""],[155,"T"],[159,""],[164,"T"],[166,"U"],[168,""],[172,"U,T"],[174,"U"],[176,""]]}],["flexiber",{"t":"PTTGKPKYFKYFPFGPTTPPPFPTTTPPPTPITTFFFKKIFPPTTPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNONMNNNNNNNNNNMNNMNNNNNNNNNNMNNNNNNNNNNNNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOO","n":["Application","BIT_STRING","BOOLEAN","Class","Container","Context","Decodable","","Decoder","Encodable","","Encoder","Err","Error","ErrorKind","Failed","GENERALIZED_TIME","INTEGER","InvalidClass","InvalidLength","InvalidTag","Length","","NULL","OBJECT_IDENTIFIER","OCTET_STRING","Ok","Overflow","Overlength","PRINTABLE_STRING","Private","Result","SEQUENCE","SET","SimpleTag","Slice","Tag","TagLike","Tagged","TaggedSlice","TaggedValue","TrailingData","Truncated","UTC_TIME","UTF8_STRING","Underlength","UnexpectedTag","Universal","UnsupportedTagSize","add","","","","","application","as_bytes","","","as_ref","assert_eq","","at","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","class","clone","","","","","","","","clone_to_uninit","","","","","","","","cmp","constructed","","context","decode","","","","","","decode_nested","","decode_tagged_slice","decode_tagged_value","default","embedding","","","encode","","","","","","","encode_tagged_collection","encode_to_slice","","encode_untagged_collection","encoded_length","","","","","","eq","","","","","","","","error","","fields","finish","","fmt","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","from_bytes","","into","","","","","","","","","","is_empty","","","is_failed","","is_finished","kind","length","","","max","nested","new","","","","","number","partial_cmp","position","private","tag","","to_usize","try_from","","","","","","","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","universal","with_value","","zero","actual","","byte","decoded","expected","","remaining","tag","value"],"q":[[0,"flexiber"],[254,"flexiber::ErrorKind"],[263,"flexiber::length"],[264,"flexiber::error"],[265,"flexiber::tag"],[266,"flexiber::tagged"],[267,"core::marker"],[268,"flexiber::slice"],[269,"flexiber::simpletag"],[270,"core::clone"],[271,"core::cmp"],[272,"flexiber::decoder"],[273,"flexiber::traits"],[274,"core::ops::function"],[275,"flexiber::encoder"],[276,"core::fmt"],[277,"core::convert"],[278,"core::option"],[279,"core::result"],[280,"core::any"],[281,"flexiber_derive"]],"i":"Bdl0``1``````d``Al22000`022210023`22```````002200301b0003nAfAh1Aj05BlCfAn87Bb6<;53219806<;5;19806<;519806<;58;;;Bn8491<8644951=754Cl656544<<;;9?>>8:665444<;;;39?>>8822654<;39?>8:986564:98;465498>;4>Dl9<765=<<<44:Bd0l00;987?>6<10;987?>6<10;0::>DnE`EbEd320EfEh","f":"`````````````````````````````````````````````````{{{d{b}}b}{{d{b}}}}{{bf}{{d{b}}}}{{bh}{{d{b}}}}{{bj}{{d{b}}}}{{bb}{{d{b}}}}{hl}{{{A`{{n{c}}}}}{{A`{{Ab{j}}}}}Ad}{{{A`{Af}}}{{A`{{Ab{j}}}}}}{{{A`{{Ah{Afc}}}}}{{A`{{Ab{j}}}}}Ad}1{{AjAj}{{d{Aj}}}}0{{Alb}An}{A`{{A`{c}}}{}}000000000{{{A`{B`}}}{{A`{B`c}}}{}}000000000`{{{A`{An}}}An}{{{A`{Al}}}Al}{{{A`{b}}}b}{{{A`{Bb}}}Bb}{{{A`{Af}}}Af}{{{A`{Bd}}}Bd}{{{A`{l}}}l}{{{A`{{Ah{ce}}}}}{{Ah{ce}}}BfBf}{{A`j}Bh}0000000{{{A`{b}}{A`{b}}}Bj}{ll}`{hl}{{{A`{B`Bl}}}{{d{Bn}}}}{{{A`{B`Bl}}}{{d{{n{c}}}}}{BnAj}}{{{A`{B`Bl}}}{{d{c}}}Bn}{{{A`{B`Bl}}}{{d{b}}}}{{{A`{B`Bl}}}{{d{Bb}}}}{{{A`{B`Bl}}}{{d{l}}}}{{{A`{{n{c}}}}g}{{d{e}}}Ad{}{{Cb{{A`{B`Bl}}}{{C`{{d{e}}}}}}}}{{{A`{{Ah{Afc}}}}g}{{d{e}}}Ad{}{{Cb{{A`{B`Bl}}}{{C`{{d{e}}}}}}}}{{{A`{B`Bl}}c}{{d{{A`{{Ab{j}}}}}}}{BnAj}}{{{A`{B`Bl}}c}{{d{e}}}{BnAj}Bn}{{}b}{Ajl}{Bbl}>{{{A`{Cd}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{{n{c}}}}{A`{B`Cf}}}{{d{Bh}}}{AdCd}}{{{A`{B`Cf}}{A`{c}}}{{d{Bh}}}Cd}{{{A`{b}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{Bb}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{l}}{A`{B`Cf}}}{{d{Bh}}}}{{{A`{{Ah{{A`{c}}e}}}}{A`{B`Cf}}}{{d{Bh}}}Cd{AdCd}}{{{A`{B`Cf}}l{A`{{Ab{{A`{Cd}}}}}}}{{d{Bh}}}}{{{A`{Cd}}{A`{B`{Ab{j}}}}}{{d{{A`{{Ab{j}}}}}}}}0{{{A`{B`Cf}}{A`{{Ab{{A`{Cd}}}}}}}{{d{Bh}}}}{{{A`{Cd}}}{{d{b}}}}{{{A`{{n{c}}}}}{{d{b}}}{AdCd}}{{{A`{b}}}{{d{b}}}}{{{A`{Bb}}}{{d{b}}}}{{{A`{l}}}{{d{b}}}}{{{A`{{Ah{{A`{c}}e}}}}}{{d{b}}}Cd{AdCd}}{{{A`{An}}{A`{An}}}Ch}{{{A`{Al}}{A`{Al}}}Ch}{{{A`{b}}{A`{b}}}Ch}{{{A`{Bb}}{A`{Bb}}}Ch}{{{A`{Af}}{A`{Af}}}Ch}{{{A`{Bd}}{A`{Bd}}}Ch}{{{A`{l}}{A`{l}}}Ch}{{{A`{{Ah{ce}}}}{A`{{Ah{ce}}}}}ChCjCj}{{{A`{B`Bl}}Al}{{d{c}}}{}}{{{A`{B`Cf}}Al}{{d{c}}}{}}{{{A`{Cl}}e}{{d{c}}}{}{{Cb{{A`{{Ab{{A`{Cd}}}}}}}{{C`{{d{c}}}}}}}}{{Blc}{{d{c}}}{}}{Cf{{d{{A`{{Ab{j}}}}}}}}{{{A`{Bl}}{A`{B`Cn}}}D`}{{{A`{Cf}}{A`{B`Cn}}}D`}{{{A`{An}}{A`{B`Cn}}}D`}0{{{A`{Al}}{A`{B`Cn}}}D`}0{{{A`{b}}{A`{B`Cn}}}D`}0{{{A`{Af}}{A`{B`Cn}}}D`}{{{A`{Bd}}{A`{B`Cn}}}D`}{{{A`{l}}{A`{B`Cn}}}D`}0{{{A`{{Ah{ce}}}}{A`{B`Cn}}}D`DbDb}{{c{A`{{Ab{j}}}}}{{d{{n{c}}}}}Ad}{cc{}}{{{A`{{Ab{j}}}}}Bl}1{DdAn}{AlAn}33{jb}{hb}55555{{BdChh}l}6{{c{A`{{Ab{j}}}}}{{d{{Ah{Afc}}}}}Ad}{{{A`{{Ab{j}}}}}{{d{Bn}}}}0{{}c{}}000000000{{{A`{{n{c}}}}}ChAd}{AfCh}{{{A`{{Ah{Afc}}}}}ChAd}{{{A`{Bl}}}Ch}{{{A`{Cf}}}Ch}1{AnAl}{{{A`{{n{c}}}}}bAd}{Afb}{{{A`{{Ah{Afc}}}}}bAd}{{}f}{{Anb}An}{{{A`{{Ab{j}}}}}Bl}{{{A`{B`{Ab{j}}}}}Cf}{{Alb}An}{{{A`{{Ab{j}}}}}{{d{Af}}}}{{ce}{{Ah{ec}}}Ad{}}`{{{A`{b}}{A`{b}}}{{Df{Bj}}}}{An{{Df{b}}}}{hl}{{}l}{{{A`{{Ah{ce}}}}}e{}Ad}{bf}{c{{Dh{e}}}{}{}}000{{{A`{{Ab{{A`{Cd}}}}}}}{{d{b}}}}{f{{d{b}}}}2{j{{d{Bb}}}}33{j{{d{Bd}}}}4{j{{d{l}}}}5{{{A`{{Ab{j}}}}}{{d{l}}}}6{{}{{Dh{c}}}{}}000000000{A`Dj}000000000<{{Ajc}{{Ah{cAj}}}{}}0{{}b}`````````","D":"Nb","p":[[5,"Length",0,263],[8,"Result",0,264],[1,"usize"],[1,"u16"],[1,"u8"],[5,"Tag",0,265],[8,"TaggedSlice",0,266],[1,"reference",null,null,1],[1,"slice"],[10,"Copy",267],[5,"Slice",0,268],[5,"TaggedValue",0,266],[10,"TagLike",0,265],[6,"ErrorKind",0,264],[5,"Error",0,264],[0,"mut"],[5,"SimpleTag",0,269],[6,"Class",0,265],[10,"Clone",270],[1,"unit"],[6,"Ordering",271],[5,"Decoder",0,272],[10,"Decodable",0,273],[17,"Output"],[10,"FnOnce",274],[10,"Encodable",0,273],[5,"Encoder",0,275],[1,"bool"],[10,"PartialEq",271],[10,"Container",0,273],[5,"Formatter",276],[8,"Result",276],[10,"Debug",276],[6,"Infallible",277],[6,"Option",278,null,1],[6,"Result",279,null,1],[5,"TypeId",280],[10,"Tagged",0],[15,"Underlength",254],[15,"UnexpectedTag",254],[15,"InvalidTag",254],[15,"TrailingData",254],[15,"Length",254],[15,"InvalidClass",254]],"r":[[3,265],[4,273],[6,273],[7,281],[8,272],[9,273],[10,281],[11,275],[13,264],[14,264],[21,263],[31,264],[34,269],[35,268],[36,265],[37,265],[38,273],[39,266],[40,266]],"b":[[50,"impl-Add%3Cusize%3E-for-Length"],[51,"impl-Add%3Cu16%3E-for-Length"],[52,"impl-Add%3Cu8%3E-for-Length"],[53,"impl-Add-for-Length"],[149,"impl-Display-for-Error"],[150,"impl-Debug-for-Error"],[151,"impl-Debug-for-ErrorKind"],[152,"impl-Display-for-ErrorKind"],[153,"impl-Debug-for-Length"],[154,"impl-Display-for-Length"],[157,"impl-Display-for-Tag"],[158,"impl-Debug-for-Tag"],[164,"impl-From%3CInfallible%3E-for-Error"],[165,"impl-From%3CErrorKind%3E-for-Error"],[168,"impl-From%3Cu8%3E-for-Length"],[169,"impl-From%3Cu16%3E-for-Length"],[218,"impl-TryFrom%3C%26%5B%26dyn+Encodable%5D%3E-for-Length"],[219,"impl-TryFrom%3Cusize%3E-for-Length"],[226,"impl-TryFrom%3Cu8%3E-for-Tag"],[228,"impl-TryFrom%3C%26%5Bu8%5D%3E-for-Tag"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJYAHAABAAIABgAAABEAAQAYAAIAHgABACEAAQAsAAEAMAAAADIABQA7AAAAPwAoAGkAAABrAAIAcgAAAHQAAQB3AAAAeQADAIIADACUAAwAowAAAKUAAQCpAAEAsAAAAM8AAgDTAAAA1QAAANcAJAAHAQAA","P":[[55,"T"],[56,""],[57,"T"],[58,""],[62,"T"],[83,""],[90,"V,T"],[91,""],[104,"T"],[106,""],[109,"T,R,F"],[111,"T"],[112,"T,V"],[113,""],[118,"T"],[120,""],[123,"E,T"],[124,""],[129,"T"],[130,""],[133,"E,T"],[134,""],[141,"V,T"],[142,"T"],[144,"T,F"],[145,"T"],[146,""],[159,"V,T"],[160,"T"],[162,""],[163,"T"],[164,""],[166,"T"],[168,""],[170,"T"],[175,""],[176,"T"],[178,""],[180,"U"],[190,"T"],[191,""],[192,"T"],[193,""],[197,"T"],[198,""],[199,"T"],[200,""],[206,"T,V"],[208,""],[212,"V,T"],[213,""],[214,"U,T"],[218,""],[220,"U,T"],[221,""],[222,"U,T"],[224,""],[225,"U,T"],[226,""],[227,"U,T"],[228,""],[229,"U,T"],[230,"U"],[240,""],[251,"V"],[253,""]]}],["flexiber_derive",{"t":"YY","n":["Decodable","Encodable"],"q":[[0,"flexiber_derive"]],"i":"``","f":"``","D":"f","p":[],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA=","P":[]}],["log",{"t":"PPPPPPGGKFFPFFFSFPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNMNNNNNNNQNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNNNNNNNNNNMQQHNNHNNNNNNNNNNNNNNHHHHNNNNNNQNNNNNNNNNNNNNNNNNNNNNNNNQ","n":["Debug","","Error","","Info","","Level","LevelFilter","Log","Metadata","MetadataBuilder","Off","ParseLevelError","Record","RecordBuilder","STATIC_MAX_LEVEL","SetLoggerError","Trace","","Warn","","args","","as_str","","borrow","","","","","","","","borrow_mut","","","","","","","","build","","builder","","clone","","","","clone_to_uninit","","","","cmp","","","","debug","default","","enabled","eq","","","","","","","error","file","","file_static","","flush","fmt","","","","","","","","","","","","from","","","","","","","","from_str","","hash","","","","info","into","","","","","","","","iter","","level","","","","line","","log","","log_enabled","logger","max","","max_level","metadata","","module_path","","module_path_static","","new","","partial_cmp","","","","","","set_logger","set_logger_racy","set_max_level","set_max_level_racy","target","","","","to_level","to_level_filter","trace","try_from","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","warn"],"q":[[0,"log"],[174,"core::fmt"],[175,"core::cmp"],[176,"core::option"],[177,"core::result"],[178,"core::hash"],[179,"core::iter::traits::iterator"],[180,"core::any"]],"i":"lA`1010`````0`````1010bj323210AdAbBhB`765432104253765376537632`42Al8877431`6565088776543221187654321878743`87654321876543650```87`65656553887743````654378`876543218765432187654321`","f":"`````````````````````{{{d{b}}}{{d{f}}}}{{{d{hj}}f}{{d{hj}}}}{{{d{l}}}{{d{n}}}}{{{d{A`}}}{{d{n}}}}{d{{d{c}}}{}}0000000{{{d{h}}}{{d{hc}}}{}}0000000{{{d{j}}}b}{{{d{Ab}}}Ad}{{}j}{{}Ab}{{{d{l}}}l}{{{d{A`}}}A`}{{{d{b}}}b}{{{d{Ad}}}Ad}{{dAf}Ah}000{{{d{l}}{d{l}}}Aj}{{{d{A`}}{d{A`}}}Aj}{{{d{Ad}}{d{Ad}}}Aj}{{{d{Ab}}{d{Ab}}}Aj}`:9{{{d{Al}}{d{Ad}}}An}{{{d{l}}{d{l}}}An}{{{d{l}}{d{A`}}}An}{{{d{A`}}{d{A`}}}An}{{{d{A`}}{d{l}}}An}{{{d{Ad}}{d{Ad}}}An}{{{d{Ab}}{d{Ab}}}An}{{{d{B`}}{d{B`}}}An}`{{{d{b}}}{{Bb{{d{n}}}}}}{{{d{hj}}{Bb{{d{n}}}}}{{d{hj}}}}10{{{d{Al}}}Ah}{{{d{l}}{d{hBd}}}Bf}0{{{d{A`}}{d{hBd}}}Bf}0{{{d{b}}{d{hBd}}}Bf}{{{d{j}}{d{hBd}}}Bf}{{{d{Ad}}{d{hBd}}}Bf}{{{d{Ab}}{d{hBd}}}Bf}{{{d{Bh}}{d{hBd}}}Bf}0{{{d{B`}}{d{hBd}}}Bf}0{cc{}}0000000{{{d{n}}}{{Bj{lc}}}{}}{{{d{n}}}{{Bj{A`c}}}{}}{{{d{l}}{d{hc}}}AhBl}{{{d{A`}}{d{hc}}}AhBl}{{{d{Ad}}{d{hc}}}AhBl}{{{d{Ab}}{d{hc}}}AhBl}`{{}c{}}0000000{{}{{`{{C`{}{{Bn{l}}}}}}}}{{}{{`{{C`{}{{Bn{A`}}}}}}}}{{{d{b}}}l}{{{d{hj}}l}{{d{hj}}}}{{{d{Ad}}}l}{{{d{hAb}}l}{{d{hAb}}}}{{{d{b}}}{{Bb{Cb}}}}{{{d{hj}}{Bb{Cb}}}{{d{hj}}}}{{{d{Al}}{d{b}}}Ah}``{{}{{d{Al}}}}{{}l}{{}A`}0{{{d{b}}}{{d{Ad}}}}{{{d{hj}}Ad}{{d{hj}}}}{{{d{b}}}{{Bb{{d{n}}}}}}{{{d{hj}}{Bb{{d{n}}}}}{{d{hj}}}}10{{}j}{{}Ab}{{{d{l}}{d{A`}}}{{Bb{Aj}}}}{{{d{l}}{d{l}}}{{Bb{Aj}}}}{{{d{A`}}{d{A`}}}{{Bb{Aj}}}}{{{d{A`}}{d{l}}}{{Bb{Aj}}}}{{{d{Ad}}{d{Ad}}}{{Bb{Aj}}}}{{{d{Ab}}{d{Ab}}}{{Bb{Aj}}}}{{{d{Al}}}{{Bj{AhBh}}}}0{A`Ah}0{{{d{b}}}{{d{n}}}}{{{d{hj}}{d{n}}}{{d{hj}}}}{{{d{Ad}}}{{d{n}}}}{{{d{hAb}}{d{n}}}{{d{hAb}}}}{{{d{A`}}}{{Bb{l}}}}{{{d{l}}}A`}`{c{{Bj{e}}}{}{}}0000000{{}{{Bj{c}}}{}}0000000{dCd}0000000`","D":"Kd","p":[[5,"Record",0],[1,"reference",null,null,1],[5,"Arguments",174],[0,"mut"],[5,"RecordBuilder",0],[6,"Level",0],[1,"str"],[6,"LevelFilter",0],[5,"MetadataBuilder",0],[5,"Metadata",0],[1,"u8"],[1,"unit"],[6,"Ordering",175],[10,"Log",0],[1,"bool"],[5,"ParseLevelError",0],[6,"Option",176,null,1],[5,"Formatter",174],[8,"Result",174],[5,"SetLoggerError",0],[6,"Result",177,null,1],[10,"Hasher",178],[17,"Item"],[10,"Iterator",179],[1,"u32"],[5,"TypeId",180]],"r":[],"b":[[61,"impl-PartialEq-for-Level"],[62,"impl-PartialEq%3CLevelFilter%3E-for-Level"],[63,"impl-PartialEq-for-LevelFilter"],[64,"impl-PartialEq%3CLevel%3E-for-LevelFilter"],[74,"impl-Display-for-Level"],[75,"impl-Debug-for-Level"],[76,"impl-Display-for-LevelFilter"],[77,"impl-Debug-for-LevelFilter"],[82,"impl-Display-for-SetLoggerError"],[83,"impl-Debug-for-SetLoggerError"],[84,"impl-Display-for-ParseLevelError"],[85,"impl-Debug-for-ParseLevelError"],[132,"impl-PartialOrd%3CLevelFilter%3E-for-Level"],[133,"impl-PartialOrd-for-Level"],[134,"impl-PartialOrd-for-LevelFilter"],[135,"impl-PartialOrd%3CLevel%3E-for-LevelFilter"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAFQACAAaAA8ALgALADsAAQA+AAYASwALAF8ABQCFAAUAlgAXAA==","P":[[25,"T"],[41,""],[86,"T"],[94,"FromStr::Err"],[96,"__H"],[101,"U"],[109,""],[149,"U,T"],[157,"U"],[165,""]]}],["proc_macro2",{"t":"PPPGFPFPPFFPPPFPGFFGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNNNNNNNNFENNNNNNNNNNNNNNN","n":["Alone","Brace","Bracket","Delimiter","Group","","Ident","","Joint","LexError","Literal","","None","Parenthesis","Punct","","Spacing","Span","TokenStream","TokenTree","as_char","borrow","","","","","","","","","","borrow_mut","","","","","","","","","","byte_character","byte_string","c_string","call_site","character","clone","","","","","","","","","clone_into","","","","","","","","","clone_to_uninit","","","","","","","","","cmp","default","delim_span","delimiter","eq","","","","extend","","extra","f32_suffixed","f32_unsuffixed","f64_suffixed","f64_unsuffixed","fmt","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","from_iter","","from_str","","hash","i128_suffixed","i128_unsuffixed","i16_suffixed","i16_unsuffixed","i32_suffixed","i32_unsuffixed","i64_suffixed","i64_unsuffixed","i8_suffixed","i8_unsuffixed","into","","","","","","","","","","into_iter","is_empty","isize_suffixed","isize_unsuffixed","join","located_at","mixed_site","new","","","","new_raw","partial_cmp","resolved_at","set_span","","","","","source_text","spacing","span","","","","","","span_close","span_open","stream","string","subspan","to_owned","","","","","","","","","to_string","","","","","","","token_stream","try_from","","","","","","","","","","try_into","","","","","","","","","","type_id","","","","","","","","","","u128_suffixed","u128_unsuffixed","u16_suffixed","u16_unsuffixed","u32_suffixed","u32_unsuffixed","u64_suffixed","u64_unsuffixed","u8_suffixed","u8_unsuffixed","unwrap","usize_suffixed","usize_unsuffixed","DelimSpan","borrow","borrow_mut","clone","clone_into","clone_to_uninit","close","fmt","from","into","join","open","to_owned","try_from","try_into","type_id","IntoIter","TokenStream","borrow","borrow_mut","clone","clone_into","clone_to_uninit","fmt","from","into","into_iter","next","size_hint","to_owned","try_from","try_into","type_id"],"q":[[0,"proc_macro2"],[239,"proc_macro2::extra"],[255,"proc_macro2::token_stream"],[272,"core::ffi::c_str"],[273,"core::cmp"],[274,"core::marker"],[275,"core::convert"],[276,"core::iter::traits::collect"],[277,"core::fmt"],[278,"proc_macro"],[279,"core::result"],[280,"core::hash"],[281,"core::option"],[282,"alloc::string"],[283,"core::ops::range"],[284,"core::any"]],"i":"AlAj0``Af`02``011`0````bCfAdAb4Ah647Anl5437286910000304372869104372869104372869101422891144`000055443772286691100544433777772869104440100000000005437286910440033342611137261036572610222004372869105472610`5437286910543728691054372869100000000000300`Bd00000000000000``Dn00000000000000","f":"````````````````````{{{d{b}}}f}{d{{d{c}}}{}}000000000{{{d{h}}}{{d{hc}}}{}}000000000{jl}{{{d{{n{j}}}}}l}{{{d{A`}}}l}{{}Ab}{fl}{{{d{Ad}}}Ad}{{{d{Ab}}}Ab}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{b}}}b}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{l}}}l}{{d{d{hc}}}B`{}}00000000{{dj}B`}00000000{{{d{An}}{d{An}}}Bb}{{}Ad}{{{d{Ah}}}Bd}{{{d{Ah}}}Aj}{{{d{Aj}}{d{Aj}}}Bf}{{{d{Al}}{d{Al}}}Bf}{{{d{An}}{d{An}}}Bf}{{{d{An}}{d{c}}}Bf{Bh{Bl{Bj}}}}{{{d{hAd}}c}B`{{C`{}{{Bn{Af}}}}}}{{{d{hAd}}c}B`{{C`{}{{Bn{Ad}}}}}}`{Cbl}0{Cdl}0{{{d{Cf}}{d{hCh}}}Cj}0{{{d{Ad}}{d{hCh}}}Cj}0{{{d{Ab}}{d{hCh}}}Cj}{{{d{Af}}{d{hCh}}}Cj}0{{{d{Ah}}{d{hCh}}}Cj}0{{{d{Aj}}{d{hCh}}}Cj}{{{d{b}}{d{hCh}}}Cj}0{{{d{Al}}{d{hCh}}}Cj}{{{d{An}}{d{hCh}}}Cj}0{{{d{l}}{d{hCh}}}Cj}0{cc{}}0{ClAd}{AfAd}{CnAb}3{lAf}{bAf}{AnAf}{AhAf}7777777{cAd{{C`{}{{Bn{Af}}}}}}{cAd{{C`{}{{Bn{Ad}}}}}}{{{d{Bj}}}{{D`{AdCf}}}}{{{d{Bj}}}{{D`{lCf}}}}{{{d{An}}{d{hc}}}B`Db}{Ddl}0{Dfl}0{Dhl}0{Djl}0{Dll}0{{}c{}}000000000{AdDn}{{{d{Ad}}}Bf}{E`l}0{{{d{Ab}}Ab}{{Eb{Ab}}}}{{{d{Ab}}Ab}Ab}{{}Ab}{{}Ad}{{AjAd}Ah}{{fAl}b}{{{d{Bj}}Ab}An}0{{{d{An}}{d{An}}}{{Eb{Bb}}}}6{{{d{hAf}}Ab}B`}{{{d{hAh}}Ab}B`}{{{d{hb}}Ab}B`}{{{d{hAn}}Ab}B`}{{{d{hl}}Ab}B`}{{{d{Ab}}}{{Eb{Ed}}}}{{{d{b}}}Al}{{{d{Cf}}}Ab}{{{d{Af}}}Ab}{{{d{Ah}}}Ab}{{{d{b}}}Ab}{{{d{An}}}Ab}{{{d{l}}}Ab}33{{{d{Ah}}}Ad}{{{d{Bj}}}l}{{{d{l}}c}{{Eb{Ab}}}{{Eh{Ef}}}}{dc{}}00000000{dEd}000000`{c{{D`{e}}}{}{}}000000000{{}{{D`{c}}}{}}000000000{dEj}000000000{Ell}0{Enl}0{F`l}0{Fbl}0{jl}0{AbCn}{Efl}0`{d{{d{c}}}{}}{{{d{h}}}{{d{hc}}}{}}{{{d{Bd}}}Bd}{{d{d{hc}}}B`{}}{{dj}B`}{{{d{Bd}}}Ab}{{{d{Bd}}{d{hCh}}}Cj}{cc{}}{{}c{}}33{dc{}}{c{{D`{e}}}{}{}}{{}{{D`{c}}}{}}{dEj}``<;{{{d{Dn}}}Dn}:9{{{d{Dn}}{d{hCh}}}Cj}76{{}c{}}{{{d{hDn}}}{{Eb{Af}}}}{{{d{Dn}}}{{Fd{Ef{Eb{Ef}}}}}}8765","D":"Nh","p":[[5,"Punct",0],[1,"reference",null,null,1],[1,"char"],[0,"mut"],[1,"u8"],[5,"Literal",0],[1,"slice"],[5,"CStr",272],[5,"Span",0],[5,"TokenStream",0],[6,"TokenTree",0],[5,"Group",0],[6,"Delimiter",0],[6,"Spacing",0],[5,"Ident",0],[1,"unit"],[6,"Ordering",273],[5,"DelimSpan",239],[1,"bool"],[10,"Sized",274],[1,"str"],[10,"AsRef",275],[17,"Item"],[10,"IntoIterator",276],[1,"f32"],[1,"f64"],[5,"LexError",0],[5,"Formatter",277],[8,"Result",277],[5,"TokenStream",278],[5,"Span",278],[6,"Result",279,null,1],[10,"Hasher",280],[1,"i128"],[1,"i16"],[1,"i32"],[1,"i64"],[1,"i8"],[5,"IntoIter",255],[1,"isize"],[6,"Option",281,null,1],[5,"String",282],[1,"usize"],[10,"RangeBounds",283],[5,"TypeId",284],[1,"u128"],[1,"u16"],[1,"u32"],[1,"u64"],[1,"tuple",null,null,1]],"r":[[256,0]],"b":[[79,"impl-PartialEq-for-Ident"],[80,"impl-PartialEq%3CT%3E-for-Ident"],[81,"impl-Extend%3CTokenTree%3E-for-TokenStream"],[82,"impl-Extend%3CTokenStream%3E-for-TokenStream"],[88,"impl-Display-for-LexError"],[89,"impl-Debug-for-LexError"],[90,"impl-Debug-for-TokenStream"],[91,"impl-Display-for-TokenStream"],[93,"impl-Display-for-TokenTree"],[94,"impl-Debug-for-TokenTree"],[95,"impl-Display-for-Group"],[96,"impl-Debug-for-Group"],[98,"impl-Display-for-Punct"],[99,"impl-Debug-for-Punct"],[101,"impl-Display-for-Ident"],[102,"impl-Debug-for-Ident"],[103,"impl-Display-for-Literal"],[104,"impl-Debug-for-Literal"],[107,"impl-From%3CTokenStream%3E-for-TokenStream"],[108,"impl-From%3CTokenTree%3E-for-TokenStream"],[111,"impl-From%3CLiteral%3E-for-TokenTree"],[112,"impl-From%3CPunct%3E-for-TokenTree"],[113,"impl-From%3CIdent%3E-for-TokenTree"],[114,"impl-From%3CGroup%3E-for-TokenTree"],[122,"impl-FromIterator%3CTokenTree%3E-for-TokenStream"],[123,"impl-FromIterator%3CTokenStream%3E-for-TokenStream"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAAJwAEQAWABMALwAcAE4ABQBZABAAbAACAHAAAwB7AAQAlAAAAKAAAACpAAAAtAAPAMUAHQDxAAQA9wAAAPwAAwABAQYACgEGAA==","P":[[21,"T"],[41,""],[55,"T"],[64,""],[80,"T"],[81,"I"],[84,""],[105,"T"],[107,""],[110,"T"],[111,""],[115,"T"],[122,"I"],[124,""],[126,"H"],[127,""],[137,"U"],[147,""],[178,"R"],[179,"T"],[188,""],[196,"U,T"],[206,"U"],[216,""],[240,"T"],[242,""],[243,"T"],[244,""],[247,"T"],[248,"U"],[249,""],[251,"T"],[252,"U,T"],[253,"U"],[254,""],[257,"T"],[259,""],[260,"T"],[261,""],[263,"T"],[264,"U"],[265,"I"],[266,""],[268,"T"],[269,"U,T"],[270,"U"],[271,""]]}],["quote",{"t":"KKKMMMMMQNNQQNNNNM","n":["IdentFragment","ToTokens","TokenStreamExt","append","append_all","append_separated","append_terminated","fmt","format_ident","into_token_stream","","quote","quote_spanned","span","","to_token_stream","","to_tokens"],"q":[[0,"quote"],[18,"quote::ext"],[19,"proc_macro2"],[20,"core::convert"],[21,"core::iter::traits::collect"],[22,"quote::to_tokens"],[23,"quote::ident_fragment"],[24,"core::fmt"],[25,"core::option"]],"i":"```d000Ab`A`0``11000","f":"```{{{f{bd}}c}h{{l{j}}}}{{{f{bd}}c}hn}{{{f{bd}}ce}hnA`}0{{{f{Ab}}{f{bAd}}}Af}`{A`Ah}0``{{{f{Ab}}}{{Al{Aj}}}}0{{{f{A`}}}Ah}0{{{f{A`}}{f{bAh}}}h}","D":"Bf","p":[[0,"mut"],[10,"TokenStreamExt",0,18],[1,"reference",null,null,1],[1,"unit"],[6,"TokenTree",19],[10,"Into",20],[10,"IntoIterator",21],[10,"ToTokens",0,22],[10,"IdentFragment",0,23],[5,"Formatter",24],[8,"Result",24],[5,"TokenStream",19],[5,"Span",19],[6,"Option",25,null,1]],"r":[[0,23],[1,22],[2,18]],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAAAAAA=","P":[[3,"U"],[4,"I"],[5,"I,U"],[7,""]]}],["syn",{"t":"FPPPPFPPPFPFPPGFPPFFGPPPPPPPPPFPPPPPPPPPPPPPFFPPGFFFPPFPPPPPFGFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFPGFGFFPPPGGFPPPFPFPFPPPPPPPPFPPPPFPGPFFFFFFFFPPFPPGPPGGFFPPPPPPPPPPPPPPPPTPPPPFFPPPGFPFFPPFPPPPPPPPIPGPPPPPPPPPPQPFGPPPPPFGPPPPFFFFFFFFFGFFFFFFFGPPPPPPFPPPPFGFGPPOOOOOOOOOONOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOQOOOOQCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOONNOOQQONNNOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOCOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONOOOONOOOONOOOOOOONOONCOOOOOOOOOOONNNNNNNNNNNNNOOOOOOOOOOOOOOOOQCHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNNNNNNQNNNNNQQHNNNNNNOOOOOOOONOOOOCOOOONNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOCNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONONNNNNNOOOOOOOCOONNNNFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKMTMFNNNNONNHONNNNFPFFFPRKFIKKIFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKKMMPFFFFGFFFPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKMFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFKFFFFFFFFFFFFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNNHNN","n":["Abi","Add","AddAssign","And","AngleBracketed","AngleBracketedGenericArguments","Array","","Assign","AssocConst","","AssocType","","Async","AttrStyle","Attribute","Await","BareFn","BareFnArg","BareVariadic","BinOp","Binary","BitAnd","BitAndAssign","BitOr","BitOrAssign","BitXor","BitXorAssign","Block","Bool","BoundLifetimes","Brace","Bracket","Break","Byte","ByteStr","CStr","Call","Cast","Char","Closure","Const","","","ConstParam","Constraint","","Continue","Data","DataEnum","DataStruct","DataUnion","Default","Deref","DeriveInput","Div","DivAssign","Enum","Eq","Err","Error","Expr","ExprArray","ExprAssign","ExprAsync","ExprAwait","ExprBinary","ExprBlock","ExprBreak","ExprCall","ExprCast","ExprClosure","ExprConst","ExprContinue","ExprField","ExprForLoop","ExprGroup","ExprIf","ExprIndex","ExprInfer","ExprLet","ExprLit","ExprLoop","ExprMacro","ExprMatch","ExprMethodCall","ExprParen","ExprPath","ExprRange","ExprRawAddr","ExprReference","ExprRepeat","ExprReturn","ExprStruct","ExprTry","ExprTryBlock","ExprTuple","ExprUnary","ExprUnsafe","ExprWhile","ExprYield","Field","","FieldMutability","FieldValue","Fields","FieldsNamed","FieldsUnnamed","Float","ForLoop","Ge","GenericArgument","GenericParam","Generics","Group","","Gt","Ident","If","ImplGenerics","ImplTrait","Index","","Infer","","Inherited","Inner","Int","Le","Let","Lifetime","","","","","LifetimeParam","List","Lit","","LitBool","LitByte","LitByteStr","LitCStr","LitChar","LitFloat","LitInt","LitStr","Loop","Lt","Macro","","","MacroDelimiter","Match","Maybe","Member","Meta","MetaList","MetaNameValue","MethodCall","Mul","MulAssign","NameValue","Named","","Ne","Neg","Never","None","","","Not","Ok","Or","Outer","PLACEHOLDER","Paren","","","Parenthesized","ParenthesizedGenericArguments","Path","","","","PathArguments","PathSegment","PreciseCapture","PredicateLifetime","PredicateType","Ptr","Public","QSelf","Range","RawAddr","Reference","","Rem","RemAssign","Repeat","Restricted","Result","Return","ReturnType","Shl","ShlAssign","Shr","ShrAssign","Slice","Str","Struct","","Sub","SubAssign","Token","Trait","TraitBound","TraitBoundModifier","TraitObject","Try","TryBlock","Tuple","","Turbofish","Type","","","","","TypeArray","TypeBareFn","TypeGenerics","TypeGroup","TypeImplTrait","TypeInfer","TypeMacro","TypeNever","TypeParam","TypeParamBound","TypeParen","TypePath","TypePtr","TypeReference","TypeSlice","TypeTraitObject","TypeTuple","UnOp","Unary","Union","Unit","Unnamed","","Unsafe","Variant","Verbatim","","","","VisRestricted","Visibility","WhereClause","WherePredicate","While","Yield","abi","and_token","","apostrophe","args","","","arguments","as_token","","as_turbofish","attrs","","","","","","","","","","","","","","","","","","","","","","","","bang_token","","base","base10_digits","","base10_parse","","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bounded_ty","bounds","","","","","","","brace_token","","","braced","bracket_token","","","","bracketed","buffer","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cmp","","colon2_token","colon_token","","","","","","","","comma","const_params","const_params_mut","const_token","","custom_keyword","custom_punctuation","data","default","","","","","delimiter","","discriminant","dot2_token","dot_token","","dots","dyn_token","elem","","","","","","elems","","enum_token","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eq_token","","","","","expr","","","","","","","ext","extern_token","fields","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fn_token","for_token","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","func","generics","","","","get_ident","group_token","","gt_token","","","","hash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ident","","","","","","","","","","impl_token","in_token","index","","inputs","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","","","is_empty","","is_ident","is_none","iter","iter_mut","leading_colon","left","len","","lifetime","","","lifetimes","","","","","lifetimes_mut","lit","lt_token","","","","mac","","make_where_clause","member","","members","meta","","method","modifier","mutability","","","","name","","","named","new","","","","","","","","","","","","new_raw","op","","output","","params","paren_token","","","","","","","","","","","parenthesized","parse","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","parse2","parse_any","parse_args","","parse_args_with","","parse_body","parse_body_with","parse_inner","parse_macro_input","parse_mod_style","parse_named","parse_nested_meta","","parse_outer","parse_quote","parse_quote_spanned","parse_str","parse_unnamed","parse_with","partial_cmp","","path","","","","","","","","","","peek","position","pound_token","predicates","pub_token","punctuated","qself","","","receiver","require_ident","require_list","require_name_value","require_path_only","rest","right","segments","semi_token","","set_span","","","","","","","","","","","span","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","spanned","split_for_impl","star_token","struct_token","style","suffix","","","","","","","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","to_tokens","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","token","","","","","","","","","tokens","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","turbofish","ty","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_params","type_params_mut","underscore_token","union_token","unnamed","unraw","unsafety","value","","","","","","","","","variadic","variants","vis","","visit","where_clause","where_token","without_plus","","","","Cursor","TokenBuffer","any_group","begin","borrow","","borrow_mut","","clone","clone_into","clone_to_uninit","empty","eof","eq","from","","group","ident","into","","lifetime","literal","new","new2","partial_cmp","punct","span","to_owned","token_stream","token_tree","try_from","","try_into","","type_id","","IdentExt","parse_any","peek_any","unraw","ParseNestedMeta","borrow","borrow_mut","error","from","input","into","parse_nested_meta","parser","path","try_from","try_into","type_id","value","End","Err","Error","Lookahead1","Nothing","Ok","Output","Parse","ParseBuffer","ParseStream","Parser","Peek","Result","StepCursor","advance_to","borrow","","","","","","borrow_mut","","","","","","call","clone","","","","clone_into","","","","clone_to_uninit","","","","combine","cursor","deref","discouraged","display","drop","eq","error","","","extend","fmt","","","","","fork","from","","","","","","","hash","into","","","","","","into_compile_error","into_iter","","is_empty","lookahead1","new","new_spanned","parse","","","","parse2","parse_any_delimiter","parse_str","parse_terminated","peek","","","peek2","peek3","span","","","step","to_compile_error","to_owned","","","","to_string","","to_tokens","try_from","","","","","","try_into","","","","","","type_id","","","","","","AnyDelimiter","Speculative","advance_to","parse_any_delimiter","End","IntoIter","IntoPairs","Iter","IterMut","Pair","Pairs","PairsMut","Punctuated","","borrow","","","","","","","","borrow_mut","","","","","","","","clear","clone","","","","","","clone_from","clone_into","","","","","","clone_to_uninit","","","","","","cloned","default","empty_or_trailing","eq","extend","","first","first_mut","fmt","from","","","","","","","","from_iter","","get","get_mut","hash","index","index_mut","insert","into","","","","","","","","into_iter","","","","","","","","","into_pairs","into_tuple","into_value","is_empty","iter","iter_mut","last","last_mut","len","","","","","","","new","","next","","","","","","next_back","","","","","","pairs","pairs_mut","parse_separated_nonempty","parse_separated_nonempty_with","parse_terminated","parse_terminated_with","pop","pop_punct","punct","punct_mut","push","push_punct","push_value","size_hint","","","","","","span","","to_owned","","","","","","to_tokens","","trailing_punct","try_from","","","","","","","","try_into","","","","","","","","type_id","","","","","","","","value","value_mut","Spanned","span","Abstract","And","AndAnd","AndEq","As","Async","At","Auto","Await","Become","Box","Brace","Bracket","Break","Caret","CaretEq","Colon","Comma","Const","Continue","Crate","Default","Do","Dollar","Dot","DotDot","DotDotDot","DotDotEq","Dyn","Else","Enum","Eq","EqEq","Extern","FatArrow","Final","Fn","For","Ge","Group","Gt","If","Impl","In","LArrow","Le","Let","Loop","Lt","Macro","Match","Minus","MinusEq","Mod","Move","Mut","Ne","Not","Or","OrEq","OrOr","Override","Paren","PathSep","Percent","PercentEq","Plus","PlusEq","Pound","Priv","Pub","Question","RArrow","Raw","Ref","Return","SelfType","SelfValue","Semi","Shl","ShlEq","Shr","ShrEq","Slash","SlashEq","Star","StarEq","Static","Struct","Super","Tilde","Token","Trait","Try","Type","Typeof","Underscore","Union","Unsafe","Unsized","Use","Virtual","Where","While","Yield","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","default","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","deref","","","","","","","","","","","","","","","","","","","","","","deref_mut","","","","","","","","","","","","","","","","","","","","","","eq","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","hash","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","parse","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","span","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","spans","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","surround","","","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_tokens","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Visit","visit_abi","","","visit_angle_bracketed_generic_arguments","","","visit_assoc_const","","","visit_assoc_type","","","visit_attr_style","","","visit_attribute","","","visit_bare_fn_arg","","","visit_bare_variadic","","","visit_bin_op","","","visit_bound_lifetimes","","","visit_const_param","","","visit_constraint","","","visit_data","","","visit_data_enum","","","visit_data_struct","","","visit_data_union","","","visit_derive_input","","","visit_expr","","","visit_expr_binary","","","visit_expr_call","","","visit_expr_cast","","","visit_expr_field","","","visit_expr_group","","","visit_expr_index","","","visit_expr_lit","","","visit_expr_macro","","","visit_expr_method_call","","","visit_expr_paren","","","visit_expr_path","","","visit_expr_reference","","","visit_expr_struct","","","visit_expr_tuple","","","visit_expr_unary","","","visit_field","","","visit_field_mutability","","","visit_field_value","","","visit_fields","","","visit_fields_named","","","visit_fields_unnamed","","","visit_generic_argument","","","visit_generic_param","","","visit_generics","","","visit_ident","","","visit_index","","","visit_lifetime","","","visit_lifetime_param","","","visit_lit","","","visit_lit_bool","","","visit_lit_byte","","","visit_lit_byte_str","","","visit_lit_char","","","visit_lit_cstr","","","visit_lit_float","","","visit_lit_int","","","visit_lit_str","","","visit_macro","","","visit_macro_delimiter","","","visit_member","","","visit_meta","","","visit_meta_list","","","visit_meta_name_value","","","visit_parenthesized_generic_arguments","","","visit_path","","","visit_path_arguments","","","visit_path_segment","","","visit_predicate_lifetime","","","visit_predicate_type","","","visit_qself","","","visit_return_type","","","visit_span","","","visit_trait_bound","","","visit_trait_bound_modifier","","","visit_type","","","visit_type_array","","","visit_type_bare_fn","","","visit_type_group","","","visit_type_impl_trait","","","visit_type_infer","","","visit_type_macro","","","visit_type_never","","","visit_type_param","","","visit_type_param_bound","","","visit_type_paren","","","visit_type_path","","","visit_type_ptr","","","visit_type_reference","","","visit_type_slice","","","visit_type_trait_object","","","visit_type_tuple","","","visit_un_op","","","visit_variant","","","visit_vis_restricted","","","visit_visibility","","","visit_where_clause","","","visit_where_predicate","",""],"q":[[0,"syn"],[2545,"syn::buffer"],[2581,"syn::ext"],[2585,"syn::meta"],[2599,"syn::parse"],[2720,"syn::parse::discouraged"],[2724,"syn::punctuated"],[2897,"syn::spanned"],[2899,"syn::token"],[5016,"syn::visit"],[5302,"syn::generics"],[5303,"syn::lit"],[5304,"syn::error"],[5305,"core::str::traits"],[5306,"proc_macro2"],[5307,"syn::lifetime"],[5308,"syn::attr"],[5309,"syn::data"],[5310,"syn::derive"],[5311,"syn::expr"],[5312,"syn::mac"],[5313,"syn::op"],[5314,"syn::path"],[5315,"syn::restriction"],[5316,"syn::ty"],[5317,"core::cmp"],[5318,"core::convert"],[5319,"core::marker"],[5320,"core::fmt"],[5321,"core::result"],[5322,"core::option"],[5323,"core::hash"],[5324,"core::ffi::c_str"],[5325,"proc_macro"],[5326,"alloc::vec"],[5327,"core::ops::function"],[5328,"proc_macro2::extra"],[5329,"alloc::string"],[5330,"core::any"],[5331,"alloc::ffi::c_str"],[5332,"syn::lookahead"],[5333,"core::iter::traits::collect"],[5334,"quote::to_tokens"],[5335,"core::clone"],[5336,"core::default"],[5337,"syn::gen::visit"],[5338,"syn::gen"]],"i":"`Hj00Ib`ChJh1`Id`02``21```24444442Gh`Hh0411144144F`3``35````LlHl`99C`:n``````````````````````````````````````````9`````69;```98;`9`8`998JbAl8=;`6FjGb;`An`>````````>Hj`?>`?Fn````Ch223BfEh4DlDnE`EbEdEfElFbFdFfLhLjHfKfD`hl10AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlGfFbFdGd3IlK`;BhCdEb`AjDdJjL```AdAfbfAh8AlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAhIfBlElFbFdFfGdGfIlKnL`EdLdCdAd0AfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlBbFdFfIhIjCnDbDdDlE`EfEl`?BdCbCfEbAd00AfbfAh0AjAlAnB`Bb=BfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEh0Ej0ElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`Hbh0l0HdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlJlFhAd000000AfbfAhAjAlAn000B`BbBdBf00BhBjBlBnC`CbCdCfCh000000000000000000000000000000000000000A@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEh000Ej0ElEnF`000FbFd0FfFhFj00FlFnG`Gb00GdGfGh00000000GjGlGnH`Hbh0l0HdHfHhHjHlHn0I`0IbIdIfIhIjIlInJ`JbJdJfJh00000000000000JjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlClBnIhIjIlHnDbJnEnFhIfJ`AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAhBdBlBnFdFfI`IhIjIlK`JdDdEjInJlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlBf000IbHn1220Cj3JjFbGd>EnFhFlGfJl4Df54IfJ`DhKd9D`ElBf`AjDj:::7Cj?CbJjAd?GhGjGlGnH`HbhlHd999AfbfAh0AjAnB`BbBdBfBhBjBlBnChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEh0Ej0ElEnF`FbFdFfFhFjFlFnG`GbGdGfGh0Gj0Gl0Gn0H`0Hb0h0l0Hd0HfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlEjHd`En;CbAjGhGjGlGnH`HbhlAdAfbfAh=AlAnB`BbBdBfBhBjBlBnC`CbCdCfChCjClCnD`DbDdDfDhDjDlDnE`EbEdEfEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAhhl3Afbf5AjAnB`BbBdBfBhBjBlBnChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHjHlHnI`IbIdIfIhIjIlInJbJdJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLl`GjGlGnH`HbhlHdB`HfAdAfbfAhAjAlAn9BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlAdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlDjBlCnFfIhJ`8AdAfbfAhAjAlAnB`BbBdBfBhBjBlBnC`CbCdCfChA@nAA`AAfAAhCjAAjAAlClCnA@jA@hA@fD`OjDbOhDdOfOdDfObDhNnDjDlDnO`OlE`A@bAAdEbAAbA@lEdEfA@dA@`OnEhEjElEnF`FbFdFfFhFjFlFnG`GbGdGfGhGjGlGnH`HbhlHdHfHhHjHlHnI`IbIdIfIhIjIlInJ`JbJdJfJhJjJlJnK`KbKdKfKhKjKlKnL`LbLdLfLhLjLlEn0>CfBjAdJlGjGlGnH`HbHdBb1Ij8CdBlBn`?G`JhK`LbLl``AE`AEd01011111110111011100111111010101`AEj00`AD`000000`00000`n```0ACl```````AF`AElAFjAFd3AFfAFh4325105421042104210451`2503514445505443251004325104445544ACf671767643666561655321561543621543621543621``AGjAGlAHf````````0AGdAH`AI`AHbAHdABhABj765432107665321766532176532177666666666543210766666666654321076665432106776666665432106754321054321066666666776665432106765321767665432107654321076543210777`AId`````````````````````````````````````````````````````````````````````````````````````````````````````````AIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNlAOhAOnB@`B@dB@fB@hB@jBAbBAjBB`BBbBBhBBjBCbBCfBCjBClBD`BDjBDnBEbNlAOhAOnB@`B@dB@fB@hB@jBAbBAjBB`BBbBBhBBjBCbBCfBCjBClBD`BDjBDnBEbAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfBEdBEfBEhNlAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfBEdBEfBEh3NlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEhAIfNlAIhAIjAIlAInAJ`AJbAJdAJfAJhAJjNbAJlAJnAK`AKbAKdNjAKfAKhAKjAKlAKnAL`ALbALdALfALhALjALlALnAM`AMbAMdAMfAMhAMjNfNhAMlAMnNdAN`ANbANdANfANhANjANlANnAO`AObAOdAOfAOhAOjAOlAOnB@`B@bB@dB@fB@hB@jB@lB@nBA`BAbBAdBAfBAhBAjBAlBAnBB`BBbBBdBBfBBhBBjBBlBBnBC`BCbBCdBCfBChBCjBClBCnBD`BDbBDdBDfBDhBDjBDlBDnBE`BEbBEdBEfBEh``BEj0`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00`00","f":"``````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{b}}}f}```````````````````````````{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{{{d{h}}}{{n{c}}}A`}{{{d{l}}}{{n{c}}}A`}{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ab}}}{{d{Abc}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000``````````````````{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{b}}}b}{{{d{f}}}f}{{{d{Ah}}}Ah}{{{d{Aj}}}Aj}{{{d{Al}}}Al}{{{d{An}}}An}{{{d{B`}}}B`}{{{d{Bb}}}Bb}{{{d{Bd}}}Bd}{{{d{Bf}}}Bf}{{{d{Bh}}}Bh}{{{d{Bj}}}Bj}{{{d{Bl}}}Bl}{{{d{Bn}}}Bn}{{{d{C`}}}C`}{{{d{Cb}}}Cb}{{{d{Cd}}}Cd}{{{d{Cf}}}Cf}{{{d{Ch}}}Ch}{{{d{Cj}}}Cj}{{{d{Cl}}}Cl}{{{d{Cn}}}Cn}{{{d{D`}}}D`}{{{d{Db}}}Db}{{{d{Dd}}}Dd}{{{d{Df}}}Df}{{{d{Dh}}}Dh}{{{d{Dj}}}Dj}{{{d{Dl}}}Dl}{{{d{Dn}}}Dn}{{{d{E`}}}E`}{{{d{Eb}}}Eb}{{{d{Ed}}}Ed}{{{d{Ef}}}Ef}{{{d{Eh}}}Eh}{{{d{Ej}}}Ej}{{{d{El}}}El}{{{d{En}}}En}{{{d{F`}}}F`}{{{d{Fb}}}Fb}{{{d{Fd}}}Fd}{{{d{Ff}}}Ff}{{{d{Fh}}}Fh}{{{d{Fj}}}Fj}{{{d{Fl}}}Fl}{{{d{Fn}}}Fn}{{{d{G`}}}G`}{{{d{Gb}}}Gb}{{{d{Gd}}}Gd}{{{d{Gf}}}Gf}{{{d{Gh}}}Gh}{{{d{Gj}}}Gj}{{{d{Gl}}}Gl}{{{d{Gn}}}Gn}{{{d{H`}}}H`}{{{d{Hb}}}Hb}{{{d{h}}}h}{{{d{l}}}l}{{{d{Hd}}}Hd}{{{d{Hf}}}Hf}{{{d{Hh}}}Hh}{{{d{Hj}}}Hj}{{{d{Hl}}}Hl}{{{d{Hn}}}Hn}{{{d{I`}}}I`}{{{d{Ib}}}Ib}{{{d{Id}}}Id}{{{d{If}}}If}{{{d{Ih}}}Ih}{{{d{Ij}}}Ij}{{{d{Il}}}Il}{{{d{In}}}In}{{{d{J`}}}J`}{{{d{Jb}}}Jb}{{{d{Jd}}}Jd}{{{d{Jf}}}Jf}{{{d{Jh}}}Jh}{{{d{Jj}}}Jj}{{{d{Jl}}}Jl}{{{d{Jn}}}Jn}{{{d{K`}}}K`}{{{d{Kb}}}Kb}{{{d{Kd}}}Kd}{{{d{Kf}}}Kf}{{{d{Kh}}}Kh}{{{d{Kj}}}Kj}{{{d{Kl}}}Kl}{{{d{Kn}}}Kn}{{{d{L`}}}L`}{{{d{Lb}}}Lb}{{{d{Ld}}}Ld}{{{d{Lf}}}Lf}{{{d{Lh}}}Lh}{{{d{Lj}}}Lj}{{{d{Ll}}}Ll}{{d{d{Abc}}}Ln{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{dM`}Ln}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ad}}{d{Ad}}}Mb}{{{d{Ah}}{d{Ah}}}Mb}`````````````````{{}En}{{}Fh}{{}Ib}```````````````````{{{d{Ad}}{d{c}}}Md{{Mf{j}}Mh}}{{{d{Ad}}{d{Ad}}}Md}{{{d{Af}}{d{Af}}}Md}{{{d{b}}{d{b}}}Md}{{{d{f}}{d{f}}}Md}{{{d{Ah}}{d{Ah}}}Md}{{{d{Aj}}{d{Aj}}}Md}{{{d{Al}}{d{Al}}}Md}{{{d{An}}{d{An}}}Md}{{{d{B`}}{d{B`}}}Md}{{{d{Bb}}{d{Bb}}}Md}{{{d{Bd}}{d{Bd}}}Md}{{{d{Bf}}{d{Bf}}}Md}{{{d{Bh}}{d{Bh}}}Md}{{{d{Bj}}{d{Bj}}}Md}{{{d{Bl}}{d{Bl}}}Md}{{{d{Bn}}{d{Bn}}}Md}{{{d{C`}}{d{C`}}}Md}{{{d{Cb}}{d{Cb}}}Md}{{{d{Cd}}{d{Cd}}}Md}{{{d{Cf}}{d{Cf}}}Md}{{{d{Ch}}{d{Ch}}}Md}{{{d{Cj}}{d{Cj}}}Md}{{{d{Cl}}{d{Cl}}}Md}{{{d{Cn}}{d{Cn}}}Md}{{{d{D`}}{d{D`}}}Md}{{{d{Db}}{d{Db}}}Md}{{{d{Dd}}{d{Dd}}}Md}{{{d{Df}}{d{Df}}}Md}{{{d{Dh}}{d{Dh}}}Md}{{{d{Dj}}{d{Dj}}}Md}{{{d{Dl}}{d{Dl}}}Md}{{{d{Dn}}{d{Dn}}}Md}{{{d{E`}}{d{E`}}}Md}{{{d{Eb}}{d{Eb}}}Md}{{{d{Ed}}{d{Ed}}}Md}{{{d{Ef}}{d{Ef}}}Md}{{{d{Eh}}{d{Eh}}}Md}{{{d{Ej}}{d{Ej}}}Md}{{{d{El}}{d{El}}}Md}{{{d{En}}{d{En}}}Md}{{{d{F`}}{d{F`}}}Md}{{{d{Fb}}{d{Fb}}}Md}{{{d{Fd}}{d{Fd}}}Md}{{{d{Ff}}{d{Ff}}}Md}{{{d{Fh}}{d{Fh}}}Md}{{{d{Fj}}{d{Fj}}}Md}{{{d{Fl}}{d{Fl}}}Md}{{{d{Fn}}{d{Fn}}}Md}{{{d{G`}}{d{G`}}}Md}{{{d{Gb}}{d{Gb}}}Md}{{{d{Gd}}{d{Gd}}}Md}{{{d{Gf}}{d{Gf}}}Md}{{{d{Gh}}{d{Gh}}}Md}{{{d{Gj}}{d{Gj}}}Md}{{{d{Gl}}{d{Gl}}}Md}{{{d{Gn}}{d{Gn}}}Md}{{{d{H`}}{d{H`}}}Md}{{{d{Hb}}{d{Hb}}}Md}{{{d{h}}{d{h}}}Md}{{{d{l}}{d{l}}}Md}{{{d{Hd}}{d{Hd}}}Md}{{{d{Hf}}{d{Hf}}}Md}{{{d{Hh}}{d{Hh}}}Md}{{{d{Hj}}{d{Hj}}}Md}{{{d{Hl}}{d{Hl}}}Md}{{{d{Hn}}{d{Hn}}}Md}{{{d{I`}}{d{I`}}}Md}{{{d{Ib}}{d{Ib}}}Md}{{{d{Id}}{d{Id}}}Md}{{{d{If}}{d{If}}}Md}{{{d{Ih}}{d{Ih}}}Md}{{{d{Ij}}{d{Ij}}}Md}{{{d{Il}}{d{Il}}}Md}{{{d{In}}{d{In}}}Md}{{{d{J`}}{d{J`}}}Md}{{{d{Jb}}{d{Jb}}}Md}{{{d{Jd}}{d{Jd}}}Md}{{{d{Jf}}{d{Jf}}}Md}{{{d{Jh}}{d{Jh}}}Md}{{{d{Jj}}{d{Jj}}}Md}{{{d{Jl}}{d{Jl}}}Md}{{{d{Jn}}{d{Jn}}}Md}{{{d{K`}}{d{K`}}}Md}{{{d{Kb}}{d{Kb}}}Md}{{{d{Kd}}{d{Kd}}}Md}{{{d{Kf}}{d{Kf}}}Md}{{{d{Kh}}{d{Kh}}}Md}{{{d{Kj}}{d{Kj}}}Md}{{{d{Kl}}{d{Kl}}}Md}{{{d{Kn}}{d{Kn}}}Md}{{{d{L`}}{d{L`}}}Md}{{{d{Lb}}{d{Lb}}}Md}{{{d{Ld}}{d{Ld}}}Md}{{{d{Lf}}{d{Lf}}}Md}{{{d{Lh}}{d{Lh}}}Md}{{{d{Lj}}{d{Lj}}}Md}{{{d{Ll}}{d{Ll}}}Md}``````````````````{{{d{Ad}}{d{AbMj}}}{{Mn{LnMl}}}}00{{{d{Af}}{d{AbMj}}}N`}{{{d{b}}{d{AbMj}}}N`}{{{d{f}}{d{AbMj}}}N`}{{{d{Ah}}{d{AbMj}}}N`}0{{{d{Aj}}{d{AbMj}}}N`}{{{d{Al}}{d{AbMj}}}N`}{{{d{An}}{d{AbMj}}}N`}{{{d{B`}}{d{AbMj}}}N`}{{{d{Bb}}{d{AbMj}}}N`}{{{d{Bd}}{d{AbMj}}}N`}{{{d{Bf}}{d{AbMj}}}N`}{{{d{Bh}}{d{AbMj}}}N`}{{{d{Bj}}{d{AbMj}}}N`}{{{d{Bl}}{d{AbMj}}}N`}{{{d{Bn}}{d{AbMj}}}N`}{{{d{C`}}{d{AbMj}}}N`}{{{d{Cb}}{d{AbMj}}}N`}{{{d{Cd}}{d{AbMj}}}N`}{{{d{Cf}}{d{AbMj}}}N`}{{{d{Ch}}{d{AbMj}}}N`}{{{d{Cj}}{d{AbMj}}}N`}{{{d{Cl}}{d{AbMj}}}N`}{{{d{Cn}}{d{AbMj}}}N`}{{{d{D`}}{d{AbMj}}}N`}{{{d{Db}}{d{AbMj}}}N`}{{{d{Dd}}{d{AbMj}}}N`}{{{d{Df}}{d{AbMj}}}N`}{{{d{Dh}}{d{AbMj}}}N`}{{{d{Dj}}{d{AbMj}}}N`}{{{d{Dl}}{d{AbMj}}}N`}{{{d{Dn}}{d{AbMj}}}N`}{{{d{E`}}{d{AbMj}}}N`}{{{d{Eb}}{d{AbMj}}}N`}{{{d{Ed}}{d{AbMj}}}N`}{{{d{Ef}}{d{AbMj}}}N`}{{{d{Eh}}{d{AbMj}}}N`}0{{{d{Ej}}{d{AbMj}}}N`}0{{{d{El}}{d{AbMj}}}N`}{{{d{En}}{d{AbMj}}}N`}{{{d{F`}}{d{AbMj}}}N`}{{{d{Fb}}{d{AbMj}}}N`}{{{d{Fd}}{d{AbMj}}}N`}{{{d{Ff}}{d{AbMj}}}N`}{{{d{Fh}}{d{AbMj}}}N`}{{{d{Fj}}{d{AbMj}}}N`}{{{d{Fl}}{d{AbMj}}}N`}{{{d{Fn}}{d{AbMj}}}N`}{{{d{G`}}{d{AbMj}}}N`}{{{d{Gb}}{d{AbMj}}}N`}{{{d{Gd}}{d{AbMj}}}N`}{{{d{Gf}}{d{AbMj}}}N`}{{{d{Gh}}{d{AbMj}}}N`}{{{d{Gj}}{d{AbMj}}}N`}{{{d{Gl}}{d{AbMj}}}N`}{{{d{Gn}}{d{AbMj}}}N`}{{{d{H`}}{d{AbMj}}}N`}{{{d{Hb}}{d{AbMj}}}N`}{{{d{h}}{d{AbMj}}}N`}0{{{d{l}}{d{AbMj}}}N`}0{{{d{Hd}}{d{AbMj}}}N`}{{{d{Hf}}{d{AbMj}}}N`}{{{d{Hh}}{d{AbMj}}}N`}{{{d{Hj}}{d{AbMj}}}N`}{{{d{Hl}}{d{AbMj}}}N`}{{{d{Hn}}{d{AbMj}}}N`}{{{d{I`}}{d{AbMj}}}N`}{{{d{Ib}}{d{AbMj}}}N`}{{{d{Id}}{d{AbMj}}}N`}{{{d{If}}{d{AbMj}}}N`}{{{d{Ih}}{d{AbMj}}}N`}{{{d{Ij}}{d{AbMj}}}N`}{{{d{Il}}{d{AbMj}}}N`}{{{d{In}}{d{AbMj}}}N`}{{{d{J`}}{d{AbMj}}}N`}{{{d{Jb}}{d{AbMj}}}N`}{{{d{Jd}}{d{AbMj}}}N`}{{{d{Jf}}{d{AbMj}}}N`}{{{d{Jh}}{d{AbMj}}}N`}{{{d{Jj}}{d{AbMj}}}N`}{{{d{Jl}}{d{AbMj}}}N`}{{{d{Jn}}{d{AbMj}}}N`}{{{d{K`}}{d{AbMj}}}N`}{{{d{Kb}}{d{AbMj}}}N`}{{{d{Kd}}{d{AbMj}}}N`}{{{d{Kf}}{d{AbMj}}}N`}{{{d{Kh}}{d{AbMj}}}N`}{{{d{Kj}}{d{AbMj}}}N`}{{{d{Kl}}{d{AbMj}}}N`}{{{d{Kn}}{d{AbMj}}}N`}{{{d{L`}}{d{AbMj}}}N`}{{{d{Lb}}{d{AbMj}}}N`}{{{d{Ld}}{d{AbMj}}}N`}{{{d{Lf}}{d{AbMj}}}N`}{{{d{Lh}}{d{AbMj}}}N`}{{{d{Lj}}{d{AbMj}}}N`}{{{d{Ll}}{d{AbMj}}}N`}``{cc{}}{NbAd}{NdAd}{NfAd}{NhAd}{NjAd}{NlAd}666666{BbAn}{B`An}{HnAn}99999{BjBf}{BhBf};;;;;;;;{D`Ch}{EbCh}{DnCh}{DjCh}{NnCh}{DhCh}{O`Ch}{ObCh}{DfCh}{OdCh}{OfCh}{DdCh}{OhCh}{DbCh}{OjCh}{OlCh}{E`Ch}{OnCh}{A@`Ch}{A@bCh}{A@dCh}{EfCh}{A@fCh}{EdCh}{A@hCh}{A@jCh}{A@lCh}{A@nCh}{AA`Ch}{AAbCh}{AAdCh}{AAfCh}{AAhCh}{CjCh}{AAjCh}{cc{}}{CnCh}{DlCh}{ClCh}{AAlCh}444444444444444444444444444444444444444{AdEh}{AAnEh}6{EjEh}{AAnEj}888{FdF`}9{FbF`}{FfF`};;{AdFd}<<{AhFj}{FlFj}>>>>{GdGb}{GfGb}{cc{}}00{HbGh}{lGh}{hGh}3{H`Gh}{GnGh}{HdGh}{GjGh}{GlGh}88888{AB`h}99{AB`l}:::::{cHn{{ABb{I`}}}};;{cI`{{ABb{Ad}}}}<<<<<<<<<<<{KlJh}{LdJh}{JjJh}?{KjJh}{KnJh}{KhJh}{L`Jh}{JlJh}{KfJh}{KdJh}{JnJh}{KbJh}{LbJh}{K`Jh}{cc{}}00000000000000000`````{{{d{Hn}}}{{ABd{{d{Ad}}}}}}``````{{{d{Ad}}{d{Abc}}}LnABf}{{{d{Af}}{d{Abc}}}LnABf}{{{d{b}}{d{Abc}}}LnABf}{{{d{f}}{d{Abc}}}LnABf}{{{d{Ah}}{d{Abc}}}LnABf}{{{d{Aj}}{d{Abc}}}LnABf}{{{d{Al}}{d{Abc}}}LnABf}{{{d{An}}{d{Abc}}}LnABf}{{{d{B`}}{d{Abc}}}LnABf}{{{d{Bb}}{d{Abc}}}LnABf}{{{d{Bd}}{d{Abc}}}LnABf}{{{d{Bf}}{d{Abc}}}LnABf}{{{d{Bh}}{d{Abc}}}LnABf}{{{d{Bj}}{d{Abc}}}LnABf}{{{d{Bl}}{d{Abc}}}LnABf}{{{d{Bn}}{d{Abc}}}LnABf}{{{d{C`}}{d{Abc}}}LnABf}{{{d{Cb}}{d{Abc}}}LnABf}{{{d{Cd}}{d{Abc}}}LnABf}{{{d{Cf}}{d{Abc}}}LnABf}{{{d{Ch}}{d{Abc}}}LnABf}{{{d{Cj}}{d{Abc}}}LnABf}{{{d{Cl}}{d{Abc}}}LnABf}{{{d{Cn}}{d{Abc}}}LnABf}{{{d{D`}}{d{Abc}}}LnABf}{{{d{Db}}{d{Abc}}}LnABf}{{{d{Dd}}{d{Abc}}}LnABf}{{{d{Df}}{d{Abc}}}LnABf}{{{d{Dh}}{d{Abc}}}LnABf}{{{d{Dj}}{d{Abc}}}LnABf}{{{d{Dl}}{d{Abc}}}LnABf}{{{d{Dn}}{d{Abc}}}LnABf}{{{d{E`}}{d{Abc}}}LnABf}{{{d{Eb}}{d{Abc}}}LnABf}{{{d{Ed}}{d{Abc}}}LnABf}{{{d{Ef}}{d{Abc}}}LnABf}{{{d{Eh}}{d{Abc}}}LnABf}{{{d{Ej}}{d{Abc}}}LnABf}{{{d{El}}{d{Abc}}}LnABf}{{{d{En}}{d{Abc}}}LnABf}{{{d{F`}}{d{Abc}}}LnABf}{{{d{Fb}}{d{Abc}}}LnABf}{{{d{Fd}}{d{Abc}}}LnABf}{{{d{Ff}}{d{Abc}}}LnABf}{{{d{Fh}}{d{Abc}}}LnABf}{{{d{Fj}}{d{Abc}}}LnABf}{{{d{Fl}}{d{Abc}}}LnABf}{{{d{Fn}}{d{Abc}}}LnABf}{{{d{G`}}{d{Abc}}}LnABf}{{{d{Gb}}{d{Abc}}}LnABf}{{{d{Gd}}{d{Abc}}}LnABf}{{{d{Gf}}{d{Abc}}}LnABf}{{{d{Gh}}{d{Abc}}}LnABf}{{{d{Gj}}{d{Abc}}}LnABf}{{{d{Gl}}{d{Abc}}}LnABf}{{{d{Gn}}{d{Abc}}}LnABf}{{{d{H`}}{d{Abc}}}LnABf}{{{d{Hb}}{d{Abc}}}LnABf}{{{d{h}}{d{Abc}}}LnABf}{{{d{l}}{d{Abc}}}LnABf}{{{d{Hd}}{d{Abc}}}LnABf}{{{d{Hf}}{d{Abc}}}LnABf}{{{d{Hh}}{d{Abc}}}LnABf}{{{d{Hj}}{d{Abc}}}LnABf}{{{d{Hl}}{d{Abc}}}LnABf}{{{d{Hn}}{d{Abc}}}LnABf}{{{d{I`}}{d{Abc}}}LnABf}{{{d{Ib}}{d{Abc}}}LnABf}{{{d{Id}}{d{Abc}}}LnABf}{{{d{If}}{d{Abc}}}LnABf}{{{d{Ih}}{d{Abc}}}LnABf}{{{d{Ij}}{d{Abc}}}LnABf}{{{d{Il}}{d{Abc}}}LnABf}{{{d{In}}{d{Abc}}}LnABf}{{{d{J`}}{d{Abc}}}LnABf}{{{d{Jb}}{d{Abc}}}LnABf}{{{d{Jd}}{d{Abc}}}LnABf}{{{d{Jf}}{d{Abc}}}LnABf}{{{d{Jh}}{d{Abc}}}LnABf}{{{d{Jj}}{d{Abc}}}LnABf}{{{d{Jl}}{d{Abc}}}LnABf}{{{d{Jn}}{d{Abc}}}LnABf}{{{d{K`}}{d{Abc}}}LnABf}{{{d{Kb}}{d{Abc}}}LnABf}{{{d{Kd}}{d{Abc}}}LnABf}{{{d{Kf}}{d{Abc}}}LnABf}{{{d{Kh}}{d{Abc}}}LnABf}{{{d{Kj}}{d{Abc}}}LnABf}{{{d{Kl}}{d{Abc}}}LnABf}{{{d{Kn}}{d{Abc}}}LnABf}{{{d{L`}}{d{Abc}}}LnABf}{{{d{Lb}}{d{Abc}}}LnABf}{{{d{Ld}}{d{Abc}}}LnABf}{{{d{Lf}}{d{Abc}}}LnABf}{{{d{Lh}}{d{Abc}}}LnABf}{{{d{Lj}}{d{Abc}}}LnABf}{{{d{Ll}}{d{Abc}}}LnABf}````````````````{{}c{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Bf}}}c{}}{Bfc{}}{{{d{AbBf}}}c{}}{{{d{Bf}}}Md}{{{d{Ib}}}Md}{{{d{Hn}}{d{c}}}MdMh}1{{{d{Bf}}}{{ABh{Bl}}}}{{{d{AbBf}}}{{ABj{Bl}}}}``{{{d{Bf}}}AAn}`````````````````{{{d{AbEn}}}{{d{AbG`}}}}```````````````{{{d{j}}ABl}Ad}{{{d{j}}ABl}Ah}{AhFb}{AB`Gh}{{{d{j}}ABl}Gj}{{{d{{ABn{M`}}}}ABl}Gl}{{{d{AC`}}ABl}Gn}{{M`ABl}H`}{{ACbABl}Hb}{{{d{j}}ABl}h}{{{d{j}}ABl}l}{{MdABl}Hd};``````````````````{ACd{{n{c}}}ACf}{ACh{{n{Ad}}}}{ACh{{n{Ah}}}}{ACh{{n{An}}}}{ACh{{n{B`}}}}{ACh{{n{Bb}}}}{ACh{{n{Bd}}}}{ACh{{n{Bh}}}}{ACh{{n{Bj}}}}{ACh{{n{Bn}}}}{ACh{{n{Ch}}}}{ACh{{n{Df}}}}{ACh{{n{Dh}}}}{ACh{{n{Dn}}}}{ACh{{n{Eb}}}}{ACh{{n{Eh}}}}{ACh{{n{Ej}}}}{ACh{{n{El}}}}{ACh{{n{En}}}}{ACh{{n{F`}}}}{ACh{{n{Fb}}}}{ACh{{n{Fd}}}}{ACh{{n{Ff}}}}{ACh{{n{Fh}}}}{ACh{{n{Fj}}}}{ACh{{n{Fl}}}}{ACh{{n{Fn}}}}{ACh{{n{G`}}}}{ACh{{n{Gb}}}}{ACh{{n{Gh}}}}{{{d{Gj}}}{{n{c}}}ACf}{ACh{{n{Gj}}}}{ACh{{n{Gl}}}}{ACh{{n{Gn}}}}{ACh{{n{H`}}}}{ACh{{n{Hb}}}}{ACh{{n{h}}}}{ACh{{n{l}}}}{ACh{{n{Hd}}}}{ACh{{n{Hf}}}}{ACh{{n{Hj}}}}{ACh{{n{Hl}}}}{ACh{{n{Hn}}}}{ACh{{n{I`}}}}{ACh{{n{Id}}}}{ACh{{n{If}}}}{ACh{{n{In}}}}{ACh{{n{Jb}}}}{ACh{{n{Jh}}}}{ACh{{n{Jj}}}}{ACh{{n{Jl}}}}{ACh{{n{Jn}}}}{ACh{{n{K`}}}}{ACh{{n{Kb}}}}{ACh{{n{Kd}}}}{ACh{{n{Kf}}}}{ACh{{n{Kh}}}}{ACh{{n{Kj}}}}{ACh{{n{Kl}}}}{ACh{{n{Kn}}}}{ACh{{n{L`}}}}{ACh{{n{Lb}}}}{ACh{{n{Ld}}}}{ACh{{n{Lf}}}}{ACh{{n{Lh}}}}{ACh{{n{Ll}}}}{ACj{{n{c}}}ACf}{ACh{{n{Ad}}}}{{{d{Aj}}}{{n{c}}}ACf}{{{d{B`}}}{{n{c}}}ACf}{{{d{Aj}}c}nACl}{{{d{B`}}c}nACl}{{{d{Hf}}}{{n{c}}}ACf}{{{d{Hf}}c}nACl}{ACh{{n{{ACn{Aj}}}}}}`{ACh{{n{Hn}}}}{ACh{{n{Bl}}}}{{{d{Aj}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}{{{d{B`}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}4``{{{d{j}}}{{n{c}}}ACf}3{{{d{Gj}}c}nACl}{{{d{Ad}}{d{Ad}}}{{ABd{Mb}}}}{{{d{Ah}}{d{Ah}}}{{ABd{Mb}}}}{{{d{Aj}}}{{d{Hn}}}}{{{d{An}}}{{d{Hn}}}}````````{AChMd}`````````{{{d{Hn}}}{{n{{d{Ad}}}}}}{{{d{An}}}{{n{{d{B`}}}}}}{{{d{An}}}{{n{{d{Bb}}}}}}{{{d{An}}}{{n{{d{Hn}}}}}}`````{{{d{AbAd}}ABl}Ln}{{{d{AbAh}}ABl}Ln}{{{d{AbGh}}ABl}Ln}{{{d{AbGj}}ABl}Ln}{{{d{AbGl}}ABl}Ln}{{{d{AbGn}}ABl}Ln}{{{d{AbH`}}ABl}Ln}{{{d{AbHb}}ABl}Ln}{{{d{Abh}}ABl}Ln}{{{d{Abl}}ABl}Ln}{{{d{AbHd}}ABl}Ln}{{{d{Ad}}}{{ABd{ABl}}}}{{{d{Ad}}}ABl}{dABl}000{{{d{Ah}}}ABl}111111111111111111111111111111111111111111111111111{{{d{Eh}}}{{ABd{ABl}}}}2{{{d{Ej}}}{{ABd{ABl}}}}3333333333333333{{{d{Gh}}}ABl}{{{d{Gj}}}ABl}55{{{d{Gl}}}ABl}6{{{d{Gn}}}ABl}7{{{d{H`}}}ABl}8{{{d{Hb}}}ABl}9{{{d{h}}}ABl}:{{{d{l}}}ABl};{{{d{Hd}}}ABl}<{{{d{Hh}}}{{d{ADf}}}}==========={{{d{J`}}}ABl}>>>>>>>>>>>>>>>>>>>>>```{{{d{En}}}{{ADh{Afb{ABd{{d{G`}}}}}}}}```{{{d{Gh}}}{{d{j}}}}{{{d{Gj}}}{{d{j}}}}{{{d{Gl}}}{{d{j}}}}{{{d{Gn}}}{{d{j}}}}{{{d{H`}}}{{d{j}}}}{{{d{Hb}}}{{d{j}}}}{{{d{h}}}{{d{j}}}}{{{d{l}}}{{d{j}}}}{dc{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dADj}000{{{d{Ad}}{d{AbACj}}}Ln}{{{d{Af}}{d{AbACj}}}Ln}{{{d{b}}{d{AbACj}}}Ln}{{{d{f}}{d{AbACj}}}Ln}{{{d{Ah}}{d{AbACj}}}Ln}{{{d{Aj}}{d{AbACj}}}Ln}{{{d{An}}{d{AbACj}}}Ln}{{{d{B`}}{d{AbACj}}}Ln}{{{d{Bb}}{d{AbACj}}}Ln}{{{d{Bd}}{d{AbACj}}}Ln}{{{d{Bf}}{d{AbACj}}}Ln}{{{d{Bh}}{d{AbACj}}}Ln}{{{d{Bj}}{d{AbACj}}}Ln}{{{d{Bl}}{d{AbACj}}}Ln}{{{d{Bn}}{d{AbACj}}}Ln}{{{d{Ch}}{d{AbACj}}}Ln}{{{d{A@n}}{d{AbACj}}}Ln}{{{d{AA`}}{d{AbACj}}}Ln}{{{d{AAf}}{d{AbACj}}}Ln}{{{d{AAh}}{d{AbACj}}}Ln}{{{d{Cj}}{d{AbACj}}}Ln}{{{d{AAj}}{d{AbACj}}}Ln}{{{d{AAl}}{d{AbACj}}}Ln}{{{d{Cl}}{d{AbACj}}}Ln}{{{d{Cn}}{d{AbACj}}}Ln}{{{d{A@j}}{d{AbACj}}}Ln}{{{d{A@h}}{d{AbACj}}}Ln}{{{d{A@f}}{d{AbACj}}}Ln}{{{d{D`}}{d{AbACj}}}Ln}{{{d{Oj}}{d{AbACj}}}Ln}{{{d{Db}}{d{AbACj}}}Ln}{{{d{Oh}}{d{AbACj}}}Ln}{{{d{Dd}}{d{AbACj}}}Ln}{{{d{Of}}{d{AbACj}}}Ln}{{{d{Od}}{d{AbACj}}}Ln}{{{d{Df}}{d{AbACj}}}Ln}{{{d{Ob}}{d{AbACj}}}Ln}{{{d{Dh}}{d{AbACj}}}Ln}{{{d{Nn}}{d{AbACj}}}Ln}{{{d{Dj}}{d{AbACj}}}Ln}{{{d{Dl}}{d{AbACj}}}Ln}{{{d{Dn}}{d{AbACj}}}Ln}{{{d{O`}}{d{AbACj}}}Ln}{{{d{Ol}}{d{AbACj}}}Ln}{{{d{E`}}{d{AbACj}}}Ln}{{{d{A@b}}{d{AbACj}}}Ln}{{{d{AAd}}{d{AbACj}}}Ln}{{{d{Eb}}{d{AbACj}}}Ln}{{{d{AAb}}{d{AbACj}}}Ln}{{{d{A@l}}{d{AbACj}}}Ln}{{{d{Ed}}{d{AbACj}}}Ln}{{{d{Ef}}{d{AbACj}}}Ln}{{{d{A@d}}{d{AbACj}}}Ln}{{{d{A@`}}{d{AbACj}}}Ln}{{{d{On}}{d{AbACj}}}Ln}{{{d{Eh}}{d{AbACj}}}Ln}{{{d{Ej}}{d{AbACj}}}Ln}{{{d{El}}{d{AbACj}}}Ln}{{{d{En}}{d{AbACj}}}Ln}{{{d{F`}}{d{AbACj}}}Ln}{{{d{Fb}}{d{AbACj}}}Ln}{{{d{Fd}}{d{AbACj}}}Ln}{{{d{Ff}}{d{AbACj}}}Ln}{{{d{Fh}}{d{AbACj}}}Ln}{{{d{Fj}}{d{AbACj}}}Ln}{{{d{Fl}}{d{AbACj}}}Ln}{{{d{Fn}}{d{AbACj}}}Ln}{{{d{G`}}{d{AbACj}}}Ln}{{{d{Gb}}{d{AbACj}}}Ln}{{{d{Gd}}{d{AbACj}}}Ln}{{{d{Gf}}{d{AbACj}}}Ln}{{{d{Gh}}{d{AbACj}}}Ln}{{{d{Gj}}{d{AbACj}}}Ln}{{{d{Gl}}{d{AbACj}}}Ln}{{{d{Gn}}{d{AbACj}}}Ln}{{{d{H`}}{d{AbACj}}}Ln}{{{d{Hb}}{d{AbACj}}}Ln}{{{d{h}}{d{AbACj}}}Ln}{{{d{l}}{d{AbACj}}}Ln}{{{d{Hd}}{d{AbACj}}}Ln}{{{d{Hf}}{d{AbACj}}}Ln}{{{d{Hj}}{d{AbACj}}}Ln}{{{d{Hl}}{d{AbACj}}}Ln}{{{d{Hn}}{d{AbACj}}}Ln}{{{d{I`}}{d{AbACj}}}Ln}{{{d{Ib}}{d{AbACj}}}Ln}{{{d{Id}}{d{AbACj}}}Ln}{{{d{If}}{d{AbACj}}}Ln}{{{d{Ih}}{d{AbACj}}}Ln}{{{d{Ij}}{d{AbACj}}}Ln}{{{d{Il}}{d{AbACj}}}Ln}{{{d{In}}{d{AbACj}}}Ln}{{{d{Jb}}{d{AbACj}}}Ln}{{{d{Jd}}{d{AbACj}}}Ln}{{{d{Jh}}{d{AbACj}}}Ln}{{{d{Jj}}{d{AbACj}}}Ln}{{{d{Jl}}{d{AbACj}}}Ln}{{{d{Jn}}{d{AbACj}}}Ln}{{{d{K`}}{d{AbACj}}}Ln}{{{d{Kb}}{d{AbACj}}}Ln}{{{d{Kd}}{d{AbACj}}}Ln}{{{d{Kf}}{d{AbACj}}}Ln}{{{d{Kh}}{d{AbACj}}}Ln}{{{d{Kj}}{d{AbACj}}}Ln}{{{d{Kl}}{d{AbACj}}}Ln}{{{d{Kn}}{d{AbACj}}}Ln}{{{d{L`}}{d{AbACj}}}Ln}{{{d{Lb}}{d{AbACj}}}Ln}{{{d{Ld}}{d{AbACj}}}Ln}{{{d{Lf}}{d{AbACj}}}Ln}{{{d{Lh}}{d{AbACj}}}Ln}{{{d{Lj}}{d{AbACj}}}Ln}{{{d{Ll}}{d{AbACj}}}Ln}`{{{d{Gj}}}AB`}{{{d{Gl}}}AB`}{{{d{Gn}}}AB`}{{{d{H`}}}AB`}{{{d{Hb}}}AB`}{{{d{h}}}AB`}{{{d{l}}}AB`}{{{d{Hd}}}Ad}``{c{{Mn{e}}}{}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Mn{c}}}{}}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000```````{dADl}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`````{{{d{Ad}}}Ad}`{{{d{Gj}}}ADj}{{{d{Gl}}}{{ACn{M`}}}}{{{d{Gn}}}ADn}{{{d{H`}}}M`}{{{d{Hb}}}ACb}{{{d{Hd}}}Md}``````````{ACh{{n{Jh}}}}{ACh{{n{K`}}}}{ACh{{n{Lb}}}}{ACh{{n{Ll}}}}``{AE`{{ABd{{ADh{AE`AEbADfAE`}}}}}}{{{d{AEd}}}AE`}{d{{d{c}}}{}}0{{{d{Ab}}}{{d{Abc}}}{}}0{{{d{AE`}}}AE`}{{d{d{Abc}}}Ln{}}{{dM`}Ln}{{}AE`}{AE`Md}{{{d{AE`}}{d{AE`}}}Md}{cc{}}0{{AE`AEb}{{ABd{{ADh{AE`ADfAE`}}}}}}{AE`{{ABd{{ADh{AdAE`}}}}}}{{}c{}}0{AE`{{ABd{{ADh{AhAE`}}}}}}{AE`{{ABd{{ADh{AB`AE`}}}}}}{ACdAEd}{ACjAEd}{{{d{AE`}}{d{AE`}}}{{ABd{Mb}}}}{AE`{{ABd{{ADh{AEfAE`}}}}}}{AE`ABl}{dc{}}{AE`ACj}{AE`{{ABd{{ADh{AEhAE`}}}}}}{c{{Mn{e}}}{}{}}0{{}{{Mn{c}}}{}}0{dADl}0`{ACh{{n{AEj}}}}`{{{d{AEj}}}Ad}`{d{{d{c}}}{}}{{{d{Ab}}}{{d{Abc}}}{}}{{{d{AD`}}c}AElAEn}{cc{}}`{{}c{}}{{{d{AD`}}c}{{n{Ln}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}{c{{`{{ACl{}{{ADb{Ln}}}}}}}{{ADd{AD`}{{ADb{{n{Ln}}}}}}}}`;:9{{{d{AD`}}}{{n{ACh}}}}``````````````{{{d{AF`}}{d{AF`}}}Ln}888888777777{{{d{AF`}}{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{c}}}{}}{{{d{AEl}}}AEl}{{{d{AFd}}}AFd}{{{d{AFf}}}AFf}{{{d{AFh}}}AFh}{{d{d{Abc}}}Ln{}}000{{dM`}Ln}000{{{d{AbAEl}}AEl}Ln}{{{d{AF`}}}AE`}{{{d{AFf}}}{{d{c}}}{}}`{{}{{d{j}}}}{{{d{AbAF`}}}Ln}{{{d{AFh}}{d{AFh}}}Md}{AFjAEl}{{{d{AF`}}c}AElAEn}{{AFfc}AElAEn}{{{d{AbAEl}}c}Ln{{AFn{}{{AFl{AEl}}}}}}{{{d{AEl}}{d{AbMj}}}N`}0{{{d{AF`}}{d{AbMj}}}N`}0{{{d{AFh}}{d{AbMj}}}N`}{{{d{AF`}}}AF`}{AG`AEl}{cc{}}00000{{{d{AFh}}{d{Abc}}}LnABf}{{}c{}}00000{AElACj}{AElc{}}{{{d{AEl}}}c{}}{{{d{AF`}}}Md}{{{d{AF`}}}AFj}{{ABlc}AElAEn}{{ce}AElAGbAEn}{ACh{{n{ACf}}}}{{{d{AF`}}}{{n{c}}}ACf}{{{ACl{}{{ADb{c}}}}ACd}{{n{c}}}{}}{ACh{{n{AFh}}}}{{{ACl{}{{ADb{c}}}}ACj}{{n{c}}}{}}{{{d{AF`}}}{{n{{ADh{AEbADfAF`}}}}}}{{{ACl{}{{ADb{c}}}}{d{j}}}{{n{c}}}{}}{{{d{AF`}}{AFb{ACh}{{ADb{{n{c}}}}}}e}{{n{{AGd{c}}}}}{}AGf}{{{d{AFj}}c}MdAGf}{AE`Md}{{{d{AF`}}c}MdAGf}00{{{d{AEl}}}ABl}{{{d{AF`}}}ABl}{dABl}{{{d{AF`}}e}{{n{c}}}{}{{AGh{AFf}{{ADb{{n{{ADh{cAE`}}}}}}}}}}{{{d{AEl}}}ACj}{dc{}}000{dADj}0{{{d{AFh}}{d{AbACj}}}Ln}{c{{Mn{e}}}{}{}}00000{{}{{Mn{c}}}{}}00000{dADl}00000``{{{d{AGj}}{d{AGj}}}Ln}{{{d{AGl}}}{{n{{ADh{AEbADfAF`}}}}}}``````````{d{{d{c}}}{}}0000000{{{d{Ab}}}{{d{Abc}}}{}}0000000{{{d{Ab{AGd{ce}}}}}Ln{}{}}{{{d{{AGd{ce}}}}}{{AGd{ce}}}AGnAGn}{{{d{{AH`{ce}}}}}{{AH`{ce}}}{}{}}{{{d{{AHb{ce}}}}}{{AHb{ce}}}AGnAGn}{{{d{{AHd{c}}}}}{{AHd{c}}}AGn}{{{d{{ABh{c}}}}}{{ABh{c}}}{}}{{{d{{AHf{ce}}}}}{{AHf{ce}}}AGnAGn}{{{d{Ab{AGd{ce}}}}{d{{AGd{ce}}}}}LnAGnAGn}{{d{d{Abc}}}Ln{}}00000{{dM`}Ln}00000{{{AHf{{d{c}}{d{e}}}}}{{AHf{ce}}}AGnAGn}{{}{{AGd{ce}}}{}{}}{{{d{{AGd{ce}}}}}Md{}{}}{{{d{{AGd{ce}}}}{d{{AGd{ce}}}}}MdAHhAHh}{{{d{Ab{AGd{ce}}}}g}Ln{}AHj{{AFn{}{{AFl{{AHf{ce}}}}}}}}{{{d{Ab{AGd{ce}}}}g}Ln{}AHj{{AFn{}{{AFl{c}}}}}}{{{d{{AGd{ce}}}}}{{ABd{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABd{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}{d{AbMj}}}N`AHlAHl}{cc{}}0000000{e{{AGd{cg}}}{}{{AFn{}{{AFl{c}}}}}AHj}{g{{AGd{ce}}}{}{}{{AFn{}{{AFl{{AHf{ce}}}}}}}}{{{d{{AGd{ce}}}}AAn}{{ABd{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}AAn}{{ABd{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}{d{Abg}}}LnAHnAHnABf}{{{d{{AGd{ce}}}}AAn}{{d{g}}}{}{}{}}{{{d{Ab{AGd{ce}}}}AAn}{{d{Abg}}}{}{}{}}{{{d{Ab{AGd{ce}}}}AAnc}Ln{}AHj}{{}c{}}0000000{{{d{Ab{AGd{ce}}}}}g{}{}{}}{{{d{{AGd{ce}}}}}g{}{}{}}{{{AGd{ce}}}g{}{}{}}{{}c{}}00000{{{AGd{ce}}}{{AHb{ce}}}{}{}}{{{AHf{ce}}}{{ADh{c{ABd{e}}}}}{}{}}{{{AHf{ce}}}c{}{}}{{{d{{AGd{ce}}}}}Md{}{}}{{{d{{AGd{ce}}}}}{{ABh{c}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABj{c}}}{}{}}{{{d{{AGd{ce}}}}}{{ABd{{d{c}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABd{{d{Abc}}}}}{}{}}{{{d{{AGd{ce}}}}}AAn{}{}}{{{d{{AH`{ce}}}}}AAn{}{}}{{{d{{AI`{ce}}}}}AAn{}{}}{{{d{{AHb{ce}}}}}AAn{}{}}{{{d{{AHd{c}}}}}AAn{}}{{{d{{ABh{c}}}}}AAn{}}{{{d{{ABj{c}}}}}AAn{}}{{}{{AGd{ce}}}{}{}}{{c{ABd{e}}}{{AHf{ce}}}{}{}}{{{d{Ab{AH`{ce}}}}}{{ABd{g}}}{}{}{}}{{{d{Ab{AI`{ce}}}}}{{ABd{g}}}{}{}{}}{{{d{Ab{AHb{ce}}}}}{{ABd{g}}}{}{}{}}{{{d{Ab{AHd{c}}}}}{{ABd{e}}}{}{}}{{{d{Ab{ABh{c}}}}}{{ABd{e}}}{}{}}{{{d{Ab{ABj{c}}}}}{{ABd{e}}}{}{}}543210{{{d{{AGd{ce}}}}}{{AH`{ce}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{AI`{ce}}}{}{}}{ACh{{n{{AGd{ce}}}}}ACf{AIbACf}}{{ACh{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{{AGd{ce}}}}}{}{AIbACf}}{ACh{{n{{AGd{ce}}}}}ACfACf}{{ACh{AFb{ACh}{{ADb{{n{c}}}}}}}{{n{{AGd{ce}}}}}{}ACf}{{{d{Ab{AGd{ce}}}}}{{ABd{{AHf{ce}}}}}{}{}}{{{d{Ab{AGd{ce}}}}}{{ABd{e}}}{}{}}{{{d{{AHf{ce}}}}}{{ABd{{d{e}}}}}{}{}}{{{d{Ab{AHf{ce}}}}}{{ABd{{d{Abe}}}}}{}{}}{{{d{Ab{AGd{ce}}}}c}Ln{}AHj}{{{d{Ab{AGd{ce}}}}e}Ln{}{}}{{{d{Ab{AGd{ce}}}}c}Ln{}{}}{{{d{{AH`{ce}}}}}{{ADh{AAn{ABd{AAn}}}}}{}{}}{{{d{{AI`{ce}}}}}{{ADh{AAn{ABd{AAn}}}}}{}{}}{{{d{{AHb{ce}}}}}{{ADh{AAn{ABd{AAn}}}}}{}{}}{{{d{{AHd{c}}}}}{{ADh{AAn{ABd{AAn}}}}}{}}{{{d{{ABh{c}}}}}{{ADh{AAn{ABd{AAn}}}}}{}}{{{d{{ABj{c}}}}}{{ADh{AAn{ABd{AAn}}}}}{}}{dABl}0{dc{}}00000{{{d{{AGd{ce}}}}{d{AbACj}}}LnAGbAGb}{{{d{{AHf{ce}}}}{d{AbACj}}}LnAGbAGb}{{{d{{AGd{ce}}}}}Md{}{}}{c{{Mn{e}}}{}{}}0000000{{}{{Mn{c}}}{}}0000000{dADl}0000000{{{d{{AHf{ce}}}}}{{d{c}}}{}{}}{{{d{Ab{AHf{ce}}}}}{{d{Abc}}}{}{}}`{{{d{AId}}}ABl}`````````````````````````````````````````````````````````````````````````````````````````````````````````{d{{d{c}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Ab}}}{{d{Abc}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{AIf}}}AIf}{{{d{Nl}}}Nl}{{{d{AIh}}}AIh}{{{d{AIj}}}AIj}{{{d{AIl}}}AIl}{{{d{AIn}}}AIn}{{{d{AJ`}}}AJ`}{{{d{AJb}}}AJb}{{{d{AJd}}}AJd}{{{d{AJf}}}AJf}{{{d{AJh}}}AJh}{{{d{AJj}}}AJj}{{{d{Nb}}}Nb}{{{d{AJl}}}AJl}{{{d{AJn}}}AJn}{{{d{AK`}}}AK`}{{{d{AKb}}}AKb}{{{d{AKd}}}AKd}{{{d{Nj}}}Nj}{{{d{AKf}}}AKf}{{{d{AKh}}}AKh}{{{d{AKj}}}AKj}{{{d{AKl}}}AKl}{{{d{AKn}}}AKn}{{{d{AL`}}}AL`}{{{d{ALb}}}ALb}{{{d{ALd}}}ALd}{{{d{ALf}}}ALf}{{{d{ALh}}}ALh}{{{d{ALj}}}ALj}{{{d{ALl}}}ALl}{{{d{ALn}}}ALn}{{{d{AM`}}}AM`}{{{d{AMb}}}AMb}{{{d{AMd}}}AMd}{{{d{AMf}}}AMf}{{{d{AMh}}}AMh}{{{d{AMj}}}AMj}{{{d{Nf}}}Nf}{{{d{Nh}}}Nh}{{{d{AMl}}}AMl}{{{d{AMn}}}AMn}{{{d{Nd}}}Nd}{{{d{AN`}}}AN`}{{{d{ANb}}}ANb}{{{d{ANd}}}ANd}{{{d{ANf}}}ANf}{{{d{ANh}}}ANh}{{{d{ANj}}}ANj}{{{d{ANl}}}ANl}{{{d{ANn}}}ANn}{{{d{AO`}}}AO`}{{{d{AOb}}}AOb}{{{d{AOd}}}AOd}{{{d{AOf}}}AOf}{{{d{AOh}}}AOh}{{{d{AOj}}}AOj}{{{d{AOl}}}AOl}{{{d{AOn}}}AOn}{{{d{B@`}}}B@`}{{{d{B@b}}}B@b}{{{d{B@d}}}B@d}{{{d{B@f}}}B@f}{{{d{B@h}}}B@h}{{{d{B@j}}}B@j}{{{d{B@l}}}B@l}{{{d{B@n}}}B@n}{{{d{BA`}}}BA`}{{{d{BAb}}}BAb}{{{d{BAd}}}BAd}{{{d{BAf}}}BAf}{{{d{BAh}}}BAh}{{{d{BAj}}}BAj}{{{d{BAl}}}BAl}{{{d{BAn}}}BAn}{{{d{BB`}}}BB`}{{{d{BBb}}}BBb}{{{d{BBd}}}BBd}{{{d{BBf}}}BBf}{{{d{BBh}}}BBh}{{{d{BBj}}}BBj}{{{d{BBl}}}BBl}{{{d{BBn}}}BBn}{{{d{BC`}}}BC`}{{{d{BCb}}}BCb}{{{d{BCd}}}BCd}{{{d{BCf}}}BCf}{{{d{BCh}}}BCh}{{{d{BCj}}}BCj}{{{d{BCl}}}BCl}{{{d{BCn}}}BCn}{{{d{BD`}}}BD`}{{{d{BDb}}}BDb}{{{d{BDd}}}BDd}{{{d{BDf}}}BDf}{{{d{BDh}}}BDh}{{{d{BDj}}}BDj}{{{d{BDl}}}BDl}{{{d{BDn}}}BDn}{{{d{BE`}}}BE`}{{{d{BEb}}}BEb}{{{d{BEd}}}BEd}{{{d{BEf}}}BEf}{{{d{BEh}}}BEh}{{d{d{Abc}}}Ln{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{dM`}Ln}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}AIf}{{}Nl}{{}AIh}{{}AIj}{{}AIl}{{}AIn}{{}AJ`}{{}AJb}{{}AJd}{{}AJf}{{}AJh}{{}AJj}{{}Nb}{{}AJl}{{}AJn}{{}AK`}{{}AKb}{{}AKd}{{}Nj}{{}AKf}{{}AKh}{{}AKj}{{}AKl}{{}AKn}{{}AL`}{{}ALb}{{}ALd}{{}ALf}{{}ALh}{{}ALj}{{}ALl}{{}ALn}{{}AM`}{{}AMb}{{}AMd}{{}AMf}{{}AMh}{{}AMj}{{}Nf}{{}Nh}{{}AMl}{{}AMn}{{}Nd}{{}AN`}{{}ANb}{{}ANd}{{}ANf}{{}ANh}{{}ANj}{{}ANl}{{}ANn}{{}AO`}{{}AOb}{{}AOd}{{}AOf}{{}AOh}{{}AOj}{{}AOl}{{}AOn}{{}B@`}{{}B@b}{{}B@d}{{}B@f}{{}B@h}{{}B@j}{{}B@l}{{}B@n}{{}BA`}{{}BAb}{{}BAd}{{}BAf}{{}BAh}{{}BAj}{{}BAl}{{}BAn}{{}BB`}{{}BBb}{{}BBd}{{}BBf}{{}BBh}{{}BBj}{{}BBl}{{}BBn}{{}BC`}{{}BCb}{{}BCd}{{}BCf}{{}BCh}{{}BCj}{{}BCl}{{}BCn}{{}BD`}{{}BDb}{{}BDd}{{}BDf}{{}BDh}{{}BDj}{{}BDl}{{}BDn}{{}BE`}{{}BEb}{{}BEd}{{}BEf}{{}BEh}{{{d{Nl}}}{{d{c}}}{}}{{{d{AOh}}}{{d{c}}}{}}{{{d{AOn}}}{{d{c}}}{}}{{{d{B@`}}}{{d{c}}}{}}{{{d{B@d}}}{{d{c}}}{}}{{{d{B@f}}}{{d{c}}}{}}{{{d{B@h}}}{{d{c}}}{}}{{{d{B@j}}}{{d{c}}}{}}{{{d{BAb}}}{{d{c}}}{}}{{{d{BAj}}}{{d{c}}}{}}{{{d{BB`}}}{{d{c}}}{}}{{{d{BBb}}}{{d{c}}}{}}{{{d{BBh}}}{{d{c}}}{}}{{{d{BBj}}}{{d{c}}}{}}{{{d{BCb}}}{{d{c}}}{}}{{{d{BCf}}}{{d{c}}}{}}{{{d{BCj}}}{{d{c}}}{}}{{{d{BCl}}}{{d{c}}}{}}{{{d{BD`}}}{{d{c}}}{}}{{{d{BDj}}}{{d{c}}}{}}{{{d{BDn}}}{{d{c}}}{}}{{{d{BEb}}}{{d{c}}}{}}{{{d{AbNl}}}{{d{Abc}}}{}}{{{d{AbAOh}}}{{d{Abc}}}{}}{{{d{AbAOn}}}{{d{Abc}}}{}}{{{d{AbB@`}}}{{d{Abc}}}{}}{{{d{AbB@d}}}{{d{Abc}}}{}}{{{d{AbB@f}}}{{d{Abc}}}{}}{{{d{AbB@h}}}{{d{Abc}}}{}}{{{d{AbB@j}}}{{d{Abc}}}{}}{{{d{AbBAb}}}{{d{Abc}}}{}}{{{d{AbBAj}}}{{d{Abc}}}{}}{{{d{AbBB`}}}{{d{Abc}}}{}}{{{d{AbBBb}}}{{d{Abc}}}{}}{{{d{AbBBh}}}{{d{Abc}}}{}}{{{d{AbBBj}}}{{d{Abc}}}{}}{{{d{AbBCb}}}{{d{Abc}}}{}}{{{d{AbBCf}}}{{d{Abc}}}{}}{{{d{AbBCj}}}{{d{Abc}}}{}}{{{d{AbBCl}}}{{d{Abc}}}{}}{{{d{AbBD`}}}{{d{Abc}}}{}}{{{d{AbBDj}}}{{d{Abc}}}{}}{{{d{AbBDn}}}{{d{Abc}}}{}}{{{d{AbBEb}}}{{d{Abc}}}{}}{{{d{AIf}}{d{AIf}}}Md}{{{d{Nl}}{d{Nl}}}Md}{{{d{AIh}}{d{AIh}}}Md}{{{d{AIj}}{d{AIj}}}Md}{{{d{AIl}}{d{AIl}}}Md}{{{d{AIn}}{d{AIn}}}Md}{{{d{AJ`}}{d{AJ`}}}Md}{{{d{AJb}}{d{AJb}}}Md}{{{d{AJd}}{d{AJd}}}Md}{{{d{AJf}}{d{AJf}}}Md}{{{d{AJh}}{d{AJh}}}Md}{{{d{AJj}}{d{AJj}}}Md}{{{d{Nb}}{d{Nb}}}Md}{{{d{AJl}}{d{AJl}}}Md}{{{d{AJn}}{d{AJn}}}Md}{{{d{AK`}}{d{AK`}}}Md}{{{d{AKb}}{d{AKb}}}Md}{{{d{AKd}}{d{AKd}}}Md}{{{d{Nj}}{d{Nj}}}Md}{{{d{AKf}}{d{AKf}}}Md}{{{d{AKh}}{d{AKh}}}Md}{{{d{AKj}}{d{AKj}}}Md}{{{d{AKl}}{d{AKl}}}Md}{{{d{AKn}}{d{AKn}}}Md}{{{d{AL`}}{d{AL`}}}Md}{{{d{ALb}}{d{ALb}}}Md}{{{d{ALd}}{d{ALd}}}Md}{{{d{ALf}}{d{ALf}}}Md}{{{d{ALh}}{d{ALh}}}Md}{{{d{ALj}}{d{ALj}}}Md}{{{d{ALl}}{d{ALl}}}Md}{{{d{ALn}}{d{ALn}}}Md}{{{d{AM`}}{d{AM`}}}Md}{{{d{AMb}}{d{AMb}}}Md}{{{d{AMd}}{d{AMd}}}Md}{{{d{AMf}}{d{AMf}}}Md}{{{d{AMh}}{d{AMh}}}Md}{{{d{AMj}}{d{AMj}}}Md}{{{d{Nf}}{d{Nf}}}Md}{{{d{Nh}}{d{Nh}}}Md}{{{d{AMl}}{d{AMl}}}Md}{{{d{AMn}}{d{AMn}}}Md}{{{d{Nd}}{d{Nd}}}Md}{{{d{AN`}}{d{AN`}}}Md}{{{d{ANb}}{d{ANb}}}Md}{{{d{ANd}}{d{ANd}}}Md}{{{d{ANf}}{d{ANf}}}Md}{{{d{ANh}}{d{ANh}}}Md}{{{d{ANj}}{d{ANj}}}Md}{{{d{ANl}}{d{ANl}}}Md}{{{d{ANn}}{d{ANn}}}Md}{{{d{AO`}}{d{AO`}}}Md}{{{d{AOb}}{d{AOb}}}Md}{{{d{AOd}}{d{AOd}}}Md}{{{d{AOf}}{d{AOf}}}Md}{{{d{AOh}}{d{AOh}}}Md}{{{d{AOj}}{d{AOj}}}Md}{{{d{AOl}}{d{AOl}}}Md}{{{d{AOn}}{d{AOn}}}Md}{{{d{B@`}}{d{B@`}}}Md}{{{d{B@b}}{d{B@b}}}Md}{{{d{B@d}}{d{B@d}}}Md}{{{d{B@f}}{d{B@f}}}Md}{{{d{B@h}}{d{B@h}}}Md}{{{d{B@j}}{d{B@j}}}Md}{{{d{B@l}}{d{B@l}}}Md}{{{d{B@n}}{d{B@n}}}Md}{{{d{BA`}}{d{BA`}}}Md}{{{d{BAb}}{d{BAb}}}Md}{{{d{BAd}}{d{BAd}}}Md}{{{d{BAf}}{d{BAf}}}Md}{{{d{BAh}}{d{BAh}}}Md}{{{d{BAj}}{d{BAj}}}Md}{{{d{BAl}}{d{BAl}}}Md}{{{d{BAn}}{d{BAn}}}Md}{{{d{BB`}}{d{BB`}}}Md}{{{d{BBb}}{d{BBb}}}Md}{{{d{BBd}}{d{BBd}}}Md}{{{d{BBf}}{d{BBf}}}Md}{{{d{BBh}}{d{BBh}}}Md}{{{d{BBj}}{d{BBj}}}Md}{{{d{BBl}}{d{BBl}}}Md}{{{d{BBn}}{d{BBn}}}Md}{{{d{BC`}}{d{BC`}}}Md}{{{d{BCb}}{d{BCb}}}Md}{{{d{BCd}}{d{BCd}}}Md}{{{d{BCf}}{d{BCf}}}Md}{{{d{BCh}}{d{BCh}}}Md}{{{d{BCj}}{d{BCj}}}Md}{{{d{BCl}}{d{BCl}}}Md}{{{d{BCn}}{d{BCn}}}Md}{{{d{BD`}}{d{BD`}}}Md}{{{d{BDb}}{d{BDb}}}Md}{{{d{BDd}}{d{BDd}}}Md}{{{d{BDf}}{d{BDf}}}Md}{{{d{BDh}}{d{BDh}}}Md}{{{d{BDj}}{d{BDj}}}Md}{{{d{BDl}}{d{BDl}}}Md}{{{d{BDn}}{d{BDn}}}Md}{{{d{BE`}}{d{BE`}}}Md}{{{d{BEb}}{d{BEb}}}Md}{{{d{BEd}}{d{BEd}}}Md}{{{d{BEf}}{d{BEf}}}Md}{{{d{BEh}}{d{BEh}}}Md}{{{d{AIf}}{d{AbMj}}}N`}{{{d{Nl}}{d{AbMj}}}N`}{{{d{AIh}}{d{AbMj}}}N`}{{{d{AIj}}{d{AbMj}}}N`}{{{d{AIl}}{d{AbMj}}}N`}{{{d{AIn}}{d{AbMj}}}N`}{{{d{AJ`}}{d{AbMj}}}N`}{{{d{AJb}}{d{AbMj}}}N`}{{{d{AJd}}{d{AbMj}}}N`}{{{d{AJf}}{d{AbMj}}}N`}{{{d{AJh}}{d{AbMj}}}N`}{{{d{AJj}}{d{AbMj}}}N`}{{{d{Nb}}{d{AbMj}}}N`}{{{d{AJl}}{d{AbMj}}}N`}{{{d{AJn}}{d{AbMj}}}N`}{{{d{AK`}}{d{AbMj}}}N`}{{{d{AKb}}{d{AbMj}}}N`}{{{d{AKd}}{d{AbMj}}}N`}{{{d{Nj}}{d{AbMj}}}N`}{{{d{AKf}}{d{AbMj}}}N`}{{{d{AKh}}{d{AbMj}}}N`}{{{d{AKj}}{d{AbMj}}}N`}{{{d{AKl}}{d{AbMj}}}N`}{{{d{AKn}}{d{AbMj}}}N`}{{{d{AL`}}{d{AbMj}}}N`}{{{d{ALb}}{d{AbMj}}}N`}{{{d{ALd}}{d{AbMj}}}N`}{{{d{ALf}}{d{AbMj}}}N`}{{{d{ALh}}{d{AbMj}}}N`}{{{d{ALj}}{d{AbMj}}}N`}{{{d{ALl}}{d{AbMj}}}N`}{{{d{ALn}}{d{AbMj}}}N`}{{{d{AM`}}{d{AbMj}}}N`}{{{d{AMb}}{d{AbMj}}}N`}{{{d{AMd}}{d{AbMj}}}N`}{{{d{AMf}}{d{AbMj}}}N`}{{{d{AMh}}{d{AbMj}}}N`}{{{d{AMj}}{d{AbMj}}}N`}{{{d{Nf}}{d{AbMj}}}N`}{{{d{Nh}}{d{AbMj}}}N`}{{{d{AMl}}{d{AbMj}}}N`}{{{d{AMn}}{d{AbMj}}}N`}{{{d{Nd}}{d{AbMj}}}N`}{{{d{AN`}}{d{AbMj}}}N`}{{{d{ANb}}{d{AbMj}}}N`}{{{d{ANd}}{d{AbMj}}}N`}{{{d{ANf}}{d{AbMj}}}N`}{{{d{ANh}}{d{AbMj}}}N`}{{{d{ANj}}{d{AbMj}}}N`}{{{d{ANl}}{d{AbMj}}}N`}{{{d{ANn}}{d{AbMj}}}N`}{{{d{AO`}}{d{AbMj}}}N`}{{{d{AOb}}{d{AbMj}}}N`}{{{d{AOd}}{d{AbMj}}}N`}{{{d{AOf}}{d{AbMj}}}N`}{{{d{AOh}}{d{AbMj}}}N`}{{{d{AOj}}{d{AbMj}}}N`}{{{d{AOl}}{d{AbMj}}}N`}{{{d{AOn}}{d{AbMj}}}N`}{{{d{B@`}}{d{AbMj}}}N`}{{{d{B@b}}{d{AbMj}}}N`}{{{d{B@d}}{d{AbMj}}}N`}{{{d{B@f}}{d{AbMj}}}N`}{{{d{B@h}}{d{AbMj}}}N`}{{{d{B@j}}{d{AbMj}}}N`}{{{d{B@l}}{d{AbMj}}}N`}{{{d{B@n}}{d{AbMj}}}N`}{{{d{BA`}}{d{AbMj}}}N`}{{{d{BAb}}{d{AbMj}}}N`}{{{d{BAd}}{d{AbMj}}}N`}{{{d{BAf}}{d{AbMj}}}N`}{{{d{BAh}}{d{AbMj}}}N`}{{{d{BAj}}{d{AbMj}}}N`}{{{d{BAl}}{d{AbMj}}}N`}{{{d{BAn}}{d{AbMj}}}N`}{{{d{BB`}}{d{AbMj}}}N`}{{{d{BBb}}{d{AbMj}}}N`}{{{d{BBd}}{d{AbMj}}}N`}{{{d{BBf}}{d{AbMj}}}N`}{{{d{BBh}}{d{AbMj}}}N`}{{{d{BBj}}{d{AbMj}}}N`}{{{d{BBl}}{d{AbMj}}}N`}{{{d{BBn}}{d{AbMj}}}N`}{{{d{BC`}}{d{AbMj}}}N`}{{{d{BCb}}{d{AbMj}}}N`}{{{d{BCd}}{d{AbMj}}}N`}{{{d{BCf}}{d{AbMj}}}N`}{{{d{BCh}}{d{AbMj}}}N`}{{{d{BCj}}{d{AbMj}}}N`}{{{d{BCl}}{d{AbMj}}}N`}{{{d{BCn}}{d{AbMj}}}N`}{{{d{BD`}}{d{AbMj}}}N`}{{{d{BDb}}{d{AbMj}}}N`}{{{d{BDd}}{d{AbMj}}}N`}{{{d{BDf}}{d{AbMj}}}N`}{{{d{BDh}}{d{AbMj}}}N`}{{{d{BDj}}{d{AbMj}}}N`}{{{d{BDl}}{d{AbMj}}}N`}{{{d{BDn}}{d{AbMj}}}N`}{{{d{BE`}}{d{AbMj}}}N`}{{{d{BEb}}{d{AbMj}}}N`}{{{d{BEd}}{d{AbMj}}}N`}{{{d{BEf}}{d{AbMj}}}N`}{{{d{BEh}}{d{AbMj}}}N`}{cc{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{AIf}}{d{Abc}}}LnABf}{{{d{Nl}}{d{Abc}}}LnABf}{{{d{AIh}}{d{Abc}}}LnABf}{{{d{AIj}}{d{Abc}}}LnABf}{{{d{AIl}}{d{Abc}}}LnABf}{{{d{AIn}}{d{Abc}}}LnABf}{{{d{AJ`}}{d{Abc}}}LnABf}{{{d{AJb}}{d{Abc}}}LnABf}{{{d{AJd}}{d{Abc}}}LnABf}{{{d{AJf}}{d{Abc}}}LnABf}{{{d{AJh}}{d{Abc}}}LnABf}{{{d{AJj}}{d{Abc}}}LnABf}{{{d{Nb}}{d{Abc}}}LnABf}{{{d{AJl}}{d{Abc}}}LnABf}{{{d{AJn}}{d{Abc}}}LnABf}{{{d{AK`}}{d{Abc}}}LnABf}{{{d{AKb}}{d{Abc}}}LnABf}{{{d{AKd}}{d{Abc}}}LnABf}{{{d{Nj}}{d{Abc}}}LnABf}{{{d{AKf}}{d{Abc}}}LnABf}{{{d{AKh}}{d{Abc}}}LnABf}{{{d{AKj}}{d{Abc}}}LnABf}{{{d{AKl}}{d{Abc}}}LnABf}{{{d{AKn}}{d{Abc}}}LnABf}{{{d{AL`}}{d{Abc}}}LnABf}{{{d{ALb}}{d{Abc}}}LnABf}{{{d{ALd}}{d{Abc}}}LnABf}{{{d{ALf}}{d{Abc}}}LnABf}{{{d{ALh}}{d{Abc}}}LnABf}{{{d{ALj}}{d{Abc}}}LnABf}{{{d{ALl}}{d{Abc}}}LnABf}{{{d{ALn}}{d{Abc}}}LnABf}{{{d{AM`}}{d{Abc}}}LnABf}{{{d{AMb}}{d{Abc}}}LnABf}{{{d{AMd}}{d{Abc}}}LnABf}{{{d{AMf}}{d{Abc}}}LnABf}{{{d{AMh}}{d{Abc}}}LnABf}{{{d{AMj}}{d{Abc}}}LnABf}{{{d{Nf}}{d{Abc}}}LnABf}{{{d{Nh}}{d{Abc}}}LnABf}{{{d{AMl}}{d{Abc}}}LnABf}{{{d{AMn}}{d{Abc}}}LnABf}{{{d{Nd}}{d{Abc}}}LnABf}{{{d{AN`}}{d{Abc}}}LnABf}{{{d{ANb}}{d{Abc}}}LnABf}{{{d{ANd}}{d{Abc}}}LnABf}{{{d{ANf}}{d{Abc}}}LnABf}{{{d{ANh}}{d{Abc}}}LnABf}{{{d{ANj}}{d{Abc}}}LnABf}{{{d{ANl}}{d{Abc}}}LnABf}{{{d{ANn}}{d{Abc}}}LnABf}{{{d{AO`}}{d{Abc}}}LnABf}{{{d{AOb}}{d{Abc}}}LnABf}{{{d{AOd}}{d{Abc}}}LnABf}{{{d{AOf}}{d{Abc}}}LnABf}{{{d{AOh}}{d{Abc}}}LnABf}{{{d{AOj}}{d{Abc}}}LnABf}{{{d{AOl}}{d{Abc}}}LnABf}{{{d{AOn}}{d{Abc}}}LnABf}{{{d{B@`}}{d{Abc}}}LnABf}{{{d{B@b}}{d{Abc}}}LnABf}{{{d{B@d}}{d{Abc}}}LnABf}{{{d{B@f}}{d{Abc}}}LnABf}{{{d{B@h}}{d{Abc}}}LnABf}{{{d{B@j}}{d{Abc}}}LnABf}{{{d{B@l}}{d{Abc}}}LnABf}{{{d{B@n}}{d{Abc}}}LnABf}{{{d{BA`}}{d{Abc}}}LnABf}{{{d{BAb}}{d{Abc}}}LnABf}{{{d{BAd}}{d{Abc}}}LnABf}{{{d{BAf}}{d{Abc}}}LnABf}{{{d{BAh}}{d{Abc}}}LnABf}{{{d{BAj}}{d{Abc}}}LnABf}{{{d{BAl}}{d{Abc}}}LnABf}{{{d{BAn}}{d{Abc}}}LnABf}{{{d{BB`}}{d{Abc}}}LnABf}{{{d{BBb}}{d{Abc}}}LnABf}{{{d{BBd}}{d{Abc}}}LnABf}{{{d{BBf}}{d{Abc}}}LnABf}{{{d{BBh}}{d{Abc}}}LnABf}{{{d{BBj}}{d{Abc}}}LnABf}{{{d{BBl}}{d{Abc}}}LnABf}{{{d{BBn}}{d{Abc}}}LnABf}{{{d{BC`}}{d{Abc}}}LnABf}{{{d{BCb}}{d{Abc}}}LnABf}{{{d{BCd}}{d{Abc}}}LnABf}{{{d{BCf}}{d{Abc}}}LnABf}{{{d{BCh}}{d{Abc}}}LnABf}{{{d{BCj}}{d{Abc}}}LnABf}{{{d{BCl}}{d{Abc}}}LnABf}{{{d{BCn}}{d{Abc}}}LnABf}{{{d{BD`}}{d{Abc}}}LnABf}{{{d{BDb}}{d{Abc}}}LnABf}{{{d{BDd}}{d{Abc}}}LnABf}{{{d{BDf}}{d{Abc}}}LnABf}{{{d{BDh}}{d{Abc}}}LnABf}{{{d{BDj}}{d{Abc}}}LnABf}{{{d{BDl}}{d{Abc}}}LnABf}{{{d{BDn}}{d{Abc}}}LnABf}{{{d{BE`}}{d{Abc}}}LnABf}{{{d{BEb}}{d{Abc}}}LnABf}{{{d{BEd}}{d{Abc}}}LnABf}{{{d{BEf}}{d{Abc}}}LnABf}{{{d{BEh}}{d{Abc}}}LnABf}{{}c{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{ACh{{n{Nl}}}}{ACh{{n{AIh}}}}{ACh{{n{AIj}}}}{ACh{{n{AIl}}}}{ACh{{n{AIn}}}}{ACh{{n{AJ`}}}}{ACh{{n{AJb}}}}{ACh{{n{AJd}}}}{ACh{{n{AJf}}}}{ACh{{n{AJh}}}}{ACh{{n{AJj}}}}{ACh{{n{Nb}}}}{ACh{{n{AJl}}}}{ACh{{n{AJn}}}}{ACh{{n{AK`}}}}{ACh{{n{AKb}}}}{ACh{{n{AKd}}}}{ACh{{n{Nj}}}}{ACh{{n{AKf}}}}{ACh{{n{AKh}}}}{ACh{{n{AKj}}}}{ACh{{n{AKl}}}}{ACh{{n{AKn}}}}{ACh{{n{AL`}}}}{ACh{{n{ALb}}}}{ACh{{n{ALd}}}}{ACh{{n{ALf}}}}{ACh{{n{ALh}}}}{ACh{{n{ALj}}}}{ACh{{n{ALl}}}}{ACh{{n{ALn}}}}{ACh{{n{AM`}}}}{ACh{{n{AMb}}}}{ACh{{n{AMd}}}}{ACh{{n{AMf}}}}{ACh{{n{AMh}}}}{ACh{{n{AMj}}}}{ACh{{n{Nf}}}}{ACh{{n{Nh}}}}{ACh{{n{AMl}}}}{ACh{{n{AMn}}}}{ACh{{n{Nd}}}}{ACh{{n{AN`}}}}{ACh{{n{ANb}}}}{ACh{{n{ANd}}}}{ACh{{n{ANf}}}}{ACh{{n{ANh}}}}{ACh{{n{ANj}}}}{ACh{{n{ANl}}}}{ACh{{n{ANn}}}}{ACh{{n{AO`}}}}{ACh{{n{AOb}}}}{ACh{{n{AOd}}}}{ACh{{n{AOf}}}}{ACh{{n{AOh}}}}{ACh{{n{AOj}}}}{ACh{{n{AOl}}}}{ACh{{n{AOn}}}}{ACh{{n{B@`}}}}{ACh{{n{B@b}}}}{ACh{{n{B@d}}}}{ACh{{n{B@f}}}}{ACh{{n{B@h}}}}{ACh{{n{B@j}}}}{ACh{{n{B@l}}}}{ACh{{n{B@n}}}}{ACh{{n{BA`}}}}{ACh{{n{BAb}}}}{ACh{{n{BAd}}}}{ACh{{n{BAf}}}}{ACh{{n{BAh}}}}{ACh{{n{BAj}}}}{ACh{{n{BAl}}}}{ACh{{n{BAn}}}}{ACh{{n{BB`}}}}{ACh{{n{BBb}}}}{ACh{{n{BBd}}}}{ACh{{n{BBf}}}}{ACh{{n{BBh}}}}{ACh{{n{BBj}}}}{ACh{{n{BBl}}}}{ACh{{n{BBn}}}}{ACh{{n{BC`}}}}{ACh{{n{BCb}}}}{ACh{{n{BCd}}}}{ACh{{n{BCf}}}}{ACh{{n{BCh}}}}{ACh{{n{BCj}}}}{ACh{{n{BCl}}}}{ACh{{n{BCn}}}}{ACh{{n{BD`}}}}{ACh{{n{BDb}}}}{ACh{{n{BDd}}}}{ACh{{n{BDf}}}}{ACh{{n{BDh}}}}{ACh{{n{BDj}}}}{ACh{{n{BDl}}}}{ACh{{n{BDn}}}}{ACh{{n{BE`}}}}{ACh{{n{BEb}}}}{dABl}000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{AIf}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEd}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEf}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{{{d{BEh}}{d{AbACj}}c}Ln{{AGh{{d{AbACj}}}}}}{dc{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{{d{Nl}}{d{AbACj}}}Ln}{{{d{AIh}}{d{AbACj}}}Ln}{{{d{AIj}}{d{AbACj}}}Ln}{{{d{AIl}}{d{AbACj}}}Ln}{{{d{AIn}}{d{AbACj}}}Ln}{{{d{AJ`}}{d{AbACj}}}Ln}{{{d{AJb}}{d{AbACj}}}Ln}{{{d{AJd}}{d{AbACj}}}Ln}{{{d{AJf}}{d{AbACj}}}Ln}{{{d{AJh}}{d{AbACj}}}Ln}{{{d{AJj}}{d{AbACj}}}Ln}{{{d{Nb}}{d{AbACj}}}Ln}{{{d{AJl}}{d{AbACj}}}Ln}{{{d{AJn}}{d{AbACj}}}Ln}{{{d{AK`}}{d{AbACj}}}Ln}{{{d{AKb}}{d{AbACj}}}Ln}{{{d{AKd}}{d{AbACj}}}Ln}{{{d{Nj}}{d{AbACj}}}Ln}{{{d{AKf}}{d{AbACj}}}Ln}{{{d{AKh}}{d{AbACj}}}Ln}{{{d{AKj}}{d{AbACj}}}Ln}{{{d{AKl}}{d{AbACj}}}Ln}{{{d{AKn}}{d{AbACj}}}Ln}{{{d{AL`}}{d{AbACj}}}Ln}{{{d{ALb}}{d{AbACj}}}Ln}{{{d{ALd}}{d{AbACj}}}Ln}{{{d{ALf}}{d{AbACj}}}Ln}{{{d{ALh}}{d{AbACj}}}Ln}{{{d{ALj}}{d{AbACj}}}Ln}{{{d{ALl}}{d{AbACj}}}Ln}{{{d{ALn}}{d{AbACj}}}Ln}{{{d{AM`}}{d{AbACj}}}Ln}{{{d{AMb}}{d{AbACj}}}Ln}{{{d{AMd}}{d{AbACj}}}Ln}{{{d{AMf}}{d{AbACj}}}Ln}{{{d{AMh}}{d{AbACj}}}Ln}{{{d{AMj}}{d{AbACj}}}Ln}{{{d{Nf}}{d{AbACj}}}Ln}{{{d{Nh}}{d{AbACj}}}Ln}{{{d{AMl}}{d{AbACj}}}Ln}{{{d{AMn}}{d{AbACj}}}Ln}{{{d{Nd}}{d{AbACj}}}Ln}{{{d{AN`}}{d{AbACj}}}Ln}{{{d{ANb}}{d{AbACj}}}Ln}{{{d{ANd}}{d{AbACj}}}Ln}{{{d{ANf}}{d{AbACj}}}Ln}{{{d{ANh}}{d{AbACj}}}Ln}{{{d{ANj}}{d{AbACj}}}Ln}{{{d{ANl}}{d{AbACj}}}Ln}{{{d{ANn}}{d{AbACj}}}Ln}{{{d{AO`}}{d{AbACj}}}Ln}{{{d{AOb}}{d{AbACj}}}Ln}{{{d{AOd}}{d{AbACj}}}Ln}{{{d{AOf}}{d{AbACj}}}Ln}{{{d{AOh}}{d{AbACj}}}Ln}{{{d{AOj}}{d{AbACj}}}Ln}{{{d{AOl}}{d{AbACj}}}Ln}{{{d{AOn}}{d{AbACj}}}Ln}{{{d{B@`}}{d{AbACj}}}Ln}{{{d{B@b}}{d{AbACj}}}Ln}{{{d{B@d}}{d{AbACj}}}Ln}{{{d{B@f}}{d{AbACj}}}Ln}{{{d{B@h}}{d{AbACj}}}Ln}{{{d{B@j}}{d{AbACj}}}Ln}{{{d{B@l}}{d{AbACj}}}Ln}{{{d{B@n}}{d{AbACj}}}Ln}{{{d{BA`}}{d{AbACj}}}Ln}{{{d{BAb}}{d{AbACj}}}Ln}{{{d{BAd}}{d{AbACj}}}Ln}{{{d{BAf}}{d{AbACj}}}Ln}{{{d{BAh}}{d{AbACj}}}Ln}{{{d{BAj}}{d{AbACj}}}Ln}{{{d{BAl}}{d{AbACj}}}Ln}{{{d{BAn}}{d{AbACj}}}Ln}{{{d{BB`}}{d{AbACj}}}Ln}{{{d{BBb}}{d{AbACj}}}Ln}{{{d{BBd}}{d{AbACj}}}Ln}{{{d{BBf}}{d{AbACj}}}Ln}{{{d{BBh}}{d{AbACj}}}Ln}{{{d{BBj}}{d{AbACj}}}Ln}{{{d{BBl}}{d{AbACj}}}Ln}{{{d{BBn}}{d{AbACj}}}Ln}{{{d{BC`}}{d{AbACj}}}Ln}{{{d{BCb}}{d{AbACj}}}Ln}{{{d{BCd}}{d{AbACj}}}Ln}{{{d{BCf}}{d{AbACj}}}Ln}{{{d{BCh}}{d{AbACj}}}Ln}{{{d{BCj}}{d{AbACj}}}Ln}{{{d{BCl}}{d{AbACj}}}Ln}{{{d{BCn}}{d{AbACj}}}Ln}{{{d{BD`}}{d{AbACj}}}Ln}{{{d{BDb}}{d{AbACj}}}Ln}{{{d{BDd}}{d{AbACj}}}Ln}{{{d{BDf}}{d{AbACj}}}Ln}{{{d{BDh}}{d{AbACj}}}Ln}{{{d{BDj}}{d{AbACj}}}Ln}{{{d{BDl}}{d{AbACj}}}Ln}{{{d{BDn}}{d{AbACj}}}Ln}{{{d{BE`}}{d{AbACj}}}Ln}{{{d{BEb}}{d{AbACj}}}Ln}{c{{Mn{e}}}{}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{{}{{Mn{c}}}{}}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000{dADl}0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`{{{d{Abc}}{d{Lf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Lf}}}Ln}0{{{d{Abc}}{d{If}}}Ln{BEjMh}}{{{d{AbBEj}}{d{If}}}Ln}0{{{d{Abc}}{d{Ij}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ij}}}Ln}0{{{d{Abc}}{d{Ih}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ih}}}Ln}0{{{d{Abc}}{d{Al}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Al}}}Ln}0{{{d{Abc}}{d{Aj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Aj}}}Ln}0{{{d{Abc}}{d{Lh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Lh}}}Ln}0{{{d{Abc}}{d{Lj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Lj}}}Ln}0{{{d{Abc}}{d{Hj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hj}}}Ln}0{{{d{Abc}}{d{Fh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fh}}}Ln}0{{{d{Abc}}{d{Ff}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ff}}}Ln}0{{{d{Abc}}{d{Il}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Il}}}Ln}0{{{d{Abc}}{d{C`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{C`}}}Ln}0{{{d{Abc}}{d{Cd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cd}}}Ln}0{{{d{Abc}}{d{Cb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cb}}}Ln}0{{{d{Abc}}{d{Cf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cf}}}Ln}0{{{d{Abc}}{d{Bn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bn}}}Ln}0{{{d{Abc}}{d{Ch}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ch}}}Ln}0{{{d{Abc}}{d{Cj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cj}}}Ln}0{{{d{Abc}}{d{Cl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cl}}}Ln}0{{{d{Abc}}{d{Cn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Cn}}}Ln}0{{{d{Abc}}{d{D`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{D`}}}Ln}0{{{d{Abc}}{d{Db}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Db}}}Ln}0{{{d{Abc}}{d{Dd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Dd}}}Ln}0{{{d{Abc}}{d{Df}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Df}}}Ln}0{{{d{Abc}}{d{Dh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Dh}}}Ln}0{{{d{Abc}}{d{Dj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Dj}}}Ln}0{{{d{Abc}}{d{Dl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Dl}}}Ln}0{{{d{Abc}}{d{Dn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Dn}}}Ln}0{{{d{Abc}}{d{E`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{E`}}}Ln}0{{{d{Abc}}{d{Eb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Eb}}}Ln}0{{{d{Abc}}{d{Ed}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ed}}}Ln}0{{{d{Abc}}{d{Ef}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ef}}}Ln}0{{{d{Abc}}{d{Bl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bl}}}Ln}0{{{d{Abc}}{d{Jf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jf}}}Ln}0{{{d{Abc}}{d{El}}}Ln{BEjMh}}{{{d{AbBEj}}{d{El}}}Ln}0{{{d{Abc}}{d{Bf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bf}}}Ln}0{{{d{Abc}}{d{Bh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bh}}}Ln}0{{{d{Abc}}{d{Bj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bj}}}Ln}0{{{d{Abc}}{d{Id}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Id}}}Ln}0{{{d{Abc}}{d{F`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{F`}}}Ln}0{{{d{Abc}}{d{En}}}Ln{BEjMh}}{{{d{AbBEj}}{d{En}}}Ln}0{{{d{Abc}}{d{Ad}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ad}}}Ln}0{{{d{Abc}}{d{Ej}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ej}}}Ln}0{{{d{Abc}}{d{Ah}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ah}}}Ln}0{{{d{Abc}}{d{Fb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fb}}}Ln}0{{{d{Abc}}{d{Gh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gh}}}Ln}0{{{d{Abc}}{d{Hd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hd}}}Ln}0{{{d{Abc}}{d{H`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{H`}}}Ln}0{{{d{Abc}}{d{Gl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gl}}}Ln}0{{{d{Abc}}{d{Hb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hb}}}Ln}0{{{d{Abc}}{d{Gn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gn}}}Ln}0{{{d{Abc}}{d{l}}}Ln{BEjMh}}{{{d{AbBEj}}{d{l}}}Ln}0{{{d{Abc}}{d{h}}}Ln{BEjMh}}{{{d{AbBEj}}{d{h}}}Ln}0{{{d{Abc}}{d{Gj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gj}}}Ln}0{{{d{Abc}}{d{Hf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hf}}}Ln}0{{{d{Abc}}{d{Hh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hh}}}Ln}0{{{d{Abc}}{d{Eh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Eh}}}Ln}0{{{d{Abc}}{d{An}}}Ln{BEjMh}}{{{d{AbBEj}}{d{An}}}Ln}0{{{d{Abc}}{d{B`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{B`}}}Ln}0{{{d{Abc}}{d{Bb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bb}}}Ln}0{{{d{Abc}}{d{In}}}Ln{BEjMh}}{{{d{AbBEj}}{d{In}}}Ln}0{{{d{Abc}}{d{Hn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hn}}}Ln}0{{{d{Abc}}{d{Ib}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ib}}}Ln}0{{{d{Abc}}{d{I`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{I`}}}Ln}0{{{d{Abc}}{d{Gd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gd}}}Ln}0{{{d{Abc}}{d{Gf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gf}}}Ln}0{{{d{Abc}}{d{J`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{J`}}}Ln}0{{{d{Abc}}{d{Ll}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ll}}}Ln}0{{{d{Abc}}{d{ABl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{ABl}}}Ln}0{{{d{Abc}}{d{Fl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fl}}}Ln}0{{{d{Abc}}{d{Fn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fn}}}Ln}0{{{d{Abc}}{d{Jh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jh}}}Ln}0{{{d{Abc}}{d{Jj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jj}}}Ln}0{{{d{Abc}}{d{Jl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jl}}}Ln}0{{{d{Abc}}{d{Jn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jn}}}Ln}0{{{d{Abc}}{d{K`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{K`}}}Ln}0{{{d{Abc}}{d{Kb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kb}}}Ln}0{{{d{Abc}}{d{Kd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kd}}}Ln}0{{{d{Abc}}{d{Kf}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kf}}}Ln}0{{{d{Abc}}{d{Fd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fd}}}Ln}0{{{d{Abc}}{d{Fj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Fj}}}Ln}0{{{d{Abc}}{d{Kh}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kh}}}Ln}0{{{d{Abc}}{d{Kj}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kj}}}Ln}0{{{d{Abc}}{d{Kl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kl}}}Ln}0{{{d{Abc}}{d{Kn}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Kn}}}Ln}0{{{d{Abc}}{d{L`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{L`}}}Ln}0{{{d{Abc}}{d{Lb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Lb}}}Ln}0{{{d{Abc}}{d{Ld}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Ld}}}Ln}0{{{d{Abc}}{d{Hl}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Hl}}}Ln}0{{{d{Abc}}{d{Bd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Bd}}}Ln}0{{{d{Abc}}{d{Jd}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jd}}}Ln}0{{{d{Abc}}{d{Jb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Jb}}}Ln}0{{{d{Abc}}{d{G`}}}Ln{BEjMh}}{{{d{AbBEj}}{d{G`}}}Ln}0{{{d{Abc}}{d{Gb}}}Ln{BEjMh}}{{{d{AbBEj}}{d{Gb}}}Ln}0","D":"H@f","p":[[5,"TypeGenerics",0,5302],[1,"reference",null,null,1],[5,"Turbofish",0,5302],[5,"LitInt",0,5303],[1,"str"],[5,"LitFloat",0,5303],[8,"Result",2599,5304],[10,"FromStr",5305],[0,"mut"],[5,"Ident",0,5306],[5,"ImplGenerics",0,5302],[5,"Lifetime",0,5307],[5,"Attribute",0,5308],[6,"AttrStyle",0,5308],[6,"Meta",0,5308],[5,"MetaList",0,5308],[5,"MetaNameValue",0,5308],[5,"Variant",0,5309],[6,"Fields",0,5309],[5,"FieldsNamed",0,5309],[5,"FieldsUnnamed",0,5309],[5,"Field",0,5309],[5,"DeriveInput",0,5310],[6,"Data",0,5310],[5,"DataStruct",0,5310],[5,"DataEnum",0,5310],[5,"DataUnion",0,5310],[6,"Expr",0,5311],[5,"ExprBinary",0,5311],[5,"ExprCall",0,5311],[5,"ExprCast",0,5311],[5,"ExprField",0,5311],[5,"ExprGroup",0,5311],[5,"ExprIndex",0,5311],[5,"ExprLit",0,5311],[5,"ExprMacro",0,5311],[5,"ExprMethodCall",0,5311],[5,"ExprParen",0,5311],[5,"ExprPath",0,5311],[5,"ExprReference",0,5311],[5,"ExprStruct",0,5311],[5,"ExprTuple",0,5311],[5,"ExprUnary",0,5311],[6,"Member",0,5311],[5,"Index",0,5311],[5,"FieldValue",0,5311],[5,"Generics",0,5302],[6,"GenericParam",0,5302],[5,"LifetimeParam",0,5302],[5,"TypeParam",0,5302],[5,"ConstParam",0,5302],[5,"BoundLifetimes",0,5302],[6,"TypeParamBound",0,5302],[5,"TraitBound",0,5302],[6,"TraitBoundModifier",0,5302],[5,"WhereClause",0,5302],[6,"WherePredicate",0,5302],[5,"PredicateLifetime",0,5302],[5,"PredicateType",0,5302],[6,"Lit",0,5303],[5,"LitStr",0,5303],[5,"LitByteStr",0,5303],[5,"LitCStr",0,5303],[5,"LitByte",0,5303],[5,"LitChar",0,5303],[5,"LitBool",0,5303],[5,"Macro",0,5312],[6,"MacroDelimiter",0,5312],[6,"BinOp",0,5313],[6,"UnOp",0,5313],[5,"Path",0,5314],[5,"PathSegment",0,5314],[6,"PathArguments",0,5314],[6,"GenericArgument",0,5314],[5,"AngleBracketedGenericArguments",0,5314],[5,"AssocType",0,5314],[5,"AssocConst",0,5314],[5,"Constraint",0,5314],[5,"ParenthesizedGenericArguments",0,5314],[5,"QSelf",0,5314],[6,"Visibility",0,5315],[5,"VisRestricted",0,5315],[6,"FieldMutability",0,5315],[6,"Type",0,5316],[5,"TypeArray",0,5316],[5,"TypeBareFn",0,5316],[5,"TypeGroup",0,5316],[5,"TypeImplTrait",0,5316],[5,"TypeInfer",0,5316],[5,"TypeMacro",0,5316],[5,"TypeNever",0,5316],[5,"TypeParen",0,5316],[5,"TypePath",0,5316],[5,"TypePtr",0,5316],[5,"TypeReference",0,5316],[5,"TypeSlice",0,5316],[5,"TypeTraitObject",0,5316],[5,"TypeTuple",0,5316],[5,"Abi",0,5316],[5,"BareFnArg",0,5316],[5,"BareVariadic",0,5316],[6,"ReturnType",0,5316],[1,"unit"],[1,"u8"],[6,"Ordering",5317],[1,"bool"],[10,"AsRef",5318],[10,"Sized",5319],[5,"Formatter",5320],[5,"Error",5320],[6,"Result",5321,null,1],[8,"Result",5320],[5,"Crate",2899],[5,"Super",2899],[5,"SelfType",2899],[5,"SelfValue",2899],[5,"Extern",2899],[5,"Underscore",2899],[5,"ExprMatch",0,5311],[5,"ExprRange",0,5311],[5,"ExprLoop",0,5311],[5,"ExprLet",0,5311],[5,"ExprInfer",0,5311],[5,"ExprIf",0,5311],[5,"ExprForLoop",0,5311],[5,"ExprRawAddr",0,5311],[5,"ExprYield",0,5311],[5,"ExprWhile",0,5311],[5,"ExprRepeat",0,5311],[5,"ExprUnsafe",0,5311],[5,"ExprContinue",0,5311],[5,"ExprConst",0,5311],[5,"ExprClosure",0,5311],[5,"ExprTryBlock",0,5311],[5,"ExprArray",0,5311],[5,"ExprAssign",0,5311],[5,"ExprTry",0,5311],[5,"ExprReturn",0,5311],[5,"ExprAsync",0,5311],[5,"ExprAwait",0,5311],[5,"ExprBlock",0,5311],[5,"ExprBreak",0,5311],[1,"usize"],[5,"Literal",5306],[10,"Into",5318],[6,"Option",5322,null,1],[10,"Hasher",5323],[5,"Iter",2724],[5,"IterMut",2724],[5,"Span",5306],[1,"slice"],[5,"CStr",5324],[1,"char"],[5,"TokenStream",5325],[10,"Parse",2599],[8,"ParseStream",2599],[5,"TokenStream",5306],[10,"Parser",2599],[5,"Vec",5326],[5,"ParseNestedMeta",2585],[17,"Output"],[10,"FnMut",5327],[5,"DelimSpan",5328],[1,"tuple",null,null,1],[5,"String",5329],[5,"TypeId",5330],[5,"CString",5331],[5,"Cursor",2545],[6,"Delimiter",5306],[5,"TokenBuffer",2545],[5,"Punct",5306],[6,"TokenTree",5306],[10,"IdentExt",2581],[5,"Error",2599,5304],[10,"Display",5320],[5,"ParseBuffer",2599],[1,"fn"],[5,"End",2599,5332],[5,"StepCursor",2599],[5,"Nothing",2599],[5,"Lookahead1",2599,5332],[17,"Item"],[10,"IntoIterator",5333],[5,"LexError",5306],[10,"ToTokens",5334],[5,"Punctuated",2724],[10,"Peek",2599,5332],[10,"FnOnce",5327],[10,"Speculative",2720],[10,"AnyDelimiter",2720],[10,"Clone",5335],[5,"Pairs",2724],[5,"IntoPairs",2724],[5,"IntoIter",2724],[6,"Pair",2724],[10,"PartialEq",5317],[10,"Default",5336],[10,"Debug",5320],[10,"Hash",5323],[5,"PairsMut",2724],[10,"Token",2899],[10,"Spanned",2897],[5,"Group",2899],[5,"Abstract",2899],[5,"As",2899],[5,"Async",2899],[5,"Auto",2899],[5,"Await",2899],[5,"Become",2899],[5,"Box",2899],[5,"Break",2899],[5,"Const",2899],[5,"Continue",2899],[5,"Default",2899],[5,"Do",2899],[5,"Dyn",2899],[5,"Else",2899],[5,"Enum",2899],[5,"Final",2899],[5,"Fn",2899],[5,"For",2899],[5,"If",2899],[5,"Impl",2899],[5,"In",2899],[5,"Let",2899],[5,"Loop",2899],[5,"Macro",2899],[5,"Match",2899],[5,"Mod",2899],[5,"Move",2899],[5,"Mut",2899],[5,"Override",2899],[5,"Priv",2899],[5,"Pub",2899],[5,"Raw",2899],[5,"Ref",2899],[5,"Return",2899],[5,"Static",2899],[5,"Struct",2899],[5,"Trait",2899],[5,"Try",2899],[5,"Type",2899],[5,"Typeof",2899],[5,"Union",2899],[5,"Unsafe",2899],[5,"Unsized",2899],[5,"Use",2899],[5,"Virtual",2899],[5,"Where",2899],[5,"While",2899],[5,"Yield",2899],[5,"And",2899],[5,"AndAnd",2899],[5,"AndEq",2899],[5,"At",2899],[5,"Caret",2899],[5,"CaretEq",2899],[5,"Colon",2899],[5,"Comma",2899],[5,"Dollar",2899],[5,"Dot",2899],[5,"DotDot",2899],[5,"DotDotDot",2899],[5,"DotDotEq",2899],[5,"Eq",2899],[5,"EqEq",2899],[5,"FatArrow",2899],[5,"Ge",2899],[5,"Gt",2899],[5,"LArrow",2899],[5,"Le",2899],[5,"Lt",2899],[5,"Minus",2899],[5,"MinusEq",2899],[5,"Ne",2899],[5,"Not",2899],[5,"Or",2899],[5,"OrEq",2899],[5,"OrOr",2899],[5,"PathSep",2899],[5,"Percent",2899],[5,"PercentEq",2899],[5,"Plus",2899],[5,"PlusEq",2899],[5,"Pound",2899],[5,"Question",2899],[5,"RArrow",2899],[5,"Semi",2899],[5,"Shl",2899],[5,"ShlEq",2899],[5,"Shr",2899],[5,"ShrEq",2899],[5,"Slash",2899],[5,"SlashEq",2899],[5,"Star",2899],[5,"StarEq",2899],[5,"Tilde",2899],[5,"Brace",2899],[5,"Bracket",2899],[5,"Paren",2899],[10,"Visit",5016,5337]],"r":[[0,5316],[5,5314],[9,5314],[11,5314],[14,5308],[15,5308],[18,5316],[19,5316],[20,5313],[30,5302],[44,5302],[45,5314],[48,5310],[49,5310],[50,5310],[51,5310],[54,5310],[60,5304],[61,5311],[62,5311],[63,5311],[64,5311],[65,5311],[66,5311],[67,5311],[68,5311],[69,5311],[70,5311],[71,5311],[72,5311],[73,5311],[74,5311],[75,5311],[76,5311],[77,5311],[78,5311],[79,5311],[80,5311],[81,5311],[82,5311],[83,5311],[84,5311],[85,5311],[86,5311],[87,5311],[88,5311],[89,5311],[90,5311],[91,5311],[92,5311],[93,5311],[94,5311],[95,5311],[96,5311],[97,5311],[98,5311],[99,5311],[100,5311],[101,5309],[103,5315],[104,5311],[105,5309],[106,5309],[107,5309],[111,5314],[112,5302],[113,5302],[117,5306],[119,5302],[121,5311],[130,5307],[135,5302],[137,5303],[139,5303],[140,5303],[141,5303],[142,5303],[143,5303],[144,5303],[145,5303],[146,5303],[149,5312],[152,5312],[155,5311],[156,5308],[157,5308],[158,5308],[180,5314],[181,5314],[185,5314],[186,5314],[188,5302],[189,5302],[192,5314],[201,5304],[203,5316],[216,5302],[217,5302],[223,5302],[224,5316],[229,5316],[230,5316],[231,5302],[232,5316],[233,5316],[234,5316],[235,5316],[236,5316],[237,5302],[238,5302],[239,5316],[240,5316],[241,5316],[242,5316],[243,5316],[244,5316],[245,5316],[246,5313],[253,5309],[258,5315],[259,5315],[260,5302],[261,5302],[2538,5338],[2599,5332],[2601,5304],[2602,5332],[2610,5332],[2611,5304],[5016,5337],[5017,5337],[5020,5337],[5023,5337],[5026,5337],[5029,5337],[5032,5337],[5035,5337],[5038,5337],[5041,5337],[5044,5337],[5047,5337],[5050,5337],[5053,5337],[5056,5337],[5059,5337],[5062,5337],[5065,5337],[5068,5337],[5071,5337],[5074,5337],[5077,5337],[5080,5337],[5083,5337],[5086,5337],[5089,5337],[5092,5337],[5095,5337],[5098,5337],[5101,5337],[5104,5337],[5107,5337],[5110,5337],[5113,5337],[5116,5337],[5119,5337],[5122,5337],[5125,5337],[5128,5337],[5131,5337],[5134,5337],[5137,5337],[5140,5337],[5143,5337],[5146,5337],[5149,5337],[5152,5337],[5155,5337],[5158,5337],[5161,5337],[5164,5337],[5167,5337],[5170,5337],[5173,5337],[5176,5337],[5179,5337],[5182,5337],[5185,5337],[5188,5337],[5191,5337],[5194,5337],[5197,5337],[5200,5337],[5203,5337],[5206,5337],[5209,5337],[5212,5337],[5215,5337],[5218,5337],[5221,5337],[5224,5337],[5227,5337],[5230,5337],[5233,5337],[5236,5337],[5239,5337],[5242,5337],[5245,5337],[5248,5337],[5251,5337],[5254,5337],[5257,5337],[5260,5337],[5263,5337],[5266,5337],[5269,5337],[5272,5337],[5275,5337],[5278,5337],[5281,5337],[5284,5337],[5287,5337],[5290,5337],[5293,5337],[5296,5337],[5299,5337]],"b":[[898,"impl-PartialEq%3CT%3E-for-Ident"],[899,"impl-PartialEq-for-Ident"],[1014,"impl-Display-for-Ident"],[1015,"impl-IdentFragment-for-Ident"],[1016,"impl-Debug-for-Ident"],[1020,"impl-Display-for-Lifetime"],[1021,"impl-Debug-for-Lifetime"],[1053,"impl-IdentFragment-for-Member"],[1054,"impl-Debug-for-Member"],[1055,"impl-Debug-for-Index"],[1056,"impl-IdentFragment-for-Index"],[1077,"impl-Debug-for-LitInt"],[1078,"impl-Display-for-LitInt"],[1079,"impl-Display-for-LitFloat"],[1080,"impl-Debug-for-LitFloat"],[1121,"impl-From%3CCrate%3E-for-Ident"],[1122,"impl-From%3CSuper%3E-for-Ident"],[1123,"impl-From%3CSelfType%3E-for-Ident"],[1124,"impl-From%3CSelfValue%3E-for-Ident"],[1125,"impl-From%3CExtern%3E-for-Ident"],[1126,"impl-From%3CUnderscore%3E-for-Ident"],[1133,"impl-From%3CMetaNameValue%3E-for-Meta"],[1134,"impl-From%3CMetaList%3E-for-Meta"],[1135,"impl-From%3CPath%3E-for-Meta"],[1141,"impl-From%3CFieldsUnnamed%3E-for-Fields"],[1142,"impl-From%3CFieldsNamed%3E-for-Fields"],[1151,"impl-From%3CExprField%3E-for-Expr"],[1152,"impl-From%3CExprStruct%3E-for-Expr"],[1153,"impl-From%3CExprPath%3E-for-Expr"],[1154,"impl-From%3CExprMethodCall%3E-for-Expr"],[1155,"impl-From%3CExprMatch%3E-for-Expr"],[1156,"impl-From%3CExprMacro%3E-for-Expr"],[1157,"impl-From%3CExprRange%3E-for-Expr"],[1158,"impl-From%3CExprLoop%3E-for-Expr"],[1159,"impl-From%3CExprLit%3E-for-Expr"],[1160,"impl-From%3CExprLet%3E-for-Expr"],[1161,"impl-From%3CExprInfer%3E-for-Expr"],[1162,"impl-From%3CExprIndex%3E-for-Expr"],[1163,"impl-From%3CExprIf%3E-for-Expr"],[1164,"impl-From%3CExprGroup%3E-for-Expr"],[1165,"impl-From%3CExprForLoop%3E-for-Expr"],[1166,"impl-From%3CExprRawAddr%3E-for-Expr"],[1167,"impl-From%3CExprReference%3E-for-Expr"],[1168,"impl-From%3CExprYield%3E-for-Expr"],[1169,"impl-From%3CExprWhile%3E-for-Expr"],[1170,"impl-From%3CExprRepeat%3E-for-Expr"],[1171,"impl-From%3CExprUnsafe%3E-for-Expr"],[1172,"impl-From%3CExprUnary%3E-for-Expr"],[1173,"impl-From%3CExprContinue%3E-for-Expr"],[1174,"impl-From%3CExprTuple%3E-for-Expr"],[1175,"impl-From%3CExprConst%3E-for-Expr"],[1176,"impl-From%3CExprClosure%3E-for-Expr"],[1177,"impl-From%3CExprTryBlock%3E-for-Expr"],[1178,"impl-From%3CExprArray%3E-for-Expr"],[1179,"impl-From%3CExprAssign%3E-for-Expr"],[1180,"impl-From%3CExprTry%3E-for-Expr"],[1181,"impl-From%3CExprReturn%3E-for-Expr"],[1182,"impl-From%3CExprAsync%3E-for-Expr"],[1183,"impl-From%3CExprAwait%3E-for-Expr"],[1184,"impl-From%3CExprBinary%3E-for-Expr"],[1185,"impl-From%3CExprBlock%3E-for-Expr"],[1187,"impl-From%3CExprCast%3E-for-Expr"],[1188,"impl-From%3CExprParen%3E-for-Expr"],[1189,"impl-From%3CExprCall%3E-for-Expr"],[1190,"impl-From%3CExprBreak%3E-for-Expr"],[1230,"impl-From%3CIdent%3E-for-Member"],[1231,"impl-From%3Cusize%3E-for-Member"],[1233,"impl-From%3CIndex%3E-for-Member"],[1238,"impl-From%3CTypeParam%3E-for-GenericParam"],[1240,"impl-From%3CLifetimeParam%3E-for-GenericParam"],[1241,"impl-From%3CConstParam%3E-for-GenericParam"],[1247,"impl-From%3CLifetime%3E-for-TypeParamBound"],[1248,"impl-From%3CTraitBound%3E-for-TypeParamBound"],[1253,"impl-From%3CPredicateLifetime%3E-for-WherePredicate"],[1254,"impl-From%3CPredicateType%3E-for-WherePredicate"],[1258,"impl-From%3CLitChar%3E-for-Lit"],[1259,"impl-From%3CLitFloat%3E-for-Lit"],[1260,"impl-From%3CLitInt%3E-for-Lit"],[1262,"impl-From%3CLitByte%3E-for-Lit"],[1263,"impl-From%3CLitCStr%3E-for-Lit"],[1264,"impl-From%3CLitBool%3E-for-Lit"],[1265,"impl-From%3CLitStr%3E-for-Lit"],[1266,"impl-From%3CLitByteStr%3E-for-Lit"],[1296,"impl-From%3CTypePtr%3E-for-Type"],[1297,"impl-From%3CTypeTuple%3E-for-Type"],[1298,"impl-From%3CTypeArray%3E-for-Type"],[1300,"impl-From%3CTypePath%3E-for-Type"],[1301,"impl-From%3CTypeReference%3E-for-Type"],[1302,"impl-From%3CTypeParen%3E-for-Type"],[1303,"impl-From%3CTypeSlice%3E-for-Type"],[1304,"impl-From%3CTypeBareFn%3E-for-Type"],[1305,"impl-From%3CTypeNever%3E-for-Type"],[1306,"impl-From%3CTypeMacro%3E-for-Type"],[1307,"impl-From%3CTypeGroup%3E-for-Type"],[1308,"impl-From%3CTypeInfer%3E-for-Type"],[1309,"impl-From%3CTypeTraitObject%3E-for-Type"],[1310,"impl-From%3CTypeImplTrait%3E-for-Type"],[1575,"impl-IntoIterator-for-%26Fields"],[1576,"impl-IntoIterator-for-Fields"],[1577,"impl-IntoIterator-for-%26mut+Fields"],[1681,"impl-LitStr"],[1682,"impl-Parse-for-LitStr"],[1779,"impl-IdentFragment-for-Ident"],[1780,"impl-Ident"],[2650,"impl-Debug-for-Error"],[2651,"impl-Display-for-Error"],[2652,"impl-Display-for-ParseBuffer%3C\'a%3E"],[2653,"impl-Debug-for-ParseBuffer%3C\'a%3E"],[2671,"impl-IntoIterator-for-Error"],[2672,"impl-IntoIterator-for-%26Error"],[2774,"impl-Extend%3CPair%3CT,+P%3E%3E-for-Punctuated%3CT,+P%3E"],[2775,"impl-Extend%3CT%3E-for-Punctuated%3CT,+P%3E"],[2787,"impl-FromIterator%3CT%3E-for-Punctuated%3CT,+P%3E"],[2788,"impl-FromIterator%3CPair%3CT,+P%3E%3E-for-Punctuated%3CT,+P%3E"],[2803,"impl-IntoIterator-for-%26mut+Punctuated%3CT,+P%3E"],[2804,"impl-IntoIterator-for-%26Punctuated%3CT,+P%3E"],[2805,"impl-IntoIterator-for-Punctuated%3CT,+P%3E"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAALMQeAAgAAEAOgAAAH8AAACFAAAAmwAAAKkAAgCvAAAAsgAAALcAAAC8AAAA0wAAANgAAAD5AAAAAAEAAAkBCQAUARwAMgHyACYCAgAqAgUAMQIDADcCJgFfAwYAaAMBAGwDBwB1A3sA8gMAAPQDbABiBAUAbgQCAHYEAQCABCIApAQDAM8EAQDSBAEA1wQAANkEAQDdBAAA4AQBAOYEAQDrBAIA7wQEAPkEAAD8BAAAAgUAAAUFAAARBQIAFQUKADIFBAA4BWcAogUKAK4FAAAoBgIALAYAAC4GAAAxBgEANAYDADkGAAA8BgAAPgYGAEYGAQBKBgoAVwYAAFkGBwBiBgEAZQYMAHUGHACTBiIAtwYAAMoGAQDOBgMA0wYCANcGAwDcBgMA5AYEAOoGCgD2BoAAeQfgAFsIewHZCREA7AkBAO8JAgD2CQYA/wkAAAoKAAANCgAAEAoFABsKAQAfCgAAIwoDAC4KAAA2CgwARAoLAFIKAABUCgIAWgoFAGEKAABoCgAAcAoBAHYKAAB5CgAAewoAAH8KAACFCgAAiAoYAKUKAACuChAAwAoUANYKAgDbCgAA5AoBAOgKAgD0CggABgsFAA4LCwAnCw8AOAsXAL0LawORD2cAYRA3A5oTHAE=","P":[[304,"N"],[306,"T"],[566,""],[663,"T"],[760,""],[898,"T"],[899,""],[1120,"T"],[1121,""],[1127,"T"],[1133,""],[1136,"T"],[1141,""],[1143,"T"],[1151,""],[1186,"T"],[1187,""],[1191,"T"],[1230,""],[1232,"T"],[1233,""],[1235,"T"],[1238,""],[1239,"T"],[1240,""],[1242,"T"],[1244,""],[1245,"T"],[1247,""],[1249,"T"],[1253,""],[1255,"T"],[1258,""],[1261,"T"],[1262,""],[1267,"T"],[1272,""],[1273,"T"],[1275,""],[1276,"T"],[1296,""],[1299,"T"],[1300,""],[1311,"T"],[1334,""],[1341,"H"],[1454,"U"],[1575,"IntoIterator::IntoIter"],[1578,""],[1580,"I"],[1581,""],[1651,"T"],[1652,""],[1681,"T"],[1682,""],[1717,"T"],[1718,""],[1719,"T"],[1721,"F"],[1723,"T"],[1724,"F"],[1725,""],[1729,""],[1731,""],[1734,"T"],[1735,""],[1736,"F"],[1737,""],[1923,"T"],[2020,""],[2148,"U,T"],[2269,"U"],[2397,""],[2549,"T"],[2553,""],[2554,"T"],[2555,""],[2559,"T"],[2561,""],[2563,"U"],[2565,""],[2572,"T"],[2573,""],[2575,"U,T"],[2577,"U"],[2579,""],[2586,"T"],[2588,""],[2589,"T"],[2591,"U"],[2592,""],[2595,"U,T"],[2596,"U"],[2597,""],[2614,"T"],[2627,""],[2631,"T"],[2635,""],[2641,"Deref::Target"],[2643,""],[2647,"T"],[2650,""],[2657,"T"],[2663,"H"],[2664,"U"],[2670,""],[2671,"IntoIterator::IntoIter"],[2673,""],[2675,"T"],[2676,"T,U"],[2677,""],[2678,"T"],[2679,"Parser::Output"],[2680,""],[2681,"Parser::Output"],[2682,""],[2683,"Parser::Output"],[2684,"T,P"],[2685,"T"],[2686,""],[2687,"T"],[2690,""],[2693,"R,F"],[2694,""],[2695,"T"],[2699,""],[2702,"U,T"],[2708,"U"],[2714,""],[2734,"T"],[2750,"T,P"],[2754,"T"],[2756,"T,P"],[2758,"T"],[2764,""],[2770,"T,P"],[2774,"T,P,I"],[2776,"T,P"],[2779,"T"],[2787,"T,I,P"],[2788,"T,P,I"],[2789,"T,P"],[2791,"T,P,H"],[2792,"T,P,Index::Output"],[2794,"T,P"],[2795,"U"],[2803,"T,P,IntoIterator::IntoIter"],[2806,"I"],[2812,"T,P"],[2824,"T"],[2827,"T,P"],[2829,"T,P,Iterator::Item"],[2832,"T,Iterator::Item"],[2835,"T,P,Iterator::Item"],[2838,"T,Iterator::Item"],[2841,"T,P"],[2857,"T"],[2860,""],[2862,"T"],[2868,"T,P"],[2871,"U,T"],[2879,"U"],[2887,""],[2895,"T,P"],[2898,""],[3004,"T"],[3212,""],[3316,"T"],[3420,""],[3628,"Deref::Target"],[3672,""],[3880,"T"],[3984,"H"],[4088,"U"],[4192,""],[4496,"F"],[4500,"T"],[4604,""],[4704,"U,T"],[4808,"U"],[4912,""],[5017,"V"],[5018,""],[5020,"V"],[5021,""],[5023,"V"],[5024,""],[5026,"V"],[5027,""],[5029,"V"],[5030,""],[5032,"V"],[5033,""],[5035,"V"],[5036,""],[5038,"V"],[5039,""],[5041,"V"],[5042,""],[5044,"V"],[5045,""],[5047,"V"],[5048,""],[5050,"V"],[5051,""],[5053,"V"],[5054,""],[5056,"V"],[5057,""],[5059,"V"],[5060,""],[5062,"V"],[5063,""],[5065,"V"],[5066,""],[5068,"V"],[5069,""],[5071,"V"],[5072,""],[5074,"V"],[5075,""],[5077,"V"],[5078,""],[5080,"V"],[5081,""],[5083,"V"],[5084,""],[5086,"V"],[5087,""],[5089,"V"],[5090,""],[5092,"V"],[5093,""],[5095,"V"],[5096,""],[5098,"V"],[5099,""],[5101,"V"],[5102,""],[5104,"V"],[5105,""],[5107,"V"],[5108,""],[5110,"V"],[5111,""],[5113,"V"],[5114,""],[5116,"V"],[5117,""],[5119,"V"],[5120,""],[5122,"V"],[5123,""],[5125,"V"],[5126,""],[5128,"V"],[5129,""],[5131,"V"],[5132,""],[5134,"V"],[5135,""],[5137,"V"],[5138,""],[5140,"V"],[5141,""],[5143,"V"],[5144,""],[5146,"V"],[5147,""],[5149,"V"],[5150,""],[5152,"V"],[5153,""],[5155,"V"],[5156,""],[5158,"V"],[5159,""],[5161,"V"],[5162,""],[5164,"V"],[5165,""],[5167,"V"],[5168,""],[5170,"V"],[5171,""],[5173,"V"],[5174,""],[5176,"V"],[5177,""],[5179,"V"],[5180,""],[5182,"V"],[5183,""],[5185,"V"],[5186,""],[5188,"V"],[5189,""],[5191,"V"],[5192,""],[5194,"V"],[5195,""],[5197,"V"],[5198,""],[5200,"V"],[5201,""],[5203,"V"],[5204,""],[5206,"V"],[5207,""],[5209,"V"],[5210,""],[5212,"V"],[5213,""],[5215,"V"],[5216,""],[5218,"V"],[5219,""],[5221,"V"],[5222,""],[5224,"V"],[5225,""],[5227,"V"],[5228,""],[5230,"V"],[5231,""],[5233,"V"],[5234,""],[5236,"V"],[5237,""],[5239,"V"],[5240,""],[5242,"V"],[5243,""],[5245,"V"],[5246,""],[5248,"V"],[5249,""],[5251,"V"],[5252,""],[5254,"V"],[5255,""],[5257,"V"],[5258,""],[5260,"V"],[5261,""],[5263,"V"],[5264,""],[5266,"V"],[5267,""],[5269,"V"],[5270,""],[5272,"V"],[5273,""],[5275,"V"],[5276,""],[5278,"V"],[5279,""],[5281,"V"],[5282,""],[5284,"V"],[5285,""],[5287,"V"],[5288,""],[5290,"V"],[5291,""],[5293,"V"],[5294,""],[5296,"V"],[5297,""],[5299,"V"],[5300,""]]}],["synstructure",{"t":"GGFPPPKPPPPPFFFNNNNNNNONNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQONNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNONNNNNNMNNNNNNONNNNNNNOQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHNNNN","n":["AddBounds","BindStyle","BindingInfo","Both","Fields","Generics","MacroResult","Move","MoveMut","None","Ref","RefMut","Structure","VariantAst","VariantInfo","add_bounds","add_impl_generic","add_trait_bounds","add_where_predicate","ast","","","attrs","bind_with","","binding","binding_name","","bindings","bindings_mut","borrow","","","","","","borrow_mut","","","","","","bound_impl","clone","","","","","","clone_into","","","","","","clone_to_uninit","","","","","","construct","decl_attribute","decl_derive","discriminant","drain_filter","","drain_filter_variants","each","","each_variant","eq","","","","","","fields","filter","","filter_variants","fmt","","","","","","fold","","from","","","","","","gen_impl","hash","","","","","","ident","into","","","","","","into_result","into_stream","new","omitted_bindings","omitted_variants","pat","","prefix","referenced_ty_params","","","remove_binding","remove_variant","span","","style","test_derive","to_owned","","","","","","to_tokens","","try_from","","","","","","try_into","","","","","","try_new","type_id","","","","","","unbound_impl","underscore_const","unpretty_print","unsafe_bound_impl","unsafe_unbound_impl","variants","variants_mut"],"q":[[0,"synstructure"],[160,"syn::generics"],[161,"core::option"],[162,"syn::data"],[163,"syn::derive"],[164,"core::ops::function"],[165,"proc_macro2"],[166,"quote::to_tokens"],[167,"core::fmt"],[168,"core::hash"],[169,"syn::error"],[170,"proc_macro"],[171,"alloc::vec"],[172,"core::result"],[173,"core::any"],[174,"alloc::string"]],"i":"```h00`Bb0100```d000AfAj2Al132131154201354201335420135420135420131``013313354201301335420131354201335420130542013Cj042432232424533`65312453653124653124465312444`4444","f":"```````````````{{{f{bd}}h}{{f{bd}}}}{{{f{bd}}j}{{f{bd}}}}{{{f{d}}{f{l}}{f{b{A`{n}}}}h}Ab}{{{f{bd}}Ad}{{f{bd}}}}{{{f{Af}}}{{f{Ah}}}}{{{f{Aj}}}Al}{{{f{d}}}{{f{An}}}}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Af}}}{{B`{Bb}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Af}}}{{B`{Bb}}}}}}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Ah}}Bf}{{B`{Bh}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Ah}}Bf}{{B`{Bh}}}}}}{{{f{Aj}}}{{f{{Bj{Af}}}}}}{{{f{bAj}}}{{f{b{Bj{Af}}}}}}{f{{f{c}}}{}}00000{{{f{b}}}{{f{bc}}}{}}00000{{{f{d}}ce}BlBnBn}{{{f{h}}}h}{{{f{Bb}}}Bb}{{{f{Af}}}Af}{{{f{Al}}}Al}{{{f{Aj}}}Aj}{{{f{d}}}d}{{f{f{bc}}}Ab{}}00000{{fC`}Ab}00000{{{f{Aj}}e}BlBn{{Bd{{f{Ah}}Bf}{{B`{c}}}}}}```{{{f{bAj}}c}Aj{{Bd{{f{Af}}}{{B`{Cb}}}}}}{{{f{bd}}c}d{{Bd{{f{Af}}}{{B`{Cb}}}}}}{{{f{bd}}c}d{{Bd{{f{Aj}}}{{B`{Cb}}}}}}{{{f{Aj}}e}BlBn{{Bd{{f{Af}}}{{B`{c}}}}}}{{{f{d}}e}BlBn{{Bd{{f{Af}}}{{B`{c}}}}}}{{{f{d}}e}BlBn{{Bd{{f{Aj}}}{{B`{c}}}}}}{{{f{h}}{f{h}}}Cb}{{{f{Bb}}{f{Bb}}}Cb}{{{f{Af}}{f{Af}}}Cb}{{{f{Al}}{f{Al}}}Cb}{{{f{Aj}}{f{Aj}}}Cb}{{{f{d}}{f{d}}}Cb}`{{{f{bAj}}c}{{f{bAj}}}{{Bd{{f{Af}}}{{B`{Cb}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Af}}}{{B`{Cb}}}}}}{{{f{bd}}c}{{f{bd}}}{{Bd{{f{Aj}}}{{B`{Cb}}}}}}{{{f{h}}{f{bCd}}}Cf}{{{f{Bb}}{f{bCd}}}Cf}{{{f{Af}}{f{bCd}}}Cf}{{{f{Al}}{f{bCd}}}Cf}{{{f{Aj}}{f{bCd}}}Cf}{{{f{d}}{f{bCd}}}Cf}{{{f{Aj}}cg}BlBnBn{{Bd{Bl{f{Af}}}{{B`{e}}}}}}{{{f{d}}cg}BlBnBn{{Bd{Bl{f{Af}}}{{B`{e}}}}}}{cc{}}00000{{{f{d}}Bl}Bl}{{{f{h}}{f{bc}}}AbCh}{{{f{Bb}}{f{bc}}}AbCh}{{{f{Af}}{f{bc}}}AbCh}{{{f{Al}}{f{bc}}}AbCh}{{{f{Aj}}{f{bc}}}AbCh}{{{f{d}}{f{bc}}}AbCh}`{{}c{}}00000{Cj{{Cl{Bl}}}}{CjCn}{{{f{An}}}d}{{{f{Aj}}}Cb}{{{f{d}}}Cb}{{{f{Af}}}Bl}{{{f{Aj}}}Bl}`{{{f{Af}}}{{D`{{f{Bh}}}}}}{{{f{Aj}}}{{D`{{f{Bh}}}}}}{{{f{d}}}{{D`{{f{Bh}}}}}}{{{f{bAj}}Bf}{{f{bAj}}}}{{{f{bd}}Bf}{{f{bd}}}}{fDb}0``{fc{}}00000{{{f{Bb}}{f{bBl}}}Ab}{{{f{Af}}{f{bBl}}}Ab}{c{{Dd{e}}}{}{}}00000{{}{{Dd{c}}}{}}00000{{{f{An}}}{{Cl{d}}}}{fDf}00000{{{f{d}}ce}BlBnBn}{{{f{bd}}Cb}{{f{bd}}}}{cDhDj}22{{{f{d}}}{{f{{Bj{Aj}}}}}}{{{f{bd}}}{{f{b{Bj{Aj}}}}}}","D":"J`","p":[[0,"mut"],[5,"Structure",0],[1,"reference",null,null,1],[6,"AddBounds",0],[6,"GenericParam",160],[5,"TraitBound",160],[5,"WhereClause",160],[6,"Option",161,null,1],[1,"unit"],[6,"WherePredicate",160],[5,"BindingInfo",0],[5,"Field",162],[5,"VariantInfo",0],[5,"VariantAst",0],[5,"DeriveInput",163],[17,"Output"],[6,"BindStyle",0],[10,"FnMut",164],[1,"usize"],[5,"Ident",165],[1,"slice"],[5,"TokenStream",165],[10,"ToTokens",166],[1,"u8"],[1,"bool"],[5,"Formatter",167],[8,"Result",167],[10,"Hasher",168],[10,"MacroResult",0],[8,"Result",169],[5,"TokenStream",170],[5,"Vec",171],[5,"Span",165],[6,"Result",172,null,1],[5,"TypeId",173],[5,"String",174],[10,"Display",167]],"r":[],"b":[],"c":"OjAAAAEAAAAAAAAAEAAAAJ4A","e":"OzAAAAEAAFAACwAXAAAAHwALACwAEQBBAAAASAAGAFIABQBhAAYAdQAAAHsAAQB/ABMAlAAFAA==","P":[[23,"F"],[28,""],[30,"T"],[42,"P,B"],[43,""],[49,"T"],[55,""],[61,"T,F"],[65,"F"],[68,"R,F"],[71,""],[78,"F"],[81,""],[87,"I,R,F"],[89,"T"],[95,""],[96,"__H"],[103,"U"],[109,""],[126,"T"],[132,""],[134,"U,T"],[140,"U"],[146,""],[153,"P,B"],[154,""],[155,"T"],[156,"P,B"],[158,""]]}],["unicode_ident",{"t":"HH","n":["is_xid_continue","is_xid_start"],"q":[[0,"unicode_ident"]],"i":"``","f":"{bd}0","D":"b","p":[[1,"char"],[1,"bool"]],"r":[],"b":[],"c":"OjAAAAAAAAA=","e":"OjAAAAEAAAAAAAEAEAAAAAEAAgA=","P":[]}]]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); -//{"start":39,"fragment_lengths":[5259,7303,174,4292,6472,978,96004,4617,219]} \ No newline at end of file +//{"start":39,"fragment_lengths":[5649,7995,181,4444,6979,1036,100259,4942,226]} \ No newline at end of file diff --git a/settings.html b/settings.html index e425548..05af32d 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

    Rustdoc settings

    Back
    \ No newline at end of file +Settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/src/delog/hex.rs.html b/src/delog/hex.rs.html index f85beae..f7da791 100644 --- a/src/delog/hex.rs.html +++ b/src/delog/hex.rs.html @@ -1,4 +1,4 @@ -hex.rs - source

    delog/
    hex.rs

    +hex.rs - source

    delog/
    hex.rs

     1
     2
     3
    diff --git a/src/delog/lib.rs.html b/src/delog/lib.rs.html
    index eb99556..9f967c8 100644
    --- a/src/delog/lib.rs.html
    +++ b/src/delog/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    delog/
    lib.rs

    +lib.rs - source

    delog/
    lib.rs

     1
     2
     3
    diff --git a/src/delog/logger.rs.html b/src/delog/logger.rs.html
    index 2a60256..ffd3a8d 100644
    --- a/src/delog/logger.rs.html
    +++ b/src/delog/logger.rs.html
    @@ -1,4 +1,4 @@
    -logger.rs - source

    delog/
    logger.rs

    +logger.rs - source

    delog/
    logger.rs

     1
     2
     3
    diff --git a/src/delog/macros.rs.html b/src/delog/macros.rs.html
    index 3d5a470..d9872ab 100644
    --- a/src/delog/macros.rs.html
    +++ b/src/delog/macros.rs.html
    @@ -1,4 +1,4 @@
    -macros.rs - source

    delog/
    macros.rs

    +macros.rs - source

    delog/
    macros.rs

     1
     2
     3
    diff --git a/src/delog/render.rs.html b/src/delog/render.rs.html
    index 90c0437..9bb6481 100644
    --- a/src/delog/render.rs.html
    +++ b/src/delog/render.rs.html
    @@ -1,4 +1,4 @@
    -render.rs - source

    delog/
    render.rs

    +render.rs - source

    delog/
    render.rs

     1
     2
     3
    diff --git a/src/flexiber/decoder.rs.html b/src/flexiber/decoder.rs.html
    index 74e4b98..3a89610 100644
    --- a/src/flexiber/decoder.rs.html
    +++ b/src/flexiber/decoder.rs.html
    @@ -1,4 +1,4 @@
    -decoder.rs - source

    flexiber/
    decoder.rs

    +decoder.rs - source

    flexiber/
    decoder.rs

     1
     2
     3
    diff --git a/src/flexiber/encoder.rs.html b/src/flexiber/encoder.rs.html
    index f58babe..91f622a 100644
    --- a/src/flexiber/encoder.rs.html
    +++ b/src/flexiber/encoder.rs.html
    @@ -1,4 +1,4 @@
    -encoder.rs - source

    flexiber/
    encoder.rs

    +encoder.rs - source

    flexiber/
    encoder.rs

     1
     2
     3
    diff --git a/src/flexiber/error.rs.html b/src/flexiber/error.rs.html
    index 7d4f275..9d77965 100644
    --- a/src/flexiber/error.rs.html
    +++ b/src/flexiber/error.rs.html
    @@ -1,4 +1,4 @@
    -error.rs - source

    flexiber/
    error.rs

    +error.rs - source

    flexiber/
    error.rs

     1
     2
     3
    diff --git a/src/flexiber/header.rs.html b/src/flexiber/header.rs.html
    index 7eace28..a3f5e3c 100644
    --- a/src/flexiber/header.rs.html
    +++ b/src/flexiber/header.rs.html
    @@ -1,4 +1,4 @@
    -header.rs - source

    flexiber/
    header.rs

    +header.rs - source

    flexiber/
    header.rs

     1
     2
     3
    diff --git a/src/flexiber/length.rs.html b/src/flexiber/length.rs.html
    index cb17265..0ac8912 100644
    --- a/src/flexiber/length.rs.html
    +++ b/src/flexiber/length.rs.html
    @@ -1,4 +1,4 @@
    -length.rs - source

    flexiber/
    length.rs

    +length.rs - source

    flexiber/
    length.rs

     1
     2
     3
    diff --git a/src/flexiber/lib.rs.html b/src/flexiber/lib.rs.html
    index 4481b8a..665b317 100644
    --- a/src/flexiber/lib.rs.html
    +++ b/src/flexiber/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    flexiber/
    lib.rs

    +lib.rs - source

    flexiber/
    lib.rs

     1
     2
     3
    diff --git a/src/flexiber/simpletag.rs.html b/src/flexiber/simpletag.rs.html
    index 921a943..948e6e0 100644
    --- a/src/flexiber/simpletag.rs.html
    +++ b/src/flexiber/simpletag.rs.html
    @@ -1,4 +1,4 @@
    -simpletag.rs - source

    flexiber/
    simpletag.rs

    +simpletag.rs - source

    flexiber/
    simpletag.rs

     1
     2
     3
    diff --git a/src/flexiber/slice.rs.html b/src/flexiber/slice.rs.html
    index b594e64..9828245 100644
    --- a/src/flexiber/slice.rs.html
    +++ b/src/flexiber/slice.rs.html
    @@ -1,4 +1,4 @@
    -slice.rs - source

    flexiber/
    slice.rs

    +slice.rs - source

    flexiber/
    slice.rs

     1
     2
     3
    diff --git a/src/flexiber/tag.rs.html b/src/flexiber/tag.rs.html
    index 416daef..9558bba 100644
    --- a/src/flexiber/tag.rs.html
    +++ b/src/flexiber/tag.rs.html
    @@ -1,4 +1,4 @@
    -tag.rs - source

    flexiber/
    tag.rs

    +tag.rs - source

    flexiber/
    tag.rs

     1
     2
     3
    diff --git a/src/flexiber/tagged.rs.html b/src/flexiber/tagged.rs.html
    index ef945b3..2ca0b49 100644
    --- a/src/flexiber/tagged.rs.html
    +++ b/src/flexiber/tagged.rs.html
    @@ -1,4 +1,4 @@
    -tagged.rs - source

    flexiber/
    tagged.rs

    +tagged.rs - source

    flexiber/
    tagged.rs

     1
     2
     3
    diff --git a/src/flexiber/traits.rs.html b/src/flexiber/traits.rs.html
    index eac2668..ba98303 100644
    --- a/src/flexiber/traits.rs.html
    +++ b/src/flexiber/traits.rs.html
    @@ -1,4 +1,4 @@
    -traits.rs - source

    flexiber/
    traits.rs

    +traits.rs - source

    flexiber/
    traits.rs

     1
     2
     3
    diff --git a/src/flexiber_derive/decodable.rs.html b/src/flexiber_derive/decodable.rs.html
    index a02f5c1..a501c99 100644
    --- a/src/flexiber_derive/decodable.rs.html
    +++ b/src/flexiber_derive/decodable.rs.html
    @@ -1,4 +1,4 @@
    -decodable.rs - source

    flexiber_derive/
    decodable.rs

    +decodable.rs - source

    flexiber_derive/
    decodable.rs

     1
     2
     3
    diff --git a/src/flexiber_derive/encodable.rs.html b/src/flexiber_derive/encodable.rs.html
    index e280401..ec712b7 100644
    --- a/src/flexiber_derive/encodable.rs.html
    +++ b/src/flexiber_derive/encodable.rs.html
    @@ -1,4 +1,4 @@
    -encodable.rs - source

    flexiber_derive/
    encodable.rs

    +encodable.rs - source

    flexiber_derive/
    encodable.rs

     1
     2
     3
    diff --git a/src/flexiber_derive/lib.rs.html b/src/flexiber_derive/lib.rs.html
    index 7f0f833..b78b6bc 100644
    --- a/src/flexiber_derive/lib.rs.html
    +++ b/src/flexiber_derive/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    flexiber_derive/
    lib.rs

    +lib.rs - source

    flexiber_derive/
    lib.rs

     1
     2
     3
    diff --git a/src/log/__private_api.rs.html b/src/log/__private_api.rs.html
    index f39ab8a..d889d63 100644
    --- a/src/log/__private_api.rs.html
    +++ b/src/log/__private_api.rs.html
    @@ -1,4 +1,4 @@
    -__private_api.rs - source

    log/
    __private_api.rs

    +__private_api.rs - source

    log/
    __private_api.rs

     1
     2
     3
    diff --git a/src/log/lib.rs.html b/src/log/lib.rs.html
    index 88d1bf6..94ae047 100644
    --- a/src/log/lib.rs.html
    +++ b/src/log/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    log/
    lib.rs

    +lib.rs - source

    log/
    lib.rs

     1
     2
     3
    @@ -1876,7 +1876,13 @@
     1875
     1876
     1877
    -1878
    // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
    +1878
    +1879
    +1880
    +1881
    +1882
    +1883
    +1884
    // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
     // file at the top-level directory of this distribution and at
     // http://rust-lang.org/COPYRIGHT.
     //
    @@ -2021,8 +2027,11 @@
     //!     * [flexi_logger]
     //!     * [call_logger]
     //!     * [structured-logger]
    +//!     * [clang_log]
    +//!     * [ftail]
     //! * Complex configurable frameworks:
     //!     * [log4rs]
    +//!     * [logforth]
     //!     * [fern]
     //! * Adaptors for other facilities:
     //!     * [syslog]
    @@ -2199,6 +2208,7 @@
     //! [syslog]: https://docs.rs/syslog/*/syslog/
     //! [slog-stdlog]: https://docs.rs/slog-stdlog/*/slog_stdlog/
     //! [log4rs]: https://docs.rs/log4rs/*/log4rs/
    +//! [logforth]: https://docs.rs/logforth/*/logforth/
     //! [fern]: https://docs.rs/fern/*/fern/
     //! [systemd-journal-logger]: https://docs.rs/systemd-journal-logger/*/systemd_journal_logger/
     //! [android_log]: https://docs.rs/android_log/*/android_log/
    @@ -2210,11 +2220,13 @@
     //! [logcontrol-log]: https://docs.rs/logcontrol-log/*/logcontrol_log/
     //! [log_err]: https://docs.rs/log_err/*/log_err/
     //! [log-reload]: https://docs.rs/log-reload/*/log_reload/
    +//! [clang_log]: https://docs.rs/clang_log/latest/clang_log
    +//! [ftail]: https://docs.rs/ftail/latest/ftail
     
     #![doc(
         html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
         html_favicon_url = "https://www.rust-lang.org/favicon.ico",
    -    html_root_url = "https://docs.rs/log/0.4.22"
    +    html_root_url = "https://docs.rs/log/0.4.25"
     )]
     #![warn(missing_docs)]
     #![deny(missing_debug_implementations, unconditional_recursion)]
    diff --git a/src/log/macros.rs.html b/src/log/macros.rs.html
    index 1fc4712..a86d64c 100644
    --- a/src/log/macros.rs.html
    +++ b/src/log/macros.rs.html
    @@ -1,4 +1,4 @@
    -macros.rs - source

    log/
    macros.rs

    +macros.rs - source

    log/
    macros.rs

     1
     2
     3
    diff --git a/src/proc_macro2/detection.rs.html b/src/proc_macro2/detection.rs.html
    index bf58aee..bec845f 100644
    --- a/src/proc_macro2/detection.rs.html
    +++ b/src/proc_macro2/detection.rs.html
    @@ -1,4 +1,4 @@
    -detection.rs - source

    proc_macro2/
    detection.rs

    +detection.rs - source

    proc_macro2/
    detection.rs

     1
     2
     3
    diff --git a/src/proc_macro2/extra.rs.html b/src/proc_macro2/extra.rs.html
    index 18ff740..e9d7773 100644
    --- a/src/proc_macro2/extra.rs.html
    +++ b/src/proc_macro2/extra.rs.html
    @@ -1,4 +1,4 @@
    -extra.rs - source

    proc_macro2/
    extra.rs

    +extra.rs - source

    proc_macro2/
    extra.rs

     1
     2
     3
    diff --git a/src/proc_macro2/fallback.rs.html b/src/proc_macro2/fallback.rs.html
    index 5df7bd0..f1969ab 100644
    --- a/src/proc_macro2/fallback.rs.html
    +++ b/src/proc_macro2/fallback.rs.html
    @@ -1,4 +1,4 @@
    -fallback.rs - source

    proc_macro2/
    fallback.rs

    +fallback.rs - source

    proc_macro2/
    fallback.rs

     1
     2
     3
    @@ -1264,7 +1264,18 @@
     1263
     1264
     1265
    -1266
    #[cfg(wrap_proc_macro)]
    +1266
    +1267
    +1268
    +1269
    +1270
    +1271
    +1272
    +1273
    +1274
    +1275
    +1276
    +1277
    #[cfg(wrap_proc_macro)]
     use crate::imp;
     #[cfg(span_locations)]
     use crate::location::LineColumn;
    @@ -1391,21 +1402,32 @@
     // Nonrecursive to prevent stack overflow.
     impl Drop for TokenStream {
         fn drop(&mut self) {
    -        let mut inner = match self.inner.get_mut() {
    -            Some(inner) => inner,
    +        let mut stack = Vec::new();
    +        let mut current = match self.inner.get_mut() {
    +            Some(inner) => inner.take().into_iter(),
                 None => return,
             };
    -        while let Some(token) = inner.pop() {
    -            let group = match token {
    -                TokenTree::Group(group) => group.inner,
    -                _ => continue,
    -            };
    -            #[cfg(wrap_proc_macro)]
    -            let group = match group {
    -                crate::imp::Group::Fallback(group) => group,
    -                crate::imp::Group::Compiler(_) => continue,
    -            };
    -            inner.extend(group.stream.take_inner());
    +        loop {
    +            while let Some(token) = current.next() {
    +                let group = match token {
    +                    TokenTree::Group(group) => group.inner,
    +                    _ => continue,
    +                };
    +                #[cfg(wrap_proc_macro)]
    +                let group = match group {
    +                    crate::imp::Group::Fallback(group) => group,
    +                    crate::imp::Group::Compiler(_) => continue,
    +                };
    +                let mut group = group;
    +                if let Some(inner) = group.stream.inner.get_mut() {
    +                    stack.push(current);
    +                    current = inner.take().into_iter();
    +                }
    +            }
    +            match stack.pop() {
    +                Some(next) => current = next,
    +                None => return,
    +            }
             }
         }
     }
    diff --git a/src/proc_macro2/lib.rs.html b/src/proc_macro2/lib.rs.html
    index 991e740..e6698d7 100644
    --- a/src/proc_macro2/lib.rs.html
    +++ b/src/proc_macro2/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    proc_macro2/
    lib.rs

    +lib.rs - source

    proc_macro2/
    lib.rs

     1
     2
     3
    @@ -1475,7 +1475,7 @@
     //! a different thread.
     
     // Proc-macro2 types in rustdoc of other crates get linked to here.
    -#![doc(html_root_url = "https://docs.rs/proc-macro2/1.0.92")]
    +#![doc(html_root_url = "https://docs.rs/proc-macro2/1.0.93")]
     #![cfg_attr(any(proc_macro_span, super_unstable), feature(proc_macro_span))]
     #![cfg_attr(super_unstable, feature(proc_macro_def_site))]
     #![cfg_attr(docsrs, feature(doc_cfg))]
    diff --git a/src/proc_macro2/marker.rs.html b/src/proc_macro2/marker.rs.html
    index d82c4a4..207363f 100644
    --- a/src/proc_macro2/marker.rs.html
    +++ b/src/proc_macro2/marker.rs.html
    @@ -1,4 +1,4 @@
    -marker.rs - source

    proc_macro2/
    marker.rs

    +marker.rs - source

    proc_macro2/
    marker.rs

     1
     2
     3
    diff --git a/src/proc_macro2/parse.rs.html b/src/proc_macro2/parse.rs.html
    index ce83a60..38d9b7a 100644
    --- a/src/proc_macro2/parse.rs.html
    +++ b/src/proc_macro2/parse.rs.html
    @@ -1,4 +1,4 @@
    -parse.rs - source

    proc_macro2/
    parse.rs

    +parse.rs - source

    proc_macro2/
    parse.rs

     1
     2
     3
    diff --git a/src/proc_macro2/rcvec.rs.html b/src/proc_macro2/rcvec.rs.html
    index d826476..84ad12d 100644
    --- a/src/proc_macro2/rcvec.rs.html
    +++ b/src/proc_macro2/rcvec.rs.html
    @@ -1,4 +1,4 @@
    -rcvec.rs - source

    proc_macro2/
    rcvec.rs

    +rcvec.rs - source

    proc_macro2/
    rcvec.rs

     1
     2
     3
    @@ -143,7 +143,8 @@
     142
     143
     144
    -145
    use alloc::rc::Rc;
    +145
    +146
    use alloc::rc::Rc;
     use alloc::vec;
     use core::mem;
     use core::panic::RefUnwindSafe;
    @@ -247,13 +248,14 @@
             self.inner.extend(iter);
         }
     
    -    pub(crate) fn pop(&mut self) -> Option<T> {
    -        self.inner.pop()
    -    }
    -
         pub(crate) fn as_mut(&mut self) -> RcVecMut<T> {
             RcVecMut { inner: self.inner }
         }
    +
    +    pub(crate) fn take(self) -> RcVecBuilder<T> {
    +        let vec = mem::take(self.inner);
    +        RcVecBuilder { inner: vec }
    +    }
     }
     
     impl<T> Clone for RcVec<T> {
    diff --git a/src/proc_macro2/wrapper.rs.html b/src/proc_macro2/wrapper.rs.html
    index 8e68e43..d4d3af2 100644
    --- a/src/proc_macro2/wrapper.rs.html
    +++ b/src/proc_macro2/wrapper.rs.html
    @@ -1,4 +1,4 @@
    -wrapper.rs - source

    proc_macro2/
    wrapper.rs

    +wrapper.rs - source

    proc_macro2/
    wrapper.rs

     1
     2
     3
    diff --git a/src/quote/ext.rs.html b/src/quote/ext.rs.html
    index 374b4c1..76a70a4 100644
    --- a/src/quote/ext.rs.html
    +++ b/src/quote/ext.rs.html
    @@ -1,4 +1,4 @@
    -ext.rs - source

    quote/
    ext.rs

    +ext.rs - source

    quote/
    ext.rs

     1
     2
     3
    diff --git a/src/quote/format.rs.html b/src/quote/format.rs.html
    index 176bcd6..7797990 100644
    --- a/src/quote/format.rs.html
    +++ b/src/quote/format.rs.html
    @@ -1,4 +1,4 @@
    -format.rs - source

    quote/
    format.rs

    +format.rs - source

    quote/
    format.rs

     1
     2
     3
    diff --git a/src/quote/ident_fragment.rs.html b/src/quote/ident_fragment.rs.html
    index d0ac082..4201724 100644
    --- a/src/quote/ident_fragment.rs.html
    +++ b/src/quote/ident_fragment.rs.html
    @@ -1,4 +1,4 @@
    -ident_fragment.rs - source

    quote/
    ident_fragment.rs

    +ident_fragment.rs - source

    quote/
    ident_fragment.rs

     1
     2
     3
    diff --git a/src/quote/lib.rs.html b/src/quote/lib.rs.html
    index 32a8baa..f040a19 100644
    --- a/src/quote/lib.rs.html
    +++ b/src/quote/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    quote/
    lib.rs

    +lib.rs - source

    quote/
    lib.rs

     1
     2
     3
    @@ -1462,7 +1462,8 @@
     1461
     1462
     1463
    -1464
    //! [![github]](https://github.com/dtolnay/quote)&ensp;[![crates-io]](https://crates.io/crates/quote)&ensp;[![docs-rs]](https://docs.rs/quote)
    +1464
    +1465
    //! [![github]](https://github.com/dtolnay/quote)&ensp;[![crates-io]](https://crates.io/crates/quote)&ensp;[![docs-rs]](https://docs.rs/quote)
     //!
     //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
     //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
    @@ -1556,12 +1557,13 @@
     //! [prettyplease]: https://github.com/dtolnay/prettyplease
     
     // Quote types in rustdoc of other crates get linked to here.
    -#![doc(html_root_url = "https://docs.rs/quote/1.0.37")]
    +#![doc(html_root_url = "https://docs.rs/quote/1.0.38")]
     #![allow(
         clippy::doc_markdown,
         clippy::missing_errors_doc,
         clippy::missing_panics_doc,
         clippy::module_name_repetitions,
    +    clippy::needless_lifetimes,
         // false positive https://github.com/rust-lang/rust-clippy/issues/6983
         clippy::wrong_self_convention,
     )]
    diff --git a/src/quote/runtime.rs.html b/src/quote/runtime.rs.html
    index 3c41016..de9b015 100644
    --- a/src/quote/runtime.rs.html
    +++ b/src/quote/runtime.rs.html
    @@ -1,4 +1,4 @@
    -runtime.rs - source

    quote/
    runtime.rs

    +runtime.rs - source

    quote/
    runtime.rs

     1
     2
     3
    @@ -528,7 +528,15 @@
     527
     528
     529
    -530
    use self::get_span::{GetSpan, GetSpanBase, GetSpanInner};
    +530
    +531
    +532
    +533
    +534
    +535
    +536
    +537
    +538
    use self::get_span::{GetSpan, GetSpanBase, GetSpanInner};
     use crate::{IdentFragment, ToTokens, TokenStreamExt};
     use core::fmt;
     use core::iter;
    @@ -632,7 +640,7 @@
             fn quote_into_iter(&'q self) -> (Self::Iter, HasIter);
         }
     
    -    impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a T {
    +    impl<'q, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &T {
             type Iter = T::Iter;
     
             fn quote_into_iter(&'q self) -> (Self::Iter, HasIter) {
    @@ -640,7 +648,7 @@
             }
         }
     
    -    impl<'q, 'a, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &'a mut T {
    +    impl<'q, T: RepAsIteratorExt<'q> + ?Sized> RepAsIteratorExt<'q> for &mut T {
             type Iter = T::Iter;
     
             fn quote_into_iter(&'q self) -> (Self::Iter, HasIter) {
    @@ -656,6 +664,14 @@
             }
         }
     
    +    impl<'q, T: 'q, const N: usize> RepAsIteratorExt<'q> for [T; N] {
    +        type Iter = slice::Iter<'q, T>;
    +
    +        fn quote_into_iter(&'q self) -> (Self::Iter, HasIter) {
    +            (self.iter(), HasIter)
    +        }
    +    }
    +
         impl<'q, T: 'q> RepAsIteratorExt<'q> for Vec<T> {
             type Iter = slice::Iter<'q, T>;
     
    diff --git a/src/quote/spanned.rs.html b/src/quote/spanned.rs.html
    index 73a55ad..4a7da4f 100644
    --- a/src/quote/spanned.rs.html
    +++ b/src/quote/spanned.rs.html
    @@ -1,4 +1,4 @@
    -spanned.rs - source

    quote/
    spanned.rs

    +spanned.rs - source

    quote/
    spanned.rs

     1
     2
     3
    diff --git a/src/quote/to_tokens.rs.html b/src/quote/to_tokens.rs.html
    index 69c4095..cce74e3 100644
    --- a/src/quote/to_tokens.rs.html
    +++ b/src/quote/to_tokens.rs.html
    @@ -1,4 +1,4 @@
    -to_tokens.rs - source

    quote/
    to_tokens.rs

    +to_tokens.rs - source

    quote/
    to_tokens.rs

     1
     2
     3
    @@ -350,13 +350,13 @@
         }
     }
     
    -impl<'a, T: ?Sized + ToTokens> ToTokens for &'a T {
    +impl<T: ?Sized + ToTokens> ToTokens for &T {
         fn to_tokens(&self, tokens: &mut TokenStream) {
             (**self).to_tokens(tokens);
         }
     }
     
    -impl<'a, T: ?Sized + ToTokens> ToTokens for &'a mut T {
    +impl<T: ?Sized + ToTokens> ToTokens for &mut T {
         fn to_tokens(&self, tokens: &mut TokenStream) {
             (**self).to_tokens(tokens);
         }
    diff --git a/src/syn/attr.rs.html b/src/syn/attr.rs.html
    index 21a5296..d24d792 100644
    --- a/src/syn/attr.rs.html
    +++ b/src/syn/attr.rs.html
    @@ -1,4 +1,4 @@
    -attr.rs - source

    syn/
    attr.rs

    +attr.rs - source

    syn/
    attr.rs

     1
     2
     3
    diff --git a/src/syn/bigint.rs.html b/src/syn/bigint.rs.html
    index a5aef2e..f66a8eb 100644
    --- a/src/syn/bigint.rs.html
    +++ b/src/syn/bigint.rs.html
    @@ -1,4 +1,4 @@
    -bigint.rs - source

    syn/
    bigint.rs

    +bigint.rs - source

    syn/
    bigint.rs

     1
     2
     3
    diff --git a/src/syn/buffer.rs.html b/src/syn/buffer.rs.html
    index 9dc2fc3..6465a49 100644
    --- a/src/syn/buffer.rs.html
    +++ b/src/syn/buffer.rs.html
    @@ -1,4 +1,4 @@
    -buffer.rs - source

    syn/
    buffer.rs

    +buffer.rs - source

    syn/
    buffer.rs

     1
     2
     3
    diff --git a/src/syn/classify.rs.html b/src/syn/classify.rs.html
    index b6f93ec..f9247fd 100644
    --- a/src/syn/classify.rs.html
    +++ b/src/syn/classify.rs.html
    @@ -1,4 +1,4 @@
    -classify.rs - source

    syn/
    classify.rs

    +classify.rs - source

    syn/
    classify.rs

     1
     2
     3
    @@ -309,93 +309,7 @@
     308
     309
     310
    -311
    -312
    -313
    -314
    -315
    -316
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    -330
    -331
    -332
    -333
    -334
    -335
    -336
    -337
    -338
    -339
    -340
    -341
    -342
    -343
    -344
    -345
    -346
    -347
    -348
    -349
    -350
    -351
    -352
    -353
    -354
    -355
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
    -391
    -392
    -393
    -394
    -395
    -396
    -397
    #[cfg(feature = "full")]
    +311
    #[cfg(feature = "full")]
     use crate::expr::Expr;
     #[cfg(any(feature = "printing", feature = "full"))]
     use crate::generics::TypeParamBound;
    @@ -460,95 +374,9 @@
             | Expr::Tuple(_)
             | Expr::Unary(_)
             | Expr::Yield(_)
    -        | Expr::Verbatim(_) => true
    -    }
    -}
    -
    -#[cfg(all(feature = "printing", feature = "full"))]
    -pub(crate) fn confusable_with_adjacent_block(mut expr: &Expr) -> bool {
    -    let mut stack = Vec::new();
    -
    -    while let Some(next) = match expr {
    -        Expr::Assign(e) => {
    -            stack.push(&e.right);
    -            Some(&e.left)
    -        }
    -        Expr::Await(e) => Some(&e.base),
    -        Expr::Binary(e) => {
    -            stack.push(&e.right);
    -            Some(&e.left)
    -        }
    -        Expr::Break(e) => {
    -            if let Some(Expr::Block(_)) = e.expr.as_deref() {
    -                return true;
    -            }
    -            stack.pop()
    -        }
    -        Expr::Call(e) => Some(&e.func),
    -        Expr::Cast(e) => Some(&e.expr),
    -        Expr::Closure(e) => Some(&e.body),
    -        Expr::Field(e) => Some(&e.base),
    -        Expr::Index(e) => Some(&e.expr),
    -        Expr::MethodCall(e) => Some(&e.receiver),
    -        Expr::Range(e) => {
    -            if let Some(Expr::Block(_)) = e.end.as_deref() {
    -                return true;
    -            }
    -            match (&e.start, &e.end) {
    -                (Some(start), end) => {
    -                    stack.extend(end);
    -                    Some(start)
    -                }
    -                (None, Some(end)) => Some(end),
    -                (None, None) => stack.pop(),
    -            }
    -        }
    -        Expr::RawAddr(e) => Some(&e.expr),
    -        Expr::Reference(e) => Some(&e.expr),
    -        Expr::Return(e) => {
    -            if e.expr.is_none() && stack.is_empty() {
    -                return true;
    -            }
    -            stack.pop()
    -        }
    -        Expr::Struct(_) => return true,
    -        Expr::Try(e) => Some(&e.expr),
    -        Expr::Unary(e) => Some(&e.expr),
    -        Expr::Yield(e) => {
    -            if e.expr.is_none() && stack.is_empty() {
    -                return true;
    -            }
    -            stack.pop()
    -        }
    -
    -        Expr::Array(_)
    -        | Expr::Async(_)
    -        | Expr::Block(_)
    -        | Expr::Const(_)
    -        | Expr::Continue(_)
    -        | Expr::ForLoop(_)
    -        | Expr::Group(_)
    -        | Expr::If(_)
    -        | Expr::Infer(_)
    -        | Expr::Let(_)
    -        | Expr::Lit(_)
    -        | Expr::Loop(_)
    -        | Expr::Macro(_)
    -        | Expr::Match(_)
    -        | Expr::Paren(_)
    -        | Expr::Path(_)
    -        | Expr::Repeat(_)
    -        | Expr::TryBlock(_)
    -        | Expr::Tuple(_)
    -        | Expr::Unsafe(_)
    -        | Expr::Verbatim(_)
    -        | Expr::While(_) => stack.pop(),
    -    } {
    -        expr = next;
    +        | Expr::Verbatim(_) => true,
         }
    -
    -    false
    -}
    +}
     
     #[cfg(feature = "printing")]
     pub(crate) fn trailing_unparameterized_path(mut ty: &Type) -> bool {
    diff --git a/src/syn/custom_keyword.rs.html b/src/syn/custom_keyword.rs.html
    index 65b63eb..f95c6ab 100644
    --- a/src/syn/custom_keyword.rs.html
    +++ b/src/syn/custom_keyword.rs.html
    @@ -1,4 +1,4 @@
    -custom_keyword.rs - source

    syn/
    custom_keyword.rs

    +custom_keyword.rs - source

    syn/
    custom_keyword.rs

     1
     2
     3
    diff --git a/src/syn/custom_punctuation.rs.html b/src/syn/custom_punctuation.rs.html
    index c35319c..9a16ea7 100644
    --- a/src/syn/custom_punctuation.rs.html
    +++ b/src/syn/custom_punctuation.rs.html
    @@ -1,4 +1,4 @@
    -custom_punctuation.rs - source

    syn/
    custom_punctuation.rs

    +custom_punctuation.rs - source

    syn/
    custom_punctuation.rs

     1
     2
     3
    diff --git a/src/syn/data.rs.html b/src/syn/data.rs.html
    index 330b2a0..372d790 100644
    --- a/src/syn/data.rs.html
    +++ b/src/syn/data.rs.html
    @@ -1,4 +1,4 @@
    -data.rs - source

    syn/
    data.rs

    +data.rs - source

    syn/
    data.rs

     1
     2
     3
    diff --git a/src/syn/derive.rs.html b/src/syn/derive.rs.html
    index 2d7fb98..2c26104 100644
    --- a/src/syn/derive.rs.html
    +++ b/src/syn/derive.rs.html
    @@ -1,4 +1,4 @@
    -derive.rs - source

    syn/
    derive.rs

    +derive.rs - source

    syn/
    derive.rs

     1
     2
     3
    diff --git a/src/syn/discouraged.rs.html b/src/syn/discouraged.rs.html
    index fd6436f..88432d7 100644
    --- a/src/syn/discouraged.rs.html
    +++ b/src/syn/discouraged.rs.html
    @@ -1,4 +1,4 @@
    -discouraged.rs - source

    syn/
    discouraged.rs

    +discouraged.rs - source

    syn/
    discouraged.rs

     1
     2
     3
    diff --git a/src/syn/drops.rs.html b/src/syn/drops.rs.html
    index c68734d..c2f2a32 100644
    --- a/src/syn/drops.rs.html
    +++ b/src/syn/drops.rs.html
    @@ -1,4 +1,4 @@
    -drops.rs - source

    syn/
    drops.rs

    +drops.rs - source

    syn/
    drops.rs

     1
     2
     3
    diff --git a/src/syn/error.rs.html b/src/syn/error.rs.html
    index 224c88f..483ffbb 100644
    --- a/src/syn/error.rs.html
    +++ b/src/syn/error.rs.html
    @@ -1,4 +1,4 @@
    -error.rs - source

    syn/
    error.rs

    +error.rs - source

    syn/
    error.rs

     1
     2
     3
    diff --git a/src/syn/export.rs.html b/src/syn/export.rs.html
    index 3c03ff3..ee200bb 100644
    --- a/src/syn/export.rs.html
    +++ b/src/syn/export.rs.html
    @@ -1,4 +1,4 @@
    -export.rs - source

    syn/
    export.rs

    +export.rs - source

    syn/
    export.rs

     1
     2
     3
    diff --git a/src/syn/expr.rs.html b/src/syn/expr.rs.html
    index 449097f..3a19df1 100644
    --- a/src/syn/expr.rs.html
    +++ b/src/syn/expr.rs.html
    @@ -1,4 +1,4 @@
    -expr.rs - source

    syn/
    expr.rs

    +expr.rs - source

    syn/
    expr.rs

     1
     2
     3
    @@ -4036,7 +4036,71 @@
     4035
     4036
     4037
    -4038
    use crate::attr::Attribute;
    +4038
    +4039
    +4040
    +4041
    +4042
    +4043
    +4044
    +4045
    +4046
    +4047
    +4048
    +4049
    +4050
    +4051
    +4052
    +4053
    +4054
    +4055
    +4056
    +4057
    +4058
    +4059
    +4060
    +4061
    +4062
    +4063
    +4064
    +4065
    +4066
    +4067
    +4068
    +4069
    +4070
    +4071
    +4072
    +4073
    +4074
    +4075
    +4076
    +4077
    +4078
    +4079
    +4080
    +4081
    +4082
    +4083
    +4084
    +4085
    +4086
    +4087
    +4088
    +4089
    +4090
    +4091
    +4092
    +4093
    +4094
    +4095
    +4096
    +4097
    +4098
    +4099
    +4100
    +4101
    +4102
    use crate::attr::Attribute;
     #[cfg(all(feature = "parsing", feature = "full"))]
     use crate::error::Result;
     #[cfg(feature = "parsing")]
    @@ -4942,7 +5006,7 @@
         #[cfg(feature = "parsing")]
         #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))]
         pub fn peek(input: ParseStream) -> bool {
    -        input.peek(Ident::peek_any) // value name or keyword
    +        input.peek(Ident::peek_any) && !input.peek(Token![as]) // value name or keyword
                 || input.peek(token::Paren) // tuple
                 || input.peek(token::Bracket) // array
                 || input.peek(token::Brace) // block
    @@ -5353,15 +5417,19 @@
         ) -> Result<Expr> {
             loop {
                 let ahead = input.fork();
    -            if let Expr::Range(ExprRange { end: Some(_), .. }) = lhs {
    -                // A range with an upper bound cannot be the left-hand side of
    -                // another binary operator.
    +            if let Expr::Range(_) = lhs {
    +                // A range cannot be the left-hand side of another binary operator.
                     break;
                 } else if let Ok(op) = ahead.parse::<BinOp>() {
                     let precedence = Precedence::of_binop(&op);
                     if precedence < base {
                         break;
                     }
    +                if precedence == Precedence::Assign {
    +                    if let Expr::Range(_) = lhs {
    +                        break;
    +                    }
    +                }
                     if precedence == Precedence::Compare {
                         if let Expr::Binary(lhs) = &lhs {
                             if Precedence::of_binop(&lhs.op) == Precedence::Compare {
    @@ -5377,7 +5445,13 @@
                         op,
                         right,
                     });
    -            } else if Precedence::Assign >= base && input.peek(Token![=]) && !input.peek(Token![=>])
    +            } else if Precedence::Assign >= base
    +                && input.peek(Token![=])
    +                && !input.peek(Token![=>])
    +                && match lhs {
    +                    Expr::Range(_) => false,
    +                    _ => true,
    +                }
                 {
                     let eq_token: Token![=] = input.parse()?;
                     let right = parse_binop_rhs(input, allow_struct, Precedence::Assign)?;
    @@ -5711,7 +5785,12 @@
                         bracket_token: bracketed!(content in input),
                         index: content.parse()?,
                     });
    -            } else if input.peek(Token![?]) {
    +            } else if input.peek(Token![?])
    +                && match e {
    +                    Expr::Range(_) => false,
    +                    _ => true,
    +                }
    +            {
                     e = Expr::Try(ExprTry {
                         attrs: Vec::new(),
                         expr: Box::new(e),
    @@ -6366,10 +6445,7 @@
                 let brace_token = braced!(content in input);
                 attr::parsing::parse_inner(&content, &mut attrs)?;
     
    -            let mut arms = Vec::new();
    -            while !content.is_empty() {
    -                arms.push(content.call(Arm::parse)?);
    -            }
    +            let arms = Arm::parse_multiple(&content)?;
     
                 Ok(ExprMatch {
                     attrs,
    @@ -6908,7 +6984,23 @@
                     || input.peek(Token![,])
                     || input.peek(Token![;])
                     || input.peek(Token![.]) && !input.peek(Token![..])
    -                || !allow_struct.0 && input.peek(token::Brace))
    +                || input.peek(Token![?])
    +                || input.peek(Token![=>])
    +                || !allow_struct.0 && input.peek(token::Brace)
    +                || input.peek(Token![=])
    +                || input.peek(Token![+])
    +                || input.peek(Token![/])
    +                || input.peek(Token![%])
    +                || input.peek(Token![^])
    +                || input.peek(Token![>])
    +                || input.peek(Token![<=])
    +                || input.peek(Token![!=])
    +                || input.peek(Token![-=])
    +                || input.peek(Token![*=])
    +                || input.peek(Token![&=])
    +                || input.peek(Token![|=])
    +                || input.peek(Token![<<=])
    +                || input.peek(Token![as]))
             {
                 Ok(None)
             } else {
    @@ -6983,6 +7075,17 @@
             }
         }
     
    +    #[cfg(feature = "full")]
    +    impl Arm {
    +        pub(crate) fn parse_multiple(input: ParseStream) -> Result<Vec<Self>> {
    +            let mut arms = Vec::new();
    +            while !input.is_empty() {
    +                arms.push(input.call(Arm::parse)?);
    +            }
    +            Ok(arms)
    +        }
    +    }
    +
         #[cfg(feature = "full")]
         #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))]
         impl Parse for Arm {
    @@ -7150,17 +7253,7 @@
         #[cfg(not(feature = "full"))]
         pub(crate) fn outer_attrs_to_tokens(_attrs: &[Attribute], _tokens: &mut TokenStream) {}
     
    -    #[cfg(feature = "full")]
    -    fn print_condition(expr: &Expr, tokens: &mut TokenStream) {
    -        print_subexpression(
    -            expr,
    -            classify::confusable_with_adjacent_block(expr),
    -            tokens,
    -            FixupContext::new_condition(),
    -        );
    -    }
    -
    -    fn print_subexpression(
    +    pub(crate) fn print_subexpression(
             expr: &Expr,
             needs_group: bool,
             tokens: &mut TokenStream,
    @@ -7192,7 +7285,7 @@
     
         pub(crate) fn print_expr(expr: &Expr, tokens: &mut TokenStream, mut fixup: FixupContext) {
             #[cfg(feature = "full")]
    -        let needs_group = fixup.would_cause_statement_boundary(expr);
    +        let needs_group = fixup.parenthesize(expr);
             #[cfg(not(feature = "full"))]
             let needs_group = false;
     
    @@ -7217,7 +7310,7 @@
                 Expr::Call(e) => print_expr_call(e, tokens, fixup),
                 Expr::Cast(e) => print_expr_cast(e, tokens, fixup),
                 #[cfg(feature = "full")]
    -            Expr::Closure(e) => e.to_tokens(tokens),
    +            Expr::Closure(e) => print_expr_closure(e, tokens, fixup),
                 #[cfg(feature = "full")]
                 Expr::Const(e) => e.to_tokens(tokens),
                 #[cfg(feature = "full")]
    @@ -7301,18 +7394,14 @@
         #[cfg(feature = "full")]
         fn print_expr_assign(e: &ExprAssign, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    -        print_subexpression(
    -            &e.left,
    -            Precedence::of(&e.left) <= Precedence::Range,
    -            tokens,
    -            fixup.leftmost_subexpression(),
    -        );
    +        let (left_prec, left_fixup) =
    +            fixup.leftmost_subexpression_with_operator(&e.left, false, false, Precedence::Assign);
    +        print_subexpression(&e.left, left_prec <= Precedence::Range, tokens, left_fixup);
             e.eq_token.to_tokens(tokens);
    -        print_subexpression(
    +        print_expr(
                 &e.right,
    -            fixup.trailing_precedence(&e.right) < Precedence::Assign,
                 tokens,
    -            fixup.subsequent_subexpression(),
    +            fixup.rightmost_subexpression_fixup(false, false, Precedence::Assign),
             );
         }
     
    @@ -7338,11 +7427,12 @@
         #[cfg(feature = "full")]
         fn print_expr_await(e: &ExprAwait, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_dot(&e.base);
             print_subexpression(
                 &e.base,
    -            Precedence::of(&e.base) < Precedence::Unambiguous,
    +            left_prec < Precedence::Unambiguous,
                 tokens,
    -            fixup.leftmost_subexpression_with_dot(),
    +            left_fixup,
             );
             e.dot_token.to_tokens(tokens);
             e.await_token.to_tokens(tokens);
    @@ -7358,7 +7448,9 @@
         fn print_expr_binary(e: &ExprBinary, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
     
    -        let left_fixup = fixup.leftmost_subexpression_with_begin_operator(
    +        let binop_prec = Precedence::of_binop(&e.op);
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_operator(
    +            &e.left,
                 #[cfg(feature = "full")]
                 match &e.op {
                     BinOp::Sub(_)
    @@ -7375,25 +7467,29 @@
                     BinOp::Shl(_) | BinOp::Lt(_) => true,
                     _ => false,
                 },
    +            #[cfg(feature = "full")]
    +            binop_prec,
             );
    -
    -        let binop_prec = Precedence::of_binop(&e.op);
    -        let left_prec = left_fixup.leading_precedence(&e.left);
    -        let right_prec = fixup.trailing_precedence(&e.right);
    -        let (left_needs_group, right_needs_group) = match binop_prec {
    -            Precedence::Assign => (left_prec <= Precedence::Range, right_prec < binop_prec),
    -            Precedence::Compare => (left_prec <= binop_prec, right_prec <= binop_prec),
    -            _ => (left_prec < binop_prec, right_prec <= binop_prec),
    +        let left_needs_group = match binop_prec {
    +            Precedence::Assign => left_prec <= Precedence::Range,
    +            Precedence::Compare => left_prec <= binop_prec,
    +            _ => left_prec < binop_prec,
             };
     
    +        let right_fixup = fixup.rightmost_subexpression_fixup(
    +            #[cfg(feature = "full")]
    +            false,
    +            #[cfg(feature = "full")]
    +            false,
    +            #[cfg(feature = "full")]
    +            binop_prec,
    +        );
    +        let right_needs_group = binop_prec != Precedence::Assign
    +            && right_fixup.rightmost_subexpression_precedence(&e.right) <= binop_prec;
    +
             print_subexpression(&e.left, left_needs_group, tokens, left_fixup);
             e.op.to_tokens(tokens);
    -        print_subexpression(
    -            &e.right,
    -            right_needs_group,
    -            tokens,
    -            fixup.subsequent_subexpression(),
    -        );
    +        print_subexpression(&e.right, right_needs_group, tokens, right_fixup);
         }
     
         #[cfg(feature = "full")]
    @@ -7429,7 +7525,7 @@
                     //                     ^---------------------------------^
                     e.label.is_none() && classify::expr_leading_label(value),
                     tokens,
    -                fixup.subsequent_subexpression(),
    +                fixup.rightmost_subexpression_fixup(true, true, Precedence::Jump),
                 );
             }
         }
    @@ -7444,17 +7540,20 @@
         fn print_expr_call(e: &ExprCall, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
     
    -        let func_fixup = fixup.leftmost_subexpression_with_begin_operator(
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_operator(
    +            &e.func,
                 #[cfg(feature = "full")]
                 true,
                 false,
    +            #[cfg(feature = "full")]
    +            Precedence::Unambiguous,
             );
             let needs_group = if let Expr::Field(func) = &*e.func {
                 func.member.is_named()
             } else {
    -            func_fixup.leading_precedence(&e.func) < Precedence::Unambiguous
    +            left_prec < Precedence::Unambiguous
             };
    -        print_subexpression(&e.func, needs_group, tokens, func_fixup);
    +        print_subexpression(&e.func, needs_group, tokens, left_fixup);
     
             e.paren_token.surround(tokens, |tokens| {
                 e.args.to_tokens(tokens);
    @@ -7470,12 +7569,15 @@
     
         fn print_expr_cast(e: &ExprCast, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    -        print_subexpression(
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_operator(
                 &e.expr,
    -            Precedence::of(&e.expr) < Precedence::Cast,
    -            tokens,
    -            fixup.leftmost_subexpression(),
    +            #[cfg(feature = "full")]
    +            false,
    +            false,
    +            #[cfg(feature = "full")]
    +            Precedence::Cast,
             );
    +        print_subexpression(&e.expr, left_prec < Precedence::Cast, tokens, left_fixup);
             e.as_token.to_tokens(tokens);
             e.ty.to_tokens(tokens);
         }
    @@ -7484,23 +7586,34 @@
         #[cfg_attr(docsrs, doc(cfg(feature = "printing")))]
         impl ToTokens for ExprClosure {
             fn to_tokens(&self, tokens: &mut TokenStream) {
    -            outer_attrs_to_tokens(&self.attrs, tokens);
    -            self.lifetimes.to_tokens(tokens);
    -            self.constness.to_tokens(tokens);
    -            self.movability.to_tokens(tokens);
    -            self.asyncness.to_tokens(tokens);
    -            self.capture.to_tokens(tokens);
    -            self.or1_token.to_tokens(tokens);
    -            self.inputs.to_tokens(tokens);
    -            self.or2_token.to_tokens(tokens);
    -            self.output.to_tokens(tokens);
    -            if matches!(self.output, ReturnType::Default) || matches!(*self.body, Expr::Block(_)) {
    -                self.body.to_tokens(tokens);
    -            } else {
    -                token::Brace::default().surround(tokens, |tokens| {
    -                    print_expr(&self.body, tokens, FixupContext::new_stmt());
    -                });
    -            }
    +            print_expr_closure(self, tokens, FixupContext::NONE);
    +        }
    +    }
    +
    +    #[cfg(feature = "full")]
    +    fn print_expr_closure(e: &ExprClosure, tokens: &mut TokenStream, fixup: FixupContext) {
    +        outer_attrs_to_tokens(&e.attrs, tokens);
    +        e.lifetimes.to_tokens(tokens);
    +        e.constness.to_tokens(tokens);
    +        e.movability.to_tokens(tokens);
    +        e.asyncness.to_tokens(tokens);
    +        e.capture.to_tokens(tokens);
    +        e.or1_token.to_tokens(tokens);
    +        e.inputs.to_tokens(tokens);
    +        e.or2_token.to_tokens(tokens);
    +        e.output.to_tokens(tokens);
    +        if matches!(e.output, ReturnType::Default)
    +            || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none())
    +        {
    +            print_expr(
    +                &e.body,
    +                tokens,
    +                fixup.rightmost_subexpression_fixup(false, false, Precedence::Jump),
    +            );
    +        } else {
    +            token::Brace::default().surround(tokens, |tokens| {
    +                print_expr(&e.body, tokens, FixupContext::new_stmt());
    +            });
             }
         }
     
    @@ -7536,11 +7649,12 @@
     
         fn print_expr_field(e: &ExprField, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_dot(&e.base);
             print_subexpression(
                 &e.base,
    -            Precedence::of(&e.base) < Precedence::Unambiguous,
    +            left_prec < Precedence::Unambiguous,
                 tokens,
    -            fixup.leftmost_subexpression_with_dot(),
    +            left_fixup,
             );
             e.dot_token.to_tokens(tokens);
             e.member.to_tokens(tokens);
    @@ -7555,7 +7669,7 @@
                 self.for_token.to_tokens(tokens);
                 self.pat.to_tokens(tokens);
                 self.in_token.to_tokens(tokens);
    -            print_condition(&self.expr, tokens);
    +            print_expr(&self.expr, tokens, FixupContext::new_condition());
                 self.body.brace_token.surround(tokens, |tokens| {
                     inner_attrs_to_tokens(&self.attrs, tokens);
                     tokens.append_all(&self.body.stmts);
    @@ -7582,7 +7696,7 @@
                 let mut expr = self;
                 loop {
                     expr.if_token.to_tokens(tokens);
    -                print_condition(&expr.cond, tokens);
    +                print_expr(&expr.cond, tokens, FixupContext::new_condition());
                     expr.then_branch.to_tokens(tokens);
     
                     let (else_token, else_) = match &expr.else_branch {
    @@ -7621,16 +7735,19 @@
     
         fn print_expr_index(e: &ExprIndex, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    -        let obj_fixup = fixup.leftmost_subexpression_with_begin_operator(
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_operator(
    +            &e.expr,
                 #[cfg(feature = "full")]
                 true,
                 false,
    +            #[cfg(feature = "full")]
    +            Precedence::Unambiguous,
             );
             print_subexpression(
                 &e.expr,
    -            obj_fixup.leading_precedence(&e.expr) < Precedence::Unambiguous,
    +            left_prec < Precedence::Unambiguous,
                 tokens,
    -            obj_fixup,
    +            left_fixup,
             );
             e.bracket_token.surround(tokens, |tokens| {
                 e.index.to_tokens(tokens);
    @@ -7660,12 +7777,8 @@
             e.let_token.to_tokens(tokens);
             e.pat.to_tokens(tokens);
             e.eq_token.to_tokens(tokens);
    -        print_subexpression(
    -            &e.expr,
    -            fixup.needs_group_as_let_scrutinee(&e.expr),
    -            tokens,
    -            FixupContext::NONE,
    -        );
    +        let (right_prec, right_fixup) = fixup.rightmost_subexpression(&e.expr, Precedence::Let);
    +        print_subexpression(&e.expr, right_prec < Precedence::Let, tokens, right_fixup);
         }
     
         #[cfg_attr(docsrs, doc(cfg(feature = "printing")))]
    @@ -7704,7 +7817,7 @@
             fn to_tokens(&self, tokens: &mut TokenStream) {
                 outer_attrs_to_tokens(&self.attrs, tokens);
                 self.match_token.to_tokens(tokens);
    -            print_condition(&self.expr, tokens);
    +            print_expr(&self.expr, tokens, FixupContext::new_condition());
                 self.brace_token.surround(tokens, |tokens| {
                     inner_attrs_to_tokens(&self.attrs, tokens);
                     for (i, arm) in self.arms.iter().enumerate() {
    @@ -7732,11 +7845,12 @@
     
         fn print_expr_method_call(e: &ExprMethodCall, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_dot(&e.receiver);
             print_subexpression(
                 &e.receiver,
    -            Precedence::of(&e.receiver) < Precedence::Unambiguous,
    +            left_prec < Precedence::Unambiguous,
                 tokens,
    -            fixup.leftmost_subexpression_with_dot(),
    +            left_fixup,
             );
             e.dot_token.to_tokens(tokens);
             e.method.to_tokens(tokens);
    @@ -7782,21 +7896,15 @@
         fn print_expr_range(e: &ExprRange, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
             if let Some(start) = &e.start {
    -            print_subexpression(
    -                start,
    -                Precedence::of(start) <= Precedence::Range,
    -                tokens,
    -                fixup.leftmost_subexpression(),
    -            );
    +            let (left_prec, left_fixup) =
    +                fixup.leftmost_subexpression_with_operator(start, true, false, Precedence::Range);
    +            print_subexpression(start, left_prec <= Precedence::Range, tokens, left_fixup);
             }
             e.limits.to_tokens(tokens);
             if let Some(end) = &e.end {
    -            print_subexpression(
    -                end,
    -                fixup.trailing_precedence(end) <= Precedence::Range,
    -                tokens,
    -                fixup.subsequent_subexpression(),
    -            );
    +            let right_fixup = fixup.rightmost_subexpression_fixup(false, true, Precedence::Range);
    +            let right_prec = right_fixup.rightmost_subexpression_precedence(end);
    +            print_subexpression(end, right_prec <= Precedence::Range, tokens, right_fixup);
             }
         }
     
    @@ -7814,11 +7922,12 @@
             e.and_token.to_tokens(tokens);
             e.raw.to_tokens(tokens);
             e.mutability.to_tokens(tokens);
    +        let (right_prec, right_fixup) = fixup.rightmost_subexpression(&e.expr, Precedence::Prefix);
             print_subexpression(
                 &e.expr,
    -            fixup.trailing_precedence(&e.expr) < Precedence::Prefix,
    +            right_prec < Precedence::Prefix,
                 tokens,
    -            fixup.subsequent_subexpression(),
    +            right_fixup,
             );
         }
     
    @@ -7833,11 +7942,16 @@
             outer_attrs_to_tokens(&e.attrs, tokens);
             e.and_token.to_tokens(tokens);
             e.mutability.to_tokens(tokens);
    +        let (right_prec, right_fixup) = fixup.rightmost_subexpression(
    +            &e.expr,
    +            #[cfg(feature = "full")]
    +            Precedence::Prefix,
    +        );
             print_subexpression(
                 &e.expr,
    -            fixup.trailing_precedence(&e.expr) < Precedence::Prefix,
    +            right_prec < Precedence::Prefix,
                 tokens,
    -            fixup.subsequent_subexpression(),
    +            right_fixup,
             );
         }
     
    @@ -7867,7 +7981,11 @@
             outer_attrs_to_tokens(&e.attrs, tokens);
             e.return_token.to_tokens(tokens);
             if let Some(expr) = &e.expr {
    -            print_expr(expr, tokens, fixup.subsequent_subexpression());
    +            print_expr(
    +                expr,
    +                tokens,
    +                fixup.rightmost_subexpression_fixup(true, false, Precedence::Jump),
    +            );
             }
         }
     
    @@ -7899,11 +8017,12 @@
         #[cfg(feature = "full")]
         fn print_expr_try(e: &ExprTry, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
    +        let (left_prec, left_fixup) = fixup.leftmost_subexpression_with_dot(&e.expr);
             print_subexpression(
                 &e.expr,
    -            Precedence::of(&e.expr) < Precedence::Unambiguous,
    +            left_prec < Precedence::Unambiguous,
                 tokens,
    -            fixup.leftmost_subexpression_with_dot(),
    +            left_fixup,
             );
             e.question_token.to_tokens(tokens);
         }
    @@ -7943,11 +8062,16 @@
         fn print_expr_unary(e: &ExprUnary, tokens: &mut TokenStream, fixup: FixupContext) {
             outer_attrs_to_tokens(&e.attrs, tokens);
             e.op.to_tokens(tokens);
    +        let (right_prec, right_fixup) = fixup.rightmost_subexpression(
    +            &e.expr,
    +            #[cfg(feature = "full")]
    +            Precedence::Prefix,
    +        );
             print_subexpression(
                 &e.expr,
    -            fixup.trailing_precedence(&e.expr) < Precedence::Prefix,
    +            right_prec < Precedence::Prefix,
                 tokens,
    -            fixup.subsequent_subexpression(),
    +            right_fixup,
             );
         }
     
    @@ -7971,7 +8095,7 @@
                 outer_attrs_to_tokens(&self.attrs, tokens);
                 self.label.to_tokens(tokens);
                 self.while_token.to_tokens(tokens);
    -            print_condition(&self.cond, tokens);
    +            print_expr(&self.cond, tokens, FixupContext::new_condition());
                 self.body.brace_token.surround(tokens, |tokens| {
                     inner_attrs_to_tokens(&self.attrs, tokens);
                     tokens.append_all(&self.body.stmts);
    @@ -7992,7 +8116,11 @@
             outer_attrs_to_tokens(&e.attrs, tokens);
             e.yield_token.to_tokens(tokens);
             if let Some(expr) = &e.expr {
    -            print_expr(expr, tokens, fixup.subsequent_subexpression());
    +            print_expr(
    +                expr,
    +                tokens,
    +                fixup.rightmost_subexpression_fixup(true, false, Precedence::Jump),
    +            );
             }
         }
     
    diff --git a/src/syn/ext.rs.html b/src/syn/ext.rs.html
    index 939fc84..95b9a98 100644
    --- a/src/syn/ext.rs.html
    +++ b/src/syn/ext.rs.html
    @@ -1,4 +1,4 @@
    -ext.rs - source

    syn/
    ext.rs

    +ext.rs - source

    syn/
    ext.rs

     1
     2
     3
    diff --git a/src/syn/fixup.rs.html b/src/syn/fixup.rs.html
    index 7ef31e4..5098d6c 100644
    --- a/src/syn/fixup.rs.html
    +++ b/src/syn/fixup.rs.html
    @@ -1,4 +1,4 @@
    -fixup.rs - source

    syn/
    fixup.rs

    +fixup.rs - source

    syn/
    fixup.rs

     1
     2
     3
    @@ -345,11 +345,445 @@
     344
     345
     346
    -347
    use crate::classify;
    +347
    +348
    +349
    +350
    +351
    +352
    +353
    +354
    +355
    +356
    +357
    +358
    +359
    +360
    +361
    +362
    +363
    +364
    +365
    +366
    +367
    +368
    +369
    +370
    +371
    +372
    +373
    +374
    +375
    +376
    +377
    +378
    +379
    +380
    +381
    +382
    +383
    +384
    +385
    +386
    +387
    +388
    +389
    +390
    +391
    +392
    +393
    +394
    +395
    +396
    +397
    +398
    +399
    +400
    +401
    +402
    +403
    +404
    +405
    +406
    +407
    +408
    +409
    +410
    +411
    +412
    +413
    +414
    +415
    +416
    +417
    +418
    +419
    +420
    +421
    +422
    +423
    +424
    +425
    +426
    +427
    +428
    +429
    +430
    +431
    +432
    +433
    +434
    +435
    +436
    +437
    +438
    +439
    +440
    +441
    +442
    +443
    +444
    +445
    +446
    +447
    +448
    +449
    +450
    +451
    +452
    +453
    +454
    +455
    +456
    +457
    +458
    +459
    +460
    +461
    +462
    +463
    +464
    +465
    +466
    +467
    +468
    +469
    +470
    +471
    +472
    +473
    +474
    +475
    +476
    +477
    +478
    +479
    +480
    +481
    +482
    +483
    +484
    +485
    +486
    +487
    +488
    +489
    +490
    +491
    +492
    +493
    +494
    +495
    +496
    +497
    +498
    +499
    +500
    +501
    +502
    +503
    +504
    +505
    +506
    +507
    +508
    +509
    +510
    +511
    +512
    +513
    +514
    +515
    +516
    +517
    +518
    +519
    +520
    +521
    +522
    +523
    +524
    +525
    +526
    +527
    +528
    +529
    +530
    +531
    +532
    +533
    +534
    +535
    +536
    +537
    +538
    +539
    +540
    +541
    +542
    +543
    +544
    +545
    +546
    +547
    +548
    +549
    +550
    +551
    +552
    +553
    +554
    +555
    +556
    +557
    +558
    +559
    +560
    +561
    +562
    +563
    +564
    +565
    +566
    +567
    +568
    +569
    +570
    +571
    +572
    +573
    +574
    +575
    +576
    +577
    +578
    +579
    +580
    +581
    +582
    +583
    +584
    +585
    +586
    +587
    +588
    +589
    +590
    +591
    +592
    +593
    +594
    +595
    +596
    +597
    +598
    +599
    +600
    +601
    +602
    +603
    +604
    +605
    +606
    +607
    +608
    +609
    +610
    +611
    +612
    +613
    +614
    +615
    +616
    +617
    +618
    +619
    +620
    +621
    +622
    +623
    +624
    +625
    +626
    +627
    +628
    +629
    +630
    +631
    +632
    +633
    +634
    +635
    +636
    +637
    +638
    +639
    +640
    +641
    +642
    +643
    +644
    +645
    +646
    +647
    +648
    +649
    +650
    +651
    +652
    +653
    +654
    +655
    +656
    +657
    +658
    +659
    +660
    +661
    +662
    +663
    +664
    +665
    +666
    +667
    +668
    +669
    +670
    +671
    +672
    +673
    +674
    +675
    +676
    +677
    +678
    +679
    +680
    +681
    +682
    +683
    +684
    +685
    +686
    +687
    +688
    +689
    +690
    +691
    +692
    +693
    +694
    +695
    +696
    +697
    +698
    +699
    +700
    +701
    +702
    +703
    +704
    +705
    +706
    +707
    +708
    +709
    +710
    +711
    +712
    +713
    +714
    +715
    +716
    +717
    +718
    +719
    +720
    +721
    +722
    +723
    +724
    +725
    +726
    +727
    +728
    +729
    +730
    +731
    +732
    +733
    +734
    +735
    +736
    +737
    +738
    +739
    +740
    +741
    +742
    +743
    +744
    +745
    +746
    +747
    +748
    +749
    +750
    +751
    +752
    +753
    +754
    +755
    +756
    +757
    +758
    +759
    +760
    +761
    +762
    +763
    +764
    +765
    +766
    +767
    +768
    +769
    +770
    use crate::classify;
     use crate::expr::Expr;
    +#[cfg(feature = "full")]
    +use crate::expr::{
    +    ExprBreak, ExprRange, ExprRawAddr, ExprReference, ExprReturn, ExprUnary, ExprYield,
    +};
     use crate::precedence::Precedence;
    +#[cfg(feature = "full")]
    +use crate::ty::ReturnType;
     
     pub(crate) struct FixupContext {
    +    #[cfg(feature = "full")]
    +    previous_operator: Precedence,
    +    #[cfg(feature = "full")]
    +    next_operator: Precedence,
    +
         // Print expression such that it can be parsed back as a statement
         // consisting of the original expression.
         //
    @@ -436,16 +870,25 @@
         //     }
         //
         #[cfg(feature = "full")]
    -    parenthesize_exterior_struct_lit: bool,
    +    condition: bool,
     
         // This is the difference between:
         //
    -    //     let _ = 1 + return 1;  // no parens if rightmost subexpression
    +    //     if break Struct {} == (break) {}  // needs parens
         //
    -    //     let _ = 1 + (return 1) + 1;  // needs parens
    +    //     if break break == Struct {} {}  // no parens
         //
         #[cfg(feature = "full")]
    -    parenthesize_exterior_jump: bool,
    +    rightmost_subexpression_in_condition: bool,
    +
    +    // This is the difference between:
    +    //
    +    //     if break ({ x }).field + 1 {}  needs parens
    +    //
    +    //     if break 1 + { x }.field {}  // no parens
    +    //
    +    #[cfg(feature = "full")]
    +    leftmost_subexpression_in_optional_operand: bool,
     
         // This is the difference between:
         //
    @@ -456,6 +899,15 @@
         #[cfg(feature = "full")]
         next_operator_can_begin_expr: bool,
     
    +    // This is the difference between:
    +    //
    +    //     let _ = 1 + return 1;  // no parens if rightmost subexpression
    +    //
    +    //     let _ = 1 + (return 1) + 1;  // needs parens
    +    //
    +    #[cfg(feature = "full")]
    +    next_operator_can_continue_expr: bool,
    +
         // This is the difference between:
         //
         //     let _ = x as u8 + T;
    @@ -470,6 +922,10 @@
         /// The default amount of fixing is minimal fixing. Fixups should be turned
         /// on in a targeted fashion where needed.
         pub const NONE: Self = FixupContext {
    +        #[cfg(feature = "full")]
    +        previous_operator: Precedence::MIN,
    +        #[cfg(feature = "full")]
    +        next_operator: Precedence::MIN,
             #[cfg(feature = "full")]
             stmt: false,
             #[cfg(feature = "full")]
    @@ -479,11 +935,15 @@
             #[cfg(feature = "full")]
             leftmost_subexpression_in_match_arm: false,
             #[cfg(feature = "full")]
    -        parenthesize_exterior_struct_lit: false,
    +        condition: false,
             #[cfg(feature = "full")]
    -        parenthesize_exterior_jump: false,
    +        rightmost_subexpression_in_condition: false,
    +        #[cfg(feature = "full")]
    +        leftmost_subexpression_in_optional_operand: false,
             #[cfg(feature = "full")]
             next_operator_can_begin_expr: false,
    +        #[cfg(feature = "full")]
    +        next_operator_can_continue_expr: false,
             next_operator_can_begin_generics: false,
         };
     
    @@ -514,7 +974,8 @@
         #[cfg(feature = "full")]
         pub fn new_condition() -> Self {
             FixupContext {
    -            parenthesize_exterior_struct_lit: true,
    +            condition: true,
    +            rightmost_subexpression_in_condition: true,
                 ..FixupContext::NONE
             }
         }
    @@ -530,8 +991,16 @@
         ///
         /// Not every expression has a leftmost subexpression. For example neither
         /// `-$a` nor `[$a]` have one.
    -    pub fn leftmost_subexpression(self) -> Self {
    -        FixupContext {
    +    pub fn leftmost_subexpression_with_operator(
    +        self,
    +        expr: &Expr,
    +        #[cfg(feature = "full")] next_operator_can_begin_expr: bool,
    +        next_operator_can_begin_generics: bool,
    +        #[cfg(feature = "full")] precedence: Precedence,
    +    ) -> (Precedence, Self) {
    +        let fixup = FixupContext {
    +            #[cfg(feature = "full")]
    +            next_operator: precedence,
                 #[cfg(feature = "full")]
                 stmt: false,
                 #[cfg(feature = "full")]
    @@ -542,17 +1011,26 @@
                 leftmost_subexpression_in_match_arm: self.match_arm
                     || self.leftmost_subexpression_in_match_arm,
                 #[cfg(feature = "full")]
    -            parenthesize_exterior_jump: true,
    +            rightmost_subexpression_in_condition: false,
    +            #[cfg(feature = "full")]
    +            next_operator_can_begin_expr,
    +            #[cfg(feature = "full")]
    +            next_operator_can_continue_expr: true,
    +            next_operator_can_begin_generics,
                 ..self
    -        }
    +        };
    +
    +        (fixup.leftmost_subexpression_precedence(expr), fixup)
         }
     
         /// Transform this fixup into the one that should apply when printing a
         /// leftmost subexpression followed by a `.` or `?` token, which confer
         /// different statement boundary rules compared to other leftmost
         /// subexpressions.
    -    pub fn leftmost_subexpression_with_dot(self) -> Self {
    -        FixupContext {
    +    pub fn leftmost_subexpression_with_dot(self, expr: &Expr) -> (Precedence, Self) {
    +        let fixup = FixupContext {
    +            #[cfg(feature = "full")]
    +            next_operator: Precedence::Unambiguous,
                 #[cfg(feature = "full")]
                 stmt: self.stmt || self.leftmost_subexpression_in_stmt,
                 #[cfg(feature = "full")]
    @@ -562,37 +1040,67 @@
                 #[cfg(feature = "full")]
                 leftmost_subexpression_in_match_arm: false,
                 #[cfg(feature = "full")]
    -            parenthesize_exterior_jump: true,
    +            rightmost_subexpression_in_condition: false,
    +            #[cfg(feature = "full")]
    +            next_operator_can_begin_expr: false,
    +            #[cfg(feature = "full")]
    +            next_operator_can_continue_expr: true,
    +            next_operator_can_begin_generics: false,
                 ..self
    -        }
    +        };
    +
    +        (fixup.leftmost_subexpression_precedence(expr), fixup)
         }
     
    -    /// Transform this fixup into the one that should apply when printing a
    -    /// leftmost subexpression followed by punctuation that is legal as the
    -    /// first token of an expression.
    -    pub fn leftmost_subexpression_with_begin_operator(
    +    fn leftmost_subexpression_precedence(self, expr: &Expr) -> Precedence {
    +        #[cfg(feature = "full")]
    +        if !self.next_operator_can_begin_expr || self.next_operator == Precedence::Range {
    +            if let Scan::Bailout = scan_right(expr, self, Precedence::MIN, 0, 0) {
    +                if scan_left(expr, self) {
    +                    return Precedence::Unambiguous;
    +                }
    +            }
    +        }
    +
    +        self.precedence(expr)
    +    }
    +
    +    /// Transform this fixup into the one that should apply when printing the
    +    /// rightmost subexpression of the current expression.
    +    ///
    +    /// The rightmost subexpression is any subexpression that has a different
    +    /// first token than the current expression, but has the same last token.
    +    ///
    +    /// For example in `$a + $b` and `-$b`, the subexpression `$b` is a
    +    /// rightmost subexpression.
    +    ///
    +    /// Not every expression has a rightmost subexpression. For example neither
    +    /// `[$b]` nor `$a.f($b)` have one.
    +    pub fn rightmost_subexpression(
             self,
    -        #[cfg(feature = "full")] next_operator_can_begin_expr: bool,
    -        next_operator_can_begin_generics: bool,
    +        expr: &Expr,
    +        #[cfg(feature = "full")] precedence: Precedence,
    +    ) -> (Precedence, Self) {
    +        let fixup = self.rightmost_subexpression_fixup(
    +            #[cfg(feature = "full")]
    +            false,
    +            #[cfg(feature = "full")]
    +            false,
    +            #[cfg(feature = "full")]
    +            precedence,
    +        );
    +        (fixup.rightmost_subexpression_precedence(expr), fixup)
    +    }
    +
    +    pub fn rightmost_subexpression_fixup(
    +        self,
    +        #[cfg(feature = "full")] reset_allow_struct: bool,
    +        #[cfg(feature = "full")] optional_operand: bool,
    +        #[cfg(feature = "full")] precedence: Precedence,
         ) -> Self {
             FixupContext {
                 #[cfg(feature = "full")]
    -            next_operator_can_begin_expr,
    -            next_operator_can_begin_generics,
    -            ..self.leftmost_subexpression()
    -        }
    -    }
    -
    -    /// Transform this fixup into the one that should apply when printing any
    -    /// subexpression that is neither a leftmost subexpression nor surrounded in
    -    /// delimiters.
    -    ///
    -    /// This is for any subexpression that has a different first token than the
    -    /// current expression, and is not surrounded by a paren/bracket/brace. For
    -    /// example the `$b` in `$a + $b` and `-$b`, but not the one in `[$b]` or
    -    /// `$a.f($b)`.
    -    pub fn subsequent_subexpression(self) -> Self {
    -        FixupContext {
    +            previous_operator: precedence,
                 #[cfg(feature = "full")]
                 stmt: false,
                 #[cfg(feature = "full")]
    @@ -601,61 +1109,83 @@
                 match_arm: false,
                 #[cfg(feature = "full")]
                 leftmost_subexpression_in_match_arm: false,
    +            #[cfg(feature = "full")]
    +            condition: self.condition && !reset_allow_struct,
    +            #[cfg(feature = "full")]
    +            leftmost_subexpression_in_optional_operand: self.condition && optional_operand,
                 ..self
             }
         }
     
    +    pub fn rightmost_subexpression_precedence(self, expr: &Expr) -> Precedence {
    +        let default_prec = self.precedence(expr);
    +
    +        #[cfg(feature = "full")]
    +        if match self.previous_operator {
    +            Precedence::Assign | Precedence::Let | Precedence::Prefix => {
    +                default_prec < self.previous_operator
    +            }
    +            _ => default_prec <= self.previous_operator,
    +        } && match self.next_operator {
    +            Precedence::Range | Precedence::Or | Precedence::And => true,
    +            _ => !self.next_operator_can_begin_expr,
    +        } {
    +            if let Scan::Bailout | Scan::Fail = scan_right(expr, self, self.previous_operator, 1, 0)
    +            {
    +                if scan_left(expr, self) {
    +                    return Precedence::Prefix;
    +                }
    +            }
    +        }
    +
    +        default_prec
    +    }
    +
         /// Determine whether parentheses are needed around the given expression to
    -    /// head off an unintended statement boundary.
    -    ///
    -    /// The documentation on `FixupContext::leftmost_subexpression_in_stmt` has
    -    /// examples.
    +    /// head off the early termination of a statement or condition.
         #[cfg(feature = "full")]
    -    pub fn would_cause_statement_boundary(self, expr: &Expr) -> bool {
    +    pub fn parenthesize(self, expr: &Expr) -> bool {
             (self.leftmost_subexpression_in_stmt && !classify::requires_semi_to_be_stmt(expr))
                 || ((self.stmt || self.leftmost_subexpression_in_stmt) && matches!(expr, Expr::Let(_)))
                 || (self.leftmost_subexpression_in_match_arm
                     && !classify::requires_comma_to_be_match_arm(expr))
    +            || (self.condition && matches!(expr, Expr::Struct(_)))
    +            || (self.rightmost_subexpression_in_condition
    +                && matches!(
    +                    expr,
    +                    Expr::Return(ExprReturn { expr: None, .. })
    +                        | Expr::Yield(ExprYield { expr: None, .. })
    +                ))
    +            || (self.rightmost_subexpression_in_condition
    +                && !self.condition
    +                && matches!(
    +                    expr,
    +                    Expr::Break(ExprBreak { expr: None, .. })
    +                        | Expr::Path(_)
    +                        | Expr::Range(ExprRange { end: None, .. })
    +                ))
    +            || (self.leftmost_subexpression_in_optional_operand
    +                && matches!(expr, Expr::Block(expr) if expr.attrs.is_empty() && expr.label.is_none()))
         }
     
    -    /// Determine whether parentheses are needed around the given `let`
    -    /// scrutinee.
    -    ///
    -    /// In `if let _ = $e {}`, some examples of `$e` that would need parentheses
    -    /// are:
    -    ///
    -    ///   - `Struct {}.f()`, because otherwise the `{` would be misinterpreted
    -    ///     as the opening of the if's then-block.
    -    ///
    -    ///   - `true && false`, because otherwise this would be misinterpreted as a
    -    ///     "let chain".
    -    #[cfg(feature = "full")]
    -    pub fn needs_group_as_let_scrutinee(self, expr: &Expr) -> bool {
    -        self.parenthesize_exterior_struct_lit && classify::confusable_with_adjacent_block(expr)
    -            || self.trailing_precedence(expr) < Precedence::Let
    -    }
    -
    -    /// Determines the effective precedence of a left subexpression. Some
    -    /// expressions have lower precedence when adjacent to particular operators.
    -    pub fn leading_precedence(self, expr: &Expr) -> Precedence {
    +    /// Determines the effective precedence of a subexpression. Some expressions
    +    /// have higher or lower precedence when adjacent to particular operators.
    +    fn precedence(self, expr: &Expr) -> Precedence {
             #[cfg(feature = "full")]
             if self.next_operator_can_begin_expr {
                 // Decrease precedence of value-less jumps when followed by an
                 // operator that would otherwise get interpreted as beginning a
                 // value for the jump.
    -            if let Expr::Break(_) | Expr::Return(_) | Expr::Yield(_) = expr {
    +            if let Expr::Break(ExprBreak { expr: None, .. })
    +            | Expr::Return(ExprReturn { expr: None, .. })
    +            | Expr::Yield(ExprYield { expr: None, .. }) = expr
    +            {
                     return Precedence::Jump;
                 }
             }
    -        self.precedence(expr)
    -    }
     
    -    /// Determines the effective precedence of a right subexpression. Some
    -    /// expressions have higher precedence on the right side of a binary
    -    /// operator than on the left.
    -    pub fn trailing_precedence(self, expr: &Expr) -> Precedence {
             #[cfg(feature = "full")]
    -        if !self.parenthesize_exterior_jump {
    +        if !self.next_operator_can_continue_expr {
                 match expr {
                     // Increase precedence of expressions that extend to the end of
                     // current statement or group.
    @@ -670,10 +1200,7 @@
                     _ => {}
                 }
             }
    -        self.precedence(expr)
    -    }
     
    -    fn precedence(self, expr: &Expr) -> Precedence {
             if self.next_operator_can_begin_generics {
                 if let Expr::Cast(cast) = expr {
                     if classify::trailing_unparameterized_path(&cast.ty) {
    @@ -681,6 +1208,7 @@
                     }
                 }
             }
    +
             Precedence::of(expr)
         }
     }
    @@ -692,4 +1220,322 @@
             *self
         }
     }
    +
    +#[cfg(feature = "full")]
    +enum Scan {
    +    Fail,
    +    Bailout,
    +    Consume,
    +}
    +
    +#[cfg(feature = "full")]
    +impl Copy for Scan {}
    +
    +#[cfg(feature = "full")]
    +impl Clone for Scan {
    +    fn clone(&self) -> Self {
    +        *self
    +    }
    +}
    +
    +#[cfg(feature = "full")]
    +impl PartialEq for Scan {
    +    fn eq(&self, other: &Self) -> bool {
    +        *self as u8 == *other as u8
    +    }
    +}
    +
    +#[cfg(feature = "full")]
    +fn scan_left(expr: &Expr, fixup: FixupContext) -> bool {
    +    match expr {
    +        Expr::Assign(_) => fixup.previous_operator <= Precedence::Assign,
    +        Expr::Binary(e) => match Precedence::of_binop(&e.op) {
    +            Precedence::Assign => fixup.previous_operator <= Precedence::Assign,
    +            binop_prec => fixup.previous_operator < binop_prec,
    +        },
    +        Expr::Cast(_) => fixup.previous_operator < Precedence::Cast,
    +        Expr::Range(e) => e.start.is_none() || fixup.previous_operator < Precedence::Assign,
    +        _ => true,
    +    }
    +}
    +
    +#[cfg(feature = "full")]
    +fn scan_right(
    +    expr: &Expr,
    +    fixup: FixupContext,
    +    precedence: Precedence,
    +    fail_offset: u8,
    +    bailout_offset: u8,
    +) -> Scan {
    +    let consume_by_precedence = if match precedence {
    +        Precedence::Assign | Precedence::Compare => precedence <= fixup.next_operator,
    +        _ => precedence < fixup.next_operator,
    +    } || fixup.next_operator == Precedence::MIN
    +    {
    +        Scan::Consume
    +    } else {
    +        Scan::Bailout
    +    };
    +    if fixup.parenthesize(expr) {
    +        return consume_by_precedence;
    +    }
    +    match expr {
    +        Expr::Assign(e) => {
    +            if match fixup.next_operator {
    +                Precedence::Unambiguous => fail_offset >= 2,
    +                _ => bailout_offset >= 1,
    +            } {
    +                return Scan::Consume;
    +            }
    +            let right_fixup = fixup.rightmost_subexpression_fixup(false, false, Precedence::Assign);
    +            let scan = scan_right(
    +                &e.right,
    +                right_fixup,
    +                Precedence::Assign,
    +                match fixup.next_operator {
    +                    Precedence::Unambiguous => fail_offset,
    +                    _ => 1,
    +                },
    +                1,
    +            );
    +            if let Scan::Bailout | Scan::Consume = scan {
    +                Scan::Consume
    +            } else if let Precedence::Unambiguous = fixup.next_operator {
    +                Scan::Fail
    +            } else {
    +                Scan::Bailout
    +            }
    +        }
    +        Expr::Binary(e) => {
    +            if match fixup.next_operator {
    +                Precedence::Unambiguous => {
    +                    fail_offset >= 2
    +                        && (consume_by_precedence == Scan::Consume || bailout_offset >= 1)
    +                }
    +                _ => bailout_offset >= 1,
    +            } {
    +                return Scan::Consume;
    +            }
    +            let binop_prec = Precedence::of_binop(&e.op);
    +            if binop_prec == Precedence::Compare && fixup.next_operator == Precedence::Compare {
    +                return Scan::Consume;
    +            }
    +            let right_fixup = fixup.rightmost_subexpression_fixup(false, false, binop_prec);
    +            let scan = scan_right(
    +                &e.right,
    +                right_fixup,
    +                binop_prec,
    +                match fixup.next_operator {
    +                    Precedence::Unambiguous => fail_offset,
    +                    _ => 1,
    +                },
    +                consume_by_precedence as u8 - Scan::Bailout as u8,
    +            );
    +            match scan {
    +                Scan::Fail => {}
    +                Scan::Bailout => return consume_by_precedence,
    +                Scan::Consume => return Scan::Consume,
    +            }
    +            let right_needs_group = binop_prec != Precedence::Assign
    +                && right_fixup.rightmost_subexpression_precedence(&e.right) <= binop_prec;
    +            if right_needs_group {
    +                consume_by_precedence
    +            } else if let (Scan::Fail, Precedence::Unambiguous) = (scan, fixup.next_operator) {
    +                Scan::Fail
    +            } else {
    +                Scan::Bailout
    +            }
    +        }
    +        Expr::RawAddr(ExprRawAddr { expr, .. })
    +        | Expr::Reference(ExprReference { expr, .. })
    +        | Expr::Unary(ExprUnary { expr, .. }) => {
    +            if match fixup.next_operator {
    +                Precedence::Unambiguous => {
    +                    fail_offset >= 2
    +                        && (consume_by_precedence == Scan::Consume || bailout_offset >= 1)
    +                }
    +                _ => bailout_offset >= 1,
    +            } {
    +                return Scan::Consume;
    +            }
    +            let right_fixup = fixup.rightmost_subexpression_fixup(false, false, Precedence::Prefix);
    +            let scan = scan_right(
    +                expr,
    +                right_fixup,
    +                precedence,
    +                match fixup.next_operator {
    +                    Precedence::Unambiguous => fail_offset,
    +                    _ => 1,
    +                },
    +                consume_by_precedence as u8 - Scan::Bailout as u8,
    +            );
    +            match scan {
    +                Scan::Fail => {}
    +                Scan::Bailout => return consume_by_precedence,
    +                Scan::Consume => return Scan::Consume,
    +            }
    +            if right_fixup.rightmost_subexpression_precedence(expr) < Precedence::Prefix {
    +                consume_by_precedence
    +            } else if let (Scan::Fail, Precedence::Unambiguous) = (scan, fixup.next_operator) {
    +                Scan::Fail
    +            } else {
    +                Scan::Bailout
    +            }
    +        }
    +        Expr::Range(e) => match &e.end {
    +            Some(end) => {
    +                if fail_offset >= 2 {
    +                    return Scan::Consume;
    +                }
    +                let right_fixup =
    +                    fixup.rightmost_subexpression_fixup(false, true, Precedence::Range);
    +                let scan = scan_right(
    +                    end,
    +                    right_fixup,
    +                    Precedence::Range,
    +                    fail_offset,
    +                    match fixup.next_operator {
    +                        Precedence::Assign | Precedence::Range => 0,
    +                        _ => 1,
    +                    },
    +                );
    +                if match (scan, fixup.next_operator) {
    +                    (Scan::Fail, _) => false,
    +                    (Scan::Bailout, Precedence::Assign | Precedence::Range) => false,
    +                    (Scan::Bailout | Scan::Consume, _) => true,
    +                } {
    +                    return Scan::Consume;
    +                }
    +                if right_fixup.rightmost_subexpression_precedence(end) <= Precedence::Range {
    +                    Scan::Consume
    +                } else {
    +                    Scan::Fail
    +                }
    +            }
    +            None => {
    +                if fixup.next_operator_can_begin_expr {
    +                    Scan::Consume
    +                } else {
    +                    Scan::Fail
    +                }
    +            }
    +        },
    +        Expr::Break(e) => match &e.expr {
    +            Some(value) => {
    +                if bailout_offset >= 1 || e.label.is_none() && classify::expr_leading_label(value) {
    +                    return Scan::Consume;
    +                }
    +                let right_fixup = fixup.rightmost_subexpression_fixup(true, true, Precedence::Jump);
    +                match scan_right(value, right_fixup, Precedence::Jump, 1, 1) {
    +                    Scan::Fail => Scan::Bailout,
    +                    Scan::Bailout | Scan::Consume => Scan::Consume,
    +                }
    +            }
    +            None => match fixup.next_operator {
    +                Precedence::Assign if precedence > Precedence::Assign => Scan::Fail,
    +                _ => Scan::Consume,
    +            },
    +        },
    +        Expr::Return(ExprReturn { expr, .. }) | Expr::Yield(ExprYield { expr, .. }) => match expr {
    +            Some(e) => {
    +                if bailout_offset >= 1 {
    +                    return Scan::Consume;
    +                }
    +                let right_fixup =
    +                    fixup.rightmost_subexpression_fixup(true, false, Precedence::Jump);
    +                match scan_right(e, right_fixup, Precedence::Jump, 1, 1) {
    +                    Scan::Fail => Scan::Bailout,
    +                    Scan::Bailout | Scan::Consume => Scan::Consume,
    +                }
    +            }
    +            None => match fixup.next_operator {
    +                Precedence::Assign if precedence > Precedence::Assign => Scan::Fail,
    +                _ => Scan::Consume,
    +            },
    +        },
    +        Expr::Closure(e) => {
    +            if matches!(e.output, ReturnType::Default)
    +                || matches!(&*e.body, Expr::Block(body) if body.attrs.is_empty() && body.label.is_none())
    +            {
    +                if bailout_offset >= 1 {
    +                    return Scan::Consume;
    +                }
    +                let right_fixup =
    +                    fixup.rightmost_subexpression_fixup(false, false, Precedence::Jump);
    +                match scan_right(&e.body, right_fixup, Precedence::Jump, 1, 1) {
    +                    Scan::Fail => Scan::Bailout,
    +                    Scan::Bailout | Scan::Consume => Scan::Consume,
    +                }
    +            } else {
    +                Scan::Consume
    +            }
    +        }
    +        Expr::Let(e) => {
    +            if bailout_offset >= 1 {
    +                return Scan::Consume;
    +            }
    +            let right_fixup = fixup.rightmost_subexpression_fixup(false, false, Precedence::Let);
    +            let scan = scan_right(
    +                &e.expr,
    +                right_fixup,
    +                Precedence::Let,
    +                1,
    +                if fixup.next_operator < Precedence::Let {
    +                    0
    +                } else {
    +                    1
    +                },
    +            );
    +            match scan {
    +                Scan::Fail | Scan::Bailout if fixup.next_operator < Precedence::Let => {
    +                    return Scan::Bailout;
    +                }
    +                Scan::Consume => return Scan::Consume,
    +                _ => {}
    +            }
    +            if right_fixup.rightmost_subexpression_precedence(&e.expr) < Precedence::Let {
    +                Scan::Consume
    +            } else if let Scan::Fail = scan {
    +                Scan::Bailout
    +            } else {
    +                Scan::Consume
    +            }
    +        }
    +        Expr::Array(_)
    +        | Expr::Async(_)
    +        | Expr::Await(_)
    +        | Expr::Block(_)
    +        | Expr::Call(_)
    +        | Expr::Cast(_)
    +        | Expr::Const(_)
    +        | Expr::Continue(_)
    +        | Expr::Field(_)
    +        | Expr::ForLoop(_)
    +        | Expr::Group(_)
    +        | Expr::If(_)
    +        | Expr::Index(_)
    +        | Expr::Infer(_)
    +        | Expr::Lit(_)
    +        | Expr::Loop(_)
    +        | Expr::Macro(_)
    +        | Expr::Match(_)
    +        | Expr::MethodCall(_)
    +        | Expr::Paren(_)
    +        | Expr::Path(_)
    +        | Expr::Repeat(_)
    +        | Expr::Struct(_)
    +        | Expr::Try(_)
    +        | Expr::TryBlock(_)
    +        | Expr::Tuple(_)
    +        | Expr::Unsafe(_)
    +        | Expr::Verbatim(_)
    +        | Expr::While(_) => match fixup.next_operator {
    +            Precedence::Assign | Precedence::Range if precedence == Precedence::Range => Scan::Fail,
    +            _ if precedence == Precedence::Let && fixup.next_operator < Precedence::Let => {
    +                Scan::Fail
    +            }
    +            _ => consume_by_precedence,
    +        },
    +    }
    +}
     
    \ No newline at end of file diff --git a/src/syn/gen/clone.rs.html b/src/syn/gen/clone.rs.html index 396d1ab..2dd1977 100644 --- a/src/syn/gen/clone.rs.html +++ b/src/syn/gen/clone.rs.html @@ -1,4 +1,4 @@ -clone.rs - source

    syn/gen/
    clone.rs

    +clone.rs - source

    syn/gen/
    clone.rs

     1
     2
     3
    diff --git a/src/syn/gen/debug.rs.html b/src/syn/gen/debug.rs.html
    index 5b7e590..b16b3b3 100644
    --- a/src/syn/gen/debug.rs.html
    +++ b/src/syn/gen/debug.rs.html
    @@ -1,4 +1,4 @@
    -debug.rs - source

    syn/gen/
    debug.rs

    +debug.rs - source

    syn/gen/
    debug.rs

     1
     2
     3
    diff --git a/src/syn/gen/eq.rs.html b/src/syn/gen/eq.rs.html
    index b142685..3b98d99 100644
    --- a/src/syn/gen/eq.rs.html
    +++ b/src/syn/gen/eq.rs.html
    @@ -1,4 +1,4 @@
    -eq.rs - source

    syn/gen/
    eq.rs

    +eq.rs - source

    syn/gen/
    eq.rs

     1
     2
     3
    diff --git a/src/syn/gen/hash.rs.html b/src/syn/gen/hash.rs.html
    index df82f70..d7bbe59 100644
    --- a/src/syn/gen/hash.rs.html
    +++ b/src/syn/gen/hash.rs.html
    @@ -1,4 +1,4 @@
    -hash.rs - source

    syn/gen/
    hash.rs

    +hash.rs - source

    syn/gen/
    hash.rs

     1
     2
     3
    diff --git a/src/syn/gen/visit.rs.html b/src/syn/gen/visit.rs.html
    index 6b454ca..8884029 100644
    --- a/src/syn/gen/visit.rs.html
    +++ b/src/syn/gen/visit.rs.html
    @@ -1,4 +1,4 @@
    -visit.rs - source

    syn/gen/
    visit.rs

    +visit.rs - source

    syn/gen/
    visit.rs

     1
     2
     3
    diff --git a/src/syn/generics.rs.html b/src/syn/generics.rs.html
    index bf42230..2627050 100644
    --- a/src/syn/generics.rs.html
    +++ b/src/syn/generics.rs.html
    @@ -1,4 +1,4 @@
    -generics.rs - source

    syn/
    generics.rs

    +generics.rs - source

    syn/
    generics.rs

     1
     2
     3
    diff --git a/src/syn/group.rs.html b/src/syn/group.rs.html
    index 96c8e41..4f88d4f 100644
    --- a/src/syn/group.rs.html
    +++ b/src/syn/group.rs.html
    @@ -1,4 +1,4 @@
    -group.rs - source

    syn/
    group.rs

    +group.rs - source

    syn/
    group.rs

     1
     2
     3
    diff --git a/src/syn/ident.rs.html b/src/syn/ident.rs.html
    index 98792fc..c45f3db 100644
    --- a/src/syn/ident.rs.html
    +++ b/src/syn/ident.rs.html
    @@ -1,4 +1,4 @@
    -ident.rs - source

    syn/
    ident.rs

    +ident.rs - source

    syn/
    ident.rs

     1
     2
     3
    diff --git a/src/syn/lib.rs.html b/src/syn/lib.rs.html
    index e763327..9826323 100644
    --- a/src/syn/lib.rs.html
    +++ b/src/syn/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    syn/
    lib.rs

    +lib.rs - source

    syn/
    lib.rs

     1
     2
     3
    @@ -1007,7 +1007,8 @@
     1006
     1007
     1008
    -1009
    //! [![github]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&ensp;[![docs-rs]](crate)
    +1009
    +1010
    //! [![github]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&ensp;[![docs-rs]](crate)
     //!
     //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
     //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
    @@ -1258,7 +1259,7 @@
     //!   dynamic library libproc_macro from rustc toolchain.
     
     // Syn types in rustdoc of other crates get linked to here.
    -#![doc(html_root_url = "https://docs.rs/syn/2.0.90")]
    +#![doc(html_root_url = "https://docs.rs/syn/2.0.96")]
     #![cfg_attr(docsrs, feature(doc_cfg))]
     #![deny(unsafe_op_in_unsafe_fn)]
     #![allow(non_camel_case_types)]
    @@ -1276,6 +1277,7 @@
         clippy::enum_glob_use,
         clippy::expl_impl_clone_on_copy,
         clippy::explicit_auto_deref,
    +    clippy::fn_params_excessive_bools,
         clippy::if_not_else,
         clippy::inherent_to_string,
         clippy::into_iter_without_iter,
    diff --git a/src/syn/lifetime.rs.html b/src/syn/lifetime.rs.html
    index 680a8e5..e2c6370 100644
    --- a/src/syn/lifetime.rs.html
    +++ b/src/syn/lifetime.rs.html
    @@ -1,4 +1,4 @@
    -lifetime.rs - source

    syn/
    lifetime.rs

    +lifetime.rs - source

    syn/
    lifetime.rs

     1
     2
     3
    diff --git a/src/syn/lit.rs.html b/src/syn/lit.rs.html
    index 5de3c7b..75868ee 100644
    --- a/src/syn/lit.rs.html
    +++ b/src/syn/lit.rs.html
    @@ -1,4 +1,4 @@
    -lit.rs - source

    syn/
    lit.rs

    +lit.rs - source

    syn/
    lit.rs

     1
     2
     3
    diff --git a/src/syn/lookahead.rs.html b/src/syn/lookahead.rs.html
    index 7dc8805..630a3d0 100644
    --- a/src/syn/lookahead.rs.html
    +++ b/src/syn/lookahead.rs.html
    @@ -1,4 +1,4 @@
    -lookahead.rs - source

    syn/
    lookahead.rs

    +lookahead.rs - source

    syn/
    lookahead.rs

     1
     2
     3
    diff --git a/src/syn/mac.rs.html b/src/syn/mac.rs.html
    index 070cc11..39d179b 100644
    --- a/src/syn/mac.rs.html
    +++ b/src/syn/mac.rs.html
    @@ -1,4 +1,4 @@
    -mac.rs - source

    syn/
    mac.rs

    +mac.rs - source

    syn/
    mac.rs

     1
     2
     3
    diff --git a/src/syn/macros.rs.html b/src/syn/macros.rs.html
    index 44a38a7..a840bb3 100644
    --- a/src/syn/macros.rs.html
    +++ b/src/syn/macros.rs.html
    @@ -1,4 +1,4 @@
    -macros.rs - source

    syn/
    macros.rs

    +macros.rs - source

    syn/
    macros.rs

     1
     2
     3
    diff --git a/src/syn/meta.rs.html b/src/syn/meta.rs.html
    index e19f633..f6e85d7 100644
    --- a/src/syn/meta.rs.html
    +++ b/src/syn/meta.rs.html
    @@ -1,4 +1,4 @@
    -meta.rs - source

    syn/
    meta.rs

    +meta.rs - source

    syn/
    meta.rs

     1
     2
     3
    diff --git a/src/syn/op.rs.html b/src/syn/op.rs.html
    index 98f9ccd..ca384a2 100644
    --- a/src/syn/op.rs.html
    +++ b/src/syn/op.rs.html
    @@ -1,4 +1,4 @@
    -op.rs - source

    syn/
    op.rs

    +op.rs - source

    syn/
    op.rs

     1
     2
     3
    diff --git a/src/syn/parse.rs.html b/src/syn/parse.rs.html
    index 3d29a34..89dec04 100644
    --- a/src/syn/parse.rs.html
    +++ b/src/syn/parse.rs.html
    @@ -1,4 +1,4 @@
    -parse.rs - source

    syn/
    parse.rs

    +parse.rs - source

    syn/
    parse.rs

     1
     2
     3
    diff --git a/src/syn/parse_macro_input.rs.html b/src/syn/parse_macro_input.rs.html
    index 222d11f..0ae0f98 100644
    --- a/src/syn/parse_macro_input.rs.html
    +++ b/src/syn/parse_macro_input.rs.html
    @@ -1,4 +1,4 @@
    -parse_macro_input.rs - source

    syn/
    parse_macro_input.rs

    +parse_macro_input.rs - source

    syn/
    parse_macro_input.rs

     1
     2
     3
    diff --git a/src/syn/parse_quote.rs.html b/src/syn/parse_quote.rs.html
    index e624d69..78056ae 100644
    --- a/src/syn/parse_quote.rs.html
    +++ b/src/syn/parse_quote.rs.html
    @@ -1,4 +1,4 @@
    -parse_quote.rs - source

    syn/
    parse_quote.rs

    +parse_quote.rs - source

    syn/
    parse_quote.rs

     1
     2
     3
    @@ -220,7 +220,25 @@
     219
     220
     221
    -222
    /// Quasi-quotation macro that accepts input like the [`quote!`] macro but uses
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    /// Quasi-quotation macro that accepts input like the [`quote!`] macro but uses
     /// type inference to figure out a return type for those tokens.
     ///
     /// [`quote!`]: https://docs.rs/quote/1.0/quote/index.html
    @@ -275,11 +293,22 @@
     ///
     /// - [`Attribute`] — parses one attribute, allowing either outer like `#[...]`
     ///   or inner like `#![...]`
    +/// - [`Vec<Attribute>`] — parses multiple attributes, including mixed kinds in
    +///   any order
     /// - [`Punctuated<T, P>`] — parses zero or more `T` separated by punctuation
     ///   `P` with optional trailing punctuation
    +/// - [`Vec<Arm>`] — parses arms separated by optional commas according to the
    +///   same grammar as the inside of a `match` expression
     /// - [`Vec<Stmt>`] — parses the same as `Block::parse_within`
    +/// - [`Pat`], [`Box<Pat>`] — parses the same as
    +///   `Pat::parse_multi_with_leading_vert`
    +/// - [`Field`] — parses a named or unnamed struct field
     ///
    +/// [`Vec<Attribute>`]: Attribute
    +/// [`Vec<Arm>`]: Arm
     /// [`Vec<Stmt>`]: Block::parse_within
    +/// [`Pat`]: Pat::parse_multi_with_leading_vert
    +/// [`Box<Pat>`]: Pat::parse_multi_with_leading_vert
     ///
     /// # Panics
     ///
    @@ -362,7 +391,7 @@
     #[cfg(any(feature = "full", feature = "derive"))]
     use crate::{attr, Attribute, Field, FieldMutability, Ident, Type, Visibility};
     #[cfg(feature = "full")]
    -use crate::{Block, Pat, Stmt};
    +use crate::{Arm, Block, Pat, Stmt};
     
     #[cfg(any(feature = "full", feature = "derive"))]
     impl ParseQuote for Attribute {
    @@ -442,4 +471,11 @@
             Block::parse_within(input)
         }
     }
    +
    +#[cfg(feature = "full")]
    +impl ParseQuote for Vec<Arm> {
    +    fn parse(input: ParseStream) -> Result<Self> {
    +        Arm::parse_multiple(input)
    +    }
    +}
     
    \ No newline at end of file diff --git a/src/syn/path.rs.html b/src/syn/path.rs.html index 39ec425..ebaa6bd 100644 --- a/src/syn/path.rs.html +++ b/src/syn/path.rs.html @@ -1,4 +1,4 @@ -path.rs - source

    syn/
    path.rs

    +path.rs - source

    syn/
    path.rs

     1
     2
     3
    @@ -961,7 +961,10 @@
     960
     961
     962
    -963
    #[cfg(feature = "parsing")]
    +963
    +964
    +965
    +966
    #[cfg(feature = "parsing")]
     use crate::error::Result;
     use crate::expr::Expr;
     use crate::generics::TypeParamBound;
    @@ -1491,7 +1494,10 @@
                     input.parse()?
                 };
     
    -            if !expr_style && input.peek(Token![<]) && !input.peek(Token![<=])
    +            if !expr_style
    +                && input.peek(Token![<])
    +                && !input.peek(Token![<=])
    +                && !input.peek(Token![<<=])
                     || input.peek(Token![::]) && input.peek3(Token![<])
                 {
                     Ok(PathSegment {
    diff --git a/src/syn/precedence.rs.html b/src/syn/precedence.rs.html
    index 031b3a8..32f01ac 100644
    --- a/src/syn/precedence.rs.html
    +++ b/src/syn/precedence.rs.html
    @@ -1,4 +1,4 @@
    -precedence.rs - source

    syn/
    precedence.rs

    +precedence.rs - source

    syn/
    precedence.rs

     1
     2
     3
    diff --git a/src/syn/print.rs.html b/src/syn/print.rs.html
    index ecd8637..236035e 100644
    --- a/src/syn/print.rs.html
    +++ b/src/syn/print.rs.html
    @@ -1,4 +1,4 @@
    -print.rs - source

    syn/
    print.rs

    +print.rs - source

    syn/
    print.rs

     1
     2
     3
    diff --git a/src/syn/punctuated.rs.html b/src/syn/punctuated.rs.html
    index 1eeb9e8..1ff2bf9 100644
    --- a/src/syn/punctuated.rs.html
    +++ b/src/syn/punctuated.rs.html
    @@ -1,4 +1,4 @@
    -punctuated.rs - source

    syn/
    punctuated.rs

    +punctuated.rs - source

    syn/
    punctuated.rs

     1
     2
     3
    diff --git a/src/syn/restriction.rs.html b/src/syn/restriction.rs.html
    index 4efa5f6..00448d5 100644
    --- a/src/syn/restriction.rs.html
    +++ b/src/syn/restriction.rs.html
    @@ -1,4 +1,4 @@
    -restriction.rs - source

    syn/
    restriction.rs

    +restriction.rs - source

    syn/
    restriction.rs

     1
     2
     3
    diff --git a/src/syn/scan_expr.rs.html b/src/syn/scan_expr.rs.html
    index b28b075..3b42e71 100644
    --- a/src/syn/scan_expr.rs.html
    +++ b/src/syn/scan_expr.rs.html
    @@ -1,4 +1,4 @@
    -scan_expr.rs - source

    syn/
    scan_expr.rs

    +scan_expr.rs - source

    syn/
    scan_expr.rs

     1
     2
     3
    diff --git a/src/syn/sealed.rs.html b/src/syn/sealed.rs.html
    index 4cdd487..c1716c7 100644
    --- a/src/syn/sealed.rs.html
    +++ b/src/syn/sealed.rs.html
    @@ -1,4 +1,4 @@
    -sealed.rs - source

    syn/
    sealed.rs

    +sealed.rs - source

    syn/
    sealed.rs

     1
     2
     3
    diff --git a/src/syn/span.rs.html b/src/syn/span.rs.html
    index f7eb2cc..7d9d610 100644
    --- a/src/syn/span.rs.html
    +++ b/src/syn/span.rs.html
    @@ -1,4 +1,4 @@
    -span.rs - source

    syn/
    span.rs

    +span.rs - source

    syn/
    span.rs

     1
     2
     3
    diff --git a/src/syn/spanned.rs.html b/src/syn/spanned.rs.html
    index 3d7e54b..dce1298 100644
    --- a/src/syn/spanned.rs.html
    +++ b/src/syn/spanned.rs.html
    @@ -1,4 +1,4 @@
    -spanned.rs - source

    syn/
    spanned.rs

    +spanned.rs - source

    syn/
    spanned.rs

     1
     2
     3
    diff --git a/src/syn/thread.rs.html b/src/syn/thread.rs.html
    index e05fe32..e53aebd 100644
    --- a/src/syn/thread.rs.html
    +++ b/src/syn/thread.rs.html
    @@ -1,4 +1,4 @@
    -thread.rs - source

    syn/
    thread.rs

    +thread.rs - source

    syn/
    thread.rs

     1
     2
     3
    diff --git a/src/syn/token.rs.html b/src/syn/token.rs.html
    index 55d73f8..d257ab4 100644
    --- a/src/syn/token.rs.html
    +++ b/src/syn/token.rs.html
    @@ -1,4 +1,4 @@
    -token.rs - source

    syn/
    token.rs

    +token.rs - source

    syn/
    token.rs

     1
     2
     3
    diff --git a/src/syn/tt.rs.html b/src/syn/tt.rs.html
    index 0c331e0..acf03e9 100644
    --- a/src/syn/tt.rs.html
    +++ b/src/syn/tt.rs.html
    @@ -1,4 +1,4 @@
    -tt.rs - source

    syn/
    tt.rs

    +tt.rs - source

    syn/
    tt.rs

     1
     2
     3
    diff --git a/src/syn/ty.rs.html b/src/syn/ty.rs.html
    index f124fd2..8feaa76 100644
    --- a/src/syn/ty.rs.html
    +++ b/src/syn/ty.rs.html
    @@ -1,4 +1,4 @@
    -ty.rs - source

    syn/
    ty.rs

    +ty.rs - source

    syn/
    ty.rs

     1
     2
     3
    diff --git a/src/syn/verbatim.rs.html b/src/syn/verbatim.rs.html
    index 4352084..ad60eb7 100644
    --- a/src/syn/verbatim.rs.html
    +++ b/src/syn/verbatim.rs.html
    @@ -1,4 +1,4 @@
    -verbatim.rs - source

    syn/
    verbatim.rs

    +verbatim.rs - source

    syn/
    verbatim.rs

     1
     2
     3
    diff --git a/src/synstructure/lib.rs.html b/src/synstructure/lib.rs.html
    index 42c6e13..2aec270 100644
    --- a/src/synstructure/lib.rs.html
    +++ b/src/synstructure/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    synstructure/
    lib.rs

    +lib.rs - source

    synstructure/
    lib.rs

     1
     2
     3
    diff --git a/src/synstructure/macros.rs.html b/src/synstructure/macros.rs.html
    index f05106c..cd5df8a 100644
    --- a/src/synstructure/macros.rs.html
    +++ b/src/synstructure/macros.rs.html
    @@ -1,4 +1,4 @@
    -macros.rs - source

    synstructure/
    macros.rs

    +macros.rs - source

    synstructure/
    macros.rs

     1
     2
     3
    diff --git a/src/unicode_ident/lib.rs.html b/src/unicode_ident/lib.rs.html
    index 9f9080e..0fb4677 100644
    --- a/src/unicode_ident/lib.rs.html
    +++ b/src/unicode_ident/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    unicode_ident/
    lib.rs

    +lib.rs - source

    unicode_ident/
    lib.rs

     1
     2
     3
    @@ -312,11 +312,11 @@
     //!
     //! | | static storage | 0% nonascii | 1% | 10% | 100% nonascii |
     //! |---|---|---|---|---|---|
    -//! | **`unicode-ident`** | 10.4 K | 0.96 ns | 0.95 ns | 1.09 ns | 1.55 ns |
    -//! | **`unicode-xid`** | 11.8 K | 1.88 ns | 2.14 ns | 3.48 ns | 15.63 ns |
    -//! | **`ucd-trie`** | 10.3 K | 1.29 ns | 1.28 ns | 1.36 ns | 2.15 ns |
    -//! | **`fst`** | 144 K | 55.1 ns | 54.9 ns | 53.2 ns | 28.5 ns |
    -//! | **`roaring`** | 66.1 K | 2.78 ns | 3.09 ns | 3.37 ns | 4.70 ns |
    +//! | **`unicode-ident`** | 10.4 K | 1.03 ns | 1.02 ns | 1.11 ns | 1.66 ns |
    +//! | **`unicode-xid`** | 11.8 K | 2.57 ns | 2.74 ns | 3.20 ns | 9.35 ns |
    +//! | **`ucd-trie`** | 10.3 K | 1.27 ns | 1.27 ns | 1.41 ns | 2.53 ns |
    +//! | **`fst`** | 144 K | 49.3 ns | 49.1 ns | 47.1 ns | 27.9 ns |
    +//! | **`roaring`** | 66.1 K | 4.10 ns | 4.05 ns | 4.02 ns | 5.12 ns |
     //!
     //! Source code for the benchmark is provided in the *bench* directory of this
     //! repo and may be repeated by running `cargo criterion`.
    @@ -511,7 +511,7 @@
     //! this data structure is straight-line code with no need for branching.
     
     #![no_std]
    -#![doc(html_root_url = "https://docs.rs/unicode-ident/1.0.14")]
    +#![doc(html_root_url = "https://docs.rs/unicode-ident/1.0.15")]
     #![allow(clippy::doc_markdown, clippy::must_use_candidate)]
     
     #[rustfmt::skip]
    diff --git a/src/unicode_ident/tables.rs.html b/src/unicode_ident/tables.rs.html
    index 4b7c720..226dd2f 100644
    --- a/src/unicode_ident/tables.rs.html
    +++ b/src/unicode_ident/tables.rs.html
    @@ -1,4 +1,4 @@
    -tables.rs - source

    unicode_ident/
    tables.rs

    +tables.rs - source

    unicode_ident/
    tables.rs

     1
     2
     3
    diff --git a/static.files/COPYRIGHT-23e9bde6c69aea69.txt b/static.files/COPYRIGHT-eb44e4cf.txt
    similarity index 100%
    rename from static.files/COPYRIGHT-23e9bde6c69aea69.txt
    rename to static.files/COPYRIGHT-eb44e4cf.txt
    diff --git a/static.files/FiraSans-LICENSE-db4b642586e02d97.txt b/static.files/FiraSans-LICENSE-05ab6dbd.txt
    similarity index 100%
    rename from static.files/FiraSans-LICENSE-db4b642586e02d97.txt
    rename to static.files/FiraSans-LICENSE-05ab6dbd.txt
    diff --git a/static.files/FiraSans-Medium-8f9a781e4970d388.woff2 b/static.files/FiraSans-Medium-e1aa3f0a.woff2
    similarity index 100%
    rename from static.files/FiraSans-Medium-8f9a781e4970d388.woff2
    rename to static.files/FiraSans-Medium-e1aa3f0a.woff2
    diff --git a/static.files/FiraSans-Regular-018c141bf0843ffd.woff2 b/static.files/FiraSans-Regular-0fe48ade.woff2
    similarity index 100%
    rename from static.files/FiraSans-Regular-018c141bf0843ffd.woff2
    rename to static.files/FiraSans-Regular-0fe48ade.woff2
    diff --git a/static.files/LICENSE-APACHE-b91fa81cba47b86a.txt b/static.files/LICENSE-APACHE-a60eea81.txt
    similarity index 100%
    rename from static.files/LICENSE-APACHE-b91fa81cba47b86a.txt
    rename to static.files/LICENSE-APACHE-a60eea81.txt
    diff --git a/static.files/LICENSE-MIT-65090b722b3f6c56.txt b/static.files/LICENSE-MIT-23f18e03.txt
    similarity index 100%
    rename from static.files/LICENSE-MIT-65090b722b3f6c56.txt
    rename to static.files/LICENSE-MIT-23f18e03.txt
    diff --git a/static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 b/static.files/NanumBarunGothic-13b3dcba.ttf.woff2
    similarity index 100%
    rename from static.files/NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2
    rename to static.files/NanumBarunGothic-13b3dcba.ttf.woff2
    diff --git a/static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt b/static.files/NanumBarunGothic-LICENSE-a37d393b.txt
    similarity index 100%
    rename from static.files/NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt
    rename to static.files/NanumBarunGothic-LICENSE-a37d393b.txt
    diff --git a/static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 b/static.files/SourceCodePro-It-fc8b9304.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2
    rename to static.files/SourceCodePro-It-fc8b9304.ttf.woff2
    diff --git a/static.files/SourceCodePro-LICENSE-d180d465a756484a.txt b/static.files/SourceCodePro-LICENSE-67f54ca7.txt
    similarity index 100%
    rename from static.files/SourceCodePro-LICENSE-d180d465a756484a.txt
    rename to static.files/SourceCodePro-LICENSE-67f54ca7.txt
    diff --git a/static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 b/static.files/SourceCodePro-Regular-8badfe75.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2
    rename to static.files/SourceCodePro-Regular-8badfe75.ttf.woff2
    diff --git a/static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 b/static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2
    similarity index 100%
    rename from static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2
    rename to static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2
    diff --git a/static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 b/static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2
    rename to static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2
    diff --git a/static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 b/static.files/SourceSerif4-It-ca3b17ed.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2
    rename to static.files/SourceSerif4-It-ca3b17ed.ttf.woff2
    diff --git a/static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md b/static.files/SourceSerif4-LICENSE-a2cfd9d5.md
    similarity index 100%
    rename from static.files/SourceSerif4-LICENSE-3bb119e13b1258b7.md
    rename to static.files/SourceSerif4-LICENSE-a2cfd9d5.md
    diff --git a/static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 b/static.files/SourceSerif4-Regular-6b053e98.ttf.woff2
    similarity index 100%
    rename from static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2
    rename to static.files/SourceSerif4-Regular-6b053e98.ttf.woff2
    diff --git a/static.files/favicon-2c020d218678b618.svg b/static.files/favicon-044be391.svg
    similarity index 100%
    rename from static.files/favicon-2c020d218678b618.svg
    rename to static.files/favicon-044be391.svg
    diff --git a/static.files/favicon-32x32-422f7d1d52889060.png b/static.files/favicon-32x32-6580c154.png
    similarity index 100%
    rename from static.files/favicon-32x32-422f7d1d52889060.png
    rename to static.files/favicon-32x32-6580c154.png
    diff --git a/static.files/main-f070b9041d14864c.js b/static.files/main-5f194d8c.js
    similarity index 100%
    rename from static.files/main-f070b9041d14864c.js
    rename to static.files/main-5f194d8c.js
    diff --git a/static.files/normalize-76eba96aa4d2e634.css b/static.files/normalize-9960930a.css
    similarity index 100%
    rename from static.files/normalize-76eba96aa4d2e634.css
    rename to static.files/normalize-9960930a.css
    diff --git a/static.files/noscript-0111fcff984fae8f.css b/static.files/noscript-893ab5e7.css
    similarity index 100%
    rename from static.files/noscript-0111fcff984fae8f.css
    rename to static.files/noscript-893ab5e7.css
    diff --git a/static.files/rust-logo-151179464ae7ed46.svg b/static.files/rust-logo-9a9549ea.svg
    similarity index 100%
    rename from static.files/rust-logo-151179464ae7ed46.svg
    rename to static.files/rust-logo-9a9549ea.svg
    diff --git a/static.files/rustdoc-b0742ba02757f159.css b/static.files/rustdoc-42caa33d.css
    similarity index 64%
    rename from static.files/rustdoc-b0742ba02757f159.css
    rename to static.files/rustdoc-42caa33d.css
    index 9fef311..c1293a8 100644
    --- a/static.files/rustdoc-b0742ba02757f159.css
    +++ b/static.files/rustdoc-42caa33d.css
    @@ -8,10 +8,10 @@ xmlns="http://www.w3.org/2000/svg" aria-label="Copy to clipboard">\
     ');--copy-path-height:34px;--copy-path-width:33px;--checkmark-image:url('data:image/svg+xml,\
     \
    -');--button-left-margin:4px;--button-border-radius:2px;--toolbar-button-border-radius:6px;--code-block-border-radius:6px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;grid-area:main-heading-h1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{position:relative;display:grid;grid-template-areas:"main-heading-breadcrumbs main-heading-breadcrumbs" "main-heading-h1 main-heading-toolbar" "main-heading-sub-heading main-heading-toolbar";grid-template-columns:minmax(105px,1fr) minmax(0,max-content);grid-template-rows:minmax(25px,min-content) min-content min-content;padding-bottom:6px;margin-bottom:11px;}.rustdoc-breadcrumbs{grid-area:main-heading-breadcrumbs;line-height:1.25;display:flex;flex-wrap:wrap;align-items:end;padding-top:5px;}.rustdoc-breadcrumbs a{padding:4px 0;margin:-4px 0;z-index:1;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}.structfield{margin:0.6em 0;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,.sub-heading,span.since,a.src,rustdoc-toolbar,summary.hideme,.scraped-example-list,.rustdoc-breadcrumbs,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap .src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li,.block ul{padding:0;margin:0;list-style:none;}.block ul a{padding-left:1rem;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.hide-toc #rustdoc-toc,.hide-toc .in-crate{display:none;}.hide-modnav #rustdoc-modnav{display:none;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-radius:6px;}.rustdoc .example-wrap>.example-line-numbers,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-top-right-radius:0;border-bottom-right-radius:0;}.rustdoc .example-wrap>.example-line-numbers+pre,.rustdoc .scraped-example .rust{border-top-left-radius:0;border-bottom-left-radius:0;}.rustdoc .scraped-example{position:relative;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 10 + 10px);}.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers>pre,.rustdoc:not(.src) .scraped-example:not(.expanded) pre.rust{padding-bottom:0;overflow:auto hidden;}.rustdoc:not(.src) .scraped-example .src-line-numbers{padding-top:0;}.rustdoc:not(.src) .scraped-example.expanded .src-line-numbers{padding-bottom:0;}.rustdoc:not(.src) .example-wrap pre{overflow:auto;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap .src-line-numbers{min-width:fit-content;flex-grow:0;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;padding-right:2px;color:var(--src-line-numbers-span-color);}.rustdoc .scraped-example .example-wrap .src-line-numbers{padding:0;}.rustdoc .src-line-numbers pre{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.sub-heading{font-size:1rem;flex-grow:0;grid-area:main-heading-sub-heading;line-height:1.25;padding-bottom:4px;}.main-heading rustdoc-toolbar,.main-heading .out-of-band{grid-area:main-heading-toolbar;}rustdoc-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;min-height:60px;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap,.example-wrap .src-line-numbers{background-color:var(--code-block-background-color);border-radius:var(--code-block-border-radius);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab{display:inline-block;}.docblock li{margin-bottom:.4em;}.docblock li p:not(:last-child){margin-bottom:.3em;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 0 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 -10px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}.search-results-title+.sub-heading{color:var(--main-color);display:flex;align-items:baseline;white-space:nowrap;}#crate-search-div{position:relative;min-width:0;}#crate-search{padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml,');--button-left-margin:4px;--button-border-radius:2px;--toolbar-button-border-radius:6px;--code-block-border-radius:6px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-0fe48ade.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-e1aa3f0a.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-6b053e98.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-ca3b17ed.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-6d4fd4c0.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-8badfe75.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-fc8b9304.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-aa29a496.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-13b3dcba.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;grid-area:main-heading-h1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{position:relative;display:grid;grid-template-areas:"main-heading-breadcrumbs main-heading-breadcrumbs" "main-heading-h1 main-heading-toolbar" "main-heading-sub-heading main-heading-toolbar";grid-template-columns:minmax(105px,1fr) minmax(0,max-content);grid-template-rows:minmax(25px,min-content) min-content min-content;padding-bottom:6px;margin-bottom:15px;}.rustdoc-breadcrumbs{grid-area:main-heading-breadcrumbs;line-height:1.25;display:flex;flex-wrap:wrap;align-items:end;padding-top:5px;}.rustdoc-breadcrumbs a{padding:4px 0;margin:-4px 0;z-index:1;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}.structfield,.sub-variant-field{margin:0.6em 0;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,.sub-heading,span.since,a.src,rustdoc-toolbar,summary.hideme,.scraped-example-list,.rustdoc-breadcrumbs,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.search-results li,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header,.type-signature{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap .src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li,.block ul{padding:0;margin:0;list-style:none;}.block ul a{padding-left:1rem;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.hide-toc #rustdoc-toc,.hide-toc .in-crate{display:none;}.hide-modnav #rustdoc-modnav{display:none;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-radius:6px;}.rustdoc .example-wrap>.example-line-numbers,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-top-right-radius:0;border-bottom-right-radius:0;}.rustdoc .example-wrap>.example-line-numbers+pre,.rustdoc .scraped-example .rust{border-top-left-radius:0;border-bottom-left-radius:0;}.rustdoc .scraped-example{position:relative;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 10 + 10px);}.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers>pre,.rustdoc:not(.src) .scraped-example:not(.expanded) pre.rust{padding-bottom:0;overflow:auto hidden;}.rustdoc:not(.src) .scraped-example .src-line-numbers{padding-top:0;}.rustdoc:not(.src) .scraped-example.expanded .src-line-numbers{padding-bottom:0;}.rustdoc:not(.src) .example-wrap pre{overflow:auto;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap .src-line-numbers{min-width:fit-content;flex-grow:0;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;padding-right:2px;color:var(--src-line-numbers-span-color);}.rustdoc .scraped-example .example-wrap .src-line-numbers{padding:0;}.rustdoc .src-line-numbers pre{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.sub-heading{font-size:1rem;flex-grow:0;grid-area:main-heading-sub-heading;line-height:1.25;padding-bottom:4px;}.main-heading rustdoc-toolbar,.main-heading .out-of-band{grid-area:main-heading-toolbar;}rustdoc-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;min-height:60px;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap,.example-wrap .src-line-numbers{background-color:var(--code-block-background-color);border-radius:var(--code-block-border-radius);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab,.docblock p code{display:inline-block;}.docblock li{margin-bottom:.4em;}.docblock li p:not(:last-child){margin-bottom:.3em;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 0 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;margin-bottom:4px;}.src nav.sub{margin:0 0 -10px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}.search-results-title+.sub-heading{color:var(--main-color);display:flex;align-items:baseline;white-space:nowrap;}#crate-search-div{position:relative;min-width:0;}#crate-search{padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \
    -	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\
    +	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;margin:0;padding:0;}.search-results>a{display:grid;grid-template-areas:"search-result-name search-result-desc" "search-result-type-signature search-result-type-signature";grid-template-columns:.6fr .4fr;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);column-gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;grid-area:search-result-desc;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;grid-area:search-result-name;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.search-results .type-signature{grid-area:search-result-type-signature;white-space:pre-wrap;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\
     		\
     		');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#settings.popover{--popover-arrow-offset:202px;top:calc(100% - 16px);}#help.popover{max-width:600px;--popover-arrow-offset:118px;top:calc(100% - 16px);}#help dt{float:left;clear:left;margin-right:0.5rem;}#help dd{margin-bottom:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;padding:0 0.5rem;text-wrap-style:balance;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side{display:flex;margin-bottom:20px;}.side-by-side>div{width:50%;padding:0 20px 0 17px;}.item-info .stab{display:block;padding:3px;margin-bottom:5px;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji,.item-info .stab::before{font-size:1.25rem;}.stab .emoji{margin-right:0.3rem;}.item-info .stab::before{content:"\0";width:0;display:inline-block;color:transparent;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band,.sub-heading,rustdoc-toolbar{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}.top-doc>.docblock>.warning:first-child::before{top:20px;}.example-wrap>a.test-arrow,.example-wrap .button-holder{visibility:hidden;position:absolute;top:4px;right:4px;z-index:1;}a.test-arrow{height:var(--copy-path-height);padding:6px 4px 0 11px;}a.test-arrow::before{content:url('data:image/svg+xml,');}.example-wrap .button-holder{display:flex;}@media not (pointer:coarse){.example-wrap:hover>a.test-arrow,.example-wrap:hover>.button-holder{visibility:visible;}}.example-wrap .button-holder.keep-visible{visibility:visible;}.example-wrap .button-holder>*{background:var(--main-background-color);cursor:pointer;border-radius:var(--button-border-radius);height:var(--copy-path-height);width:var(--copy-path-width);border:0;color:var(--code-example-button-color);}.example-wrap .button-holder>*:hover{color:var(--code-example-button-hover-color);}.example-wrap .button-holder>*:not(:first-child){margin-left:var(--button-left-margin);}.example-wrap .button-holder .copy-button{padding:2px 0 0 4px;}.example-wrap .button-holder .copy-button::before,.example-wrap .test-arrow::before{filter:var(--copy-path-img-filter);}.example-wrap .button-holder .copy-button::before{content:var(--clipboard-image);}.example-wrap .button-holder .copy-button:hover::before,.example-wrap .test-arrow:hover::before{filter:var(--copy-path-img-hover-filter);}.example-wrap .button-holder .copy-button.clicked::before{content:var(--checkmark-image);padding-right:5px;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.main-heading span.since::before{content:"Since ";}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}@keyframes targetfadein{from{background-color:var(--main-background-color);}10%{background-color:var(--target-border-color);}to{background-color:var(--target-background-color);}}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}@media not (prefers-reduced-motion){:target{animation:0.65s cubic-bezier(0,0,0.1,1.0) 0.1s targetfadein;}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{margin-top:0.25rem;display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}.src-sidebar-title{position:sticky;top:0;display:flex;padding:8px 8px 0 48px;margin-bottom:7px;background:var(--sidebar-background-color);border-bottom:1px solid var(--border-color);}#settings-menu,#help-button,button#toggle-all-docs{margin-left:var(--button-left-margin);display:flex;line-height:1.25;min-width:14px;}#sidebar-button{display:none;line-height:0;}.hide-sidebar #sidebar-button,.src #sidebar-button{display:flex;margin-right:4px;position:fixed;left:6px;height:34px;width:34px;background-color:var(--main-background-color);z-index:1;}.src #sidebar-button{left:8px;z-index:calc(var(--desktop-sidebar-z-index) + 1);}.hide-sidebar .src #sidebar-button{position:static;}#settings-menu>a,#help-button>a,#sidebar-button>a,button#toggle-all-docs{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid transparent;border-radius:var(--button-border-radius);color:var(--main-color);}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:80px;border-radius:var(--toolbar-button-border-radius);}#settings-menu>a,#help-button>a{min-width:0;}#sidebar-button>a{background-color:var(--button-background-color);border-color:var(--border-color);width:33px;}#settings-menu>a:hover,#settings-menu>a:focus-visible,#help-button>a:hover,#help-button>a:focus-visible,#sidebar-button>a:hover,#sidebar-button>a:focus-visible,button#toggle-all-docs:hover,button#toggle-all-docs:focus-visible{border-color:var(--settings-button-border-focus);text-decoration:none;}#settings-menu>a:before{content:url('data:image/svg+xml,\
     		viewBox="0 0 22 22" fill="none" stroke="black">\
     		\
     		\
    -		');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}.side-by-side{flex-direction:column-reverse;}.side-by-side>div{width:auto;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}#copy-path{display:none;}rustdoc-toolbar span.label{display:none;}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:33px;}#settings.popover{--popover-arrow-offset:86px;}#help.popover{--popover-arrow-offset:48px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.src .main-heading{margin-left:8px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#sidebar-button>a:before{content:url('data:image/svg+xml,');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}.side-by-side{flex-direction:column-reverse;}.side-by-side>div{width:auto;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}#copy-path{width:0;visibility:hidden;}rustdoc-toolbar span.label{display:none;}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:33px;}#settings.popover{--popover-arrow-offset:86px;}#help.popover{--popover-arrow-offset:48px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.src .main-heading{margin-left:8px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#sidebar-button>a:before{content:url('data:image/svg+xml,\
     			\
     			\
    diff --git a/static.files/scrape-examples-46fc985aa763a438.js b/static.files/scrape-examples-d508a8a9.js
    similarity index 100%
    rename from static.files/scrape-examples-46fc985aa763a438.js
    rename to static.files/scrape-examples-d508a8a9.js
    diff --git a/static.files/search-92e6798f.js b/static.files/search-92e6798f.js
    new file mode 100644
    index 0000000..9260fd5
    --- /dev/null
    +++ b/static.files/search-92e6798f.js
    @@ -0,0 +1,6 @@
    +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}function onEachBtwn(arr,func,funcBtwn){let skipped=true;for(const value of arr){if(!skipped){funcBtwn(value)}skipped=func(value)}}const itemTypes=["keyword","primitive","mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","associatedtype","constant","associatedconstant","union","foreigntype","existential","attr","derive","traitalias","generic",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_GENERIC=itemTypes.indexOf("generic");const TY_IMPORT=itemTypes.indexOf("import");const TY_TRAIT=itemTypes.indexOf("trait");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";const UNBOXING_LIMIT=5;const REGEX_IDENT=/\p{ID_Start}\p{ID_Continue}*|_\p{ID_Continue}+/uy;const REGEX_INVALID_TYPE_FILTER=/[^a-z]/ui;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.normalizedPathLast;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name.trim()==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/).map(x=>x.toLowerCase());if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name.toLowerCase().replace(/_/g,""),gen.bindingName.generics,);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;let left=0;let right=this.keys.length-1;while(left<=right){const mid=Math.floor((left+right)/2);const x=this.keys[mid];if(xkey){right=mid-1}else{return this.containers[mid].contains(value)}}return false}}class RoaringBitmapRun{constructor(runcount,array){this.runcount=runcount;this.array=array}contains(value){let left=0;let right=this.runcount-1;while(left<=right){const mid=Math.floor((left+right)/2);const i=mid*4;const start=this.array[i]|(this.array[i+1]<<8);const lenm1=this.array[i+2]|(this.array[i+3]<<8);if((start+lenm1)value){right=mid-1}else{return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){let left=0;let right=this.cardinality-1;while(left<=right){const mid=Math.floor((left+right)/2);const i=mid*2;const x=this.array[i]|(this.array[i+1]<<8);if(xvalue){right=mid-1}else{return true}}return false}}class RoaringBitmapBits{constructor(array){this.array=array}contains(value){return!!(this.array[value>>3]&(1<<(value&7)))}}class NameTrie{constructor(){this.children=[];this.matches=[]}insert(name,id,tailTable){this.insertSubstring(name,0,id,tailTable)}insertSubstring(name,substart,id,tailTable){const l=name.length;if(substart===l){this.matches.push(id)}else{const sb=name.charCodeAt(substart);let child;if(this.children[sb]!==undefined){child=this.children[sb]}else{child=new NameTrie();this.children[sb]=child;let sste;if(substart>=2){const tail=name.substring(substart-2,substart+1);if(tailTable.has(tail)){sste=tailTable.get(tail)}else{sste=[];tailTable.set(tail,sste)}sste.push(child)}}child.insertSubstring(name,substart+1,id,tailTable)}}search(name,tailTable){const results=new Set();this.searchSubstringPrefix(name,0,results);if(results.size=3){const levParams=name.length>=6?new Lev2TParametricDescription(name.length):new Lev1TParametricDescription(name.length);this.searchLev(name,0,levParams,results);const tail=name.substring(0,3);if(tailTable.has(tail)){for(const entry of tailTable.get(tail)){entry.searchSubstringPrefix(name,3,results)}}}return[...results]}searchSubstringPrefix(name,substart,results){const l=name.length;if(substart===l){for(const match of this.matches){results.add(match)}let unprocessedChildren=[];for(const child of this.children){if(child){unprocessedChildren.push(child)}}let nextSet=[];while(unprocessedChildren.length!==0){const next=unprocessedChildren.pop();for(const child of next.children){if(child){nextSet.push(child)}}for(const match of next.matches){results.add(match)}if(unprocessedChildren.length===0){const tmp=unprocessedChildren;unprocessedChildren=nextSet;nextSet=tmp}}}else{const sb=name.charCodeAt(substart);if(this.children[sb]!==undefined){this.children[sb].searchSubstringPrefix(name,substart+1,results)}}}searchLev(name,substart,levParams,results){const stack=[[this,0]];const n=levParams.n;while(stack.length!==0){const[trie,levState]=stack.pop();for(const[charCode,child]of trie.children.entries()){if(!child){continue}const levPos=levParams.getPosition(levState);const vector=levParams.getVector(name,charCode,levPos,Math.min(name.length,levPos+(2*n)+1),);const newLevState=levParams.transition(levState,levPos,vector,);if(newLevState>=0){stack.push([child,newLevState]);if(levParams.isAccept(newLevState)){for(const match of child.matches){results.add(match)}}}}}}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.assocTypeIdNameMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.typeNameIdOfOutput=this.buildTypeMapIndex("output",true);this.typeNameIdOfReference=this.buildTypeMapIndex("reference");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.nameTrie=new NameTrie();this.tailTable=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,paths,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,paths,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,paths,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],paths,lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,paths,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,paths,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,name:"",ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,unboxFlag:true,}}else if(pathIndex===0){result={id:null,name:"",ty:null,path:null,exactPath:null,generics,bindings,unboxFlag:true,}}else{const item=lowercasePaths[pathIndex-1];const id=this.buildTypeMapIndex(item.name,isAssocType);if(isAssocType){this.assocTypeIdNameMap.set(id,paths[pathIndex-1].name)}result={id,name:paths[pathIndex-1].name,ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,unboxFlag:item.unboxFlag,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty&&cr.name===result.name&&cr.unboxFlag===result.unboxFlag){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));output[3]+=1}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output)}}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=(paths,lowercasePaths)=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],paths,lowercasePaths,),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],paths,lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],paths,lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],paths,lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;let lastParamNames=[];let normalizedName=crate.indexOf("_")===-1?crate:crate.replace(/_/g,"");const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,paramNames:lastParamNames,id,word:crate,normalizedName,bitIndex:0,implDisambiguator:null,};this.nameTrie.insert(normalizedName,id,this.tailTable);id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const itemParamNames=new Map(crateCorpus.P);const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(paths,lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2&&elem[2]!==null){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3&&elem[3]!==null?itemPaths.get(elem[3]):path;const unboxFlag=elem.length>4&&!!elem[4];lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath,unboxFlag});paths[i]={ty,name,path,exactPath,unboxFlag}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const paramNames=itemParamNames.has(i)?itemParamNames.get(i).split(","):lastParamNames;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp)}}}}const itemParentIdx=itemParentIdxDecoder.next();normalizedName=word.indexOf("_")===-1?word:word.replace(/_/g,"");const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,paramNames,id,word,normalizedName,bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};this.nameTrie.insert(normalizedName,id,this.tailTable);id+=1;searchIndex.push(row);lastPath=row.path;lastParamNames=row.paramNames;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{userQuery,elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,hasReturnArrow:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){query.hasReturnArrow=true;break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";exactPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::";exactPath=myparent.name}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=(results,typeInfo)=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const res=buildHrefAndPath(this.searchIndex[result.id]);const obj=Object.assign({dist:result.dist,displayPath:pathSplitter(res[0]),},this.searchIndex[result.id]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);if(typeInfo!==null){obj.displayTypeSignature=this.formatDisplayTypeSignature(obj,typeInfo)}obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};this.formatDisplayTypeSignature=async(obj,typeInfo)=>{let fnInputs=null;let fnOutput=null;let mgens=null;if(typeInfo!=="elems"&&typeInfo!=="returned"){fnInputs=unifyFunctionTypes(obj.type.inputs,parsedQuery.elems,obj.type.where_clause,null,mgensScratch=>{fnOutput=unifyFunctionTypes(obj.type.output,parsedQuery.returned,obj.type.where_clause,mgensScratch,mgensOut=>{mgens=mgensOut;return true},0,);return!!fnOutput},0,)}else{const arr=typeInfo==="elems"?obj.type.inputs:obj.type.output;const highlighted=unifyFunctionTypes(arr,parsedQuery.elems,obj.type.where_clause,null,mgensOut=>{mgens=mgensOut;return true},0,);if(typeInfo==="elems"){fnInputs=highlighted}else{fnOutput=highlighted}}if(!fnInputs){fnInputs=obj.type.inputs}if(!fnOutput){fnOutput=obj.type.output}const mappedNames=new Map();const whereClause=new Map();const fnParamNames=obj.paramNames;const queryParamNames=[];const remapQuery=queryElem=>{if(queryElem.id<0){queryParamNames[-1-queryElem.id]=queryElem.name}if(queryElem.generics.length>0){queryElem.generics.forEach(remapQuery)}if(queryElem.bindings.size>0){[...queryElem.bindings.values()].flat().forEach(remapQuery)}};parsedQuery.elems.forEach(remapQuery);parsedQuery.returned.forEach(remapQuery);const pushText=(fnType,result)=>{if(!!(result.length%2)===!!fnType.highlighted){result.push("")}else if(result.length===0&&!!fnType.highlighted){result.push("");result.push("")}result[result.length-1]+=fnType.name};const writeHof=(fnType,result)=>{const hofOutput=fnType.bindings.get(this.typeNameIdOfOutput)||[];const hofInputs=fnType.generics;pushText(fnType,result);pushText({name:" (",highlighted:false},result);let needsComma=false;for(const fnType of hofInputs){if(needsComma){pushText({name:", ",highlighted:false},result)}needsComma=true;writeFn(fnType,result)}pushText({name:hofOutput.length===0?")":") -> ",highlighted:false,},result);if(hofOutput.length>1){pushText({name:"(",highlighted:false},result)}needsComma=false;for(const fnType of hofOutput){if(needsComma){pushText({name:", ",highlighted:false},result)}needsComma=true;writeFn(fnType,result)}if(hofOutput.length>1){pushText({name:")",highlighted:false},result)}};const writeSpecialPrimitive=(fnType,result)=>{if(fnType.id===this.typeNameIdOfArray||fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit){const[ob,sb]=fnType.id===this.typeNameIdOfArray||fnType.id===this.typeNameIdOfSlice?["[","]"]:["(",")"];pushText({name:ob,highlighted:fnType.highlighted},result);onEachBtwn(fnType.generics,nested=>writeFn(nested,result),()=>pushText({name:", ",highlighted:false},result),);pushText({name:sb,highlighted:fnType.highlighted},result);return true}else if(fnType.id===this.typeNameIdOfReference){pushText({name:"&",highlighted:fnType.highlighted},result);let prevHighlighted=false;onEachBtwn(fnType.generics,value=>{prevHighlighted=value.highlighted;writeFn(value,result)},value=>pushText({name:" ",highlighted:prevHighlighted&&value.highlighted,},result),);return true}else if(fnType.id===this.typeNameIdOfFn){writeHof(fnType,result);return true}return false};const writeFn=(fnType,result)=>{if(fnType.id<0){if(fnParamNames[-1-fnType.id]===""){for(const nested of fnType.generics){writeFn(nested,result)}return}else if(mgens){for(const[queryId,fnId]of mgens){if(fnId===fnType.id){mappedNames.set(queryParamNames[-1-queryId],fnParamNames[-1-fnType.id],)}}}pushText({name:fnParamNames[-1-fnType.id],highlighted:!!fnType.highlighted,},result);const where=[];onEachBtwn(fnType.generics,nested=>writeFn(nested,where),()=>pushText({name:" + ",highlighted:false},where),);if(where.length>0){whereClause.set(fnParamNames[-1-fnType.id],where)}}else{if(fnType.ty===TY_PRIMITIVE){if(writeSpecialPrimitive(fnType,result)){return}}else if(fnType.ty===TY_TRAIT&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){writeHof(fnType,result);return}pushText(fnType,result);let hasBindings=false;if(fnType.bindings.size>0){onEachBtwn(fnType.bindings,([key,values])=>{const name=this.assocTypeIdNameMap.get(key);if(values.length===1&&values[0].id<0&&`${fnType.name}::${name}`===fnParamNames[-1-values[0].id]){for(const value of values){writeFn(value,[])}return true}if(!hasBindings){hasBindings=true;pushText({name:"<",highlighted:false},result)}pushText({name,highlighted:false},result);pushText({name:values.length!==1?"=(":"=",highlighted:false,},result);onEachBtwn(values||[],value=>writeFn(value,result),()=>pushText({name:" + ",highlighted:false},result),);if(values.length!==1){pushText({name:")",highlighted:false},result)}},()=>pushText({name:", ",highlighted:false},result),)}if(fnType.generics.length>0){pushText({name:hasBindings?", ":"<",highlighted:false},result)}onEachBtwn(fnType.generics,value=>writeFn(value,result),()=>pushText({name:", ",highlighted:false},result),);if(hasBindings||fnType.generics.length>0){pushText({name:">",highlighted:false},result)}}};const type=[];onEachBtwn(fnInputs,fnType=>writeFn(fnType,type),()=>pushText({name:", ",highlighted:false},type),);pushText({name:" -> ",highlighted:false},type);onEachBtwn(fnOutput,fnType=>writeFn(fnType,type),()=>pushText({name:", ",highlighted:false},type),);return{type,mappedNames,whereClause}};const sortResults=async(results,typeInfo,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const normalizedUserQuery=parsedQuery.userQuery.toLowerCase();const isMixedCase=normalizedUserQuery!==userQuery;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;if(isMixedCase){a=(aaa.item.name!==userQuery);b=(bbb.item.name!==userQuery);if(a!==b){return a-b}}a=(aaa.word!==normalizedUserQuery);b=(bbb.word!==normalizedUserQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list,typeInfo)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return null}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return solutionCb(mgens)?fnTypesIn:null}if(!fnTypesIn||fnTypesIn.length===0){return null}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const[i,fnType]of fnTypesIn.entries()){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(queryElem.id)&&mgens.get(queryElem.id)!==fnType.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(queryElem.id,fnType.id);if(!solutionCb||solutionCb(mgensScratch)){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:whereClause[-1-fnType.id],});return highlighted}}else if(solutionCb(mgens?new Map(mgens):null)){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:unifyGenericTypes(fnType.generics,queryElem.generics,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth,)||fnType.generics,});return highlighted}}for(const[i,fnType]of fnTypesIn.entries()){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){const highlightedGenerics=unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgens,solutionCb,unboxingDepth+1,);if(highlightedGenerics){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({highlighted:true,},fnType,{generics:highlightedGenerics,});return highlighted}}else{const highlightedGenerics=unifyFunctionTypes([...Array.from(fnType.bindings.values()).flat(),...fnType.generics],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,);if(highlightedGenerics){const highlighted=[...fnTypesIn];highlighted[i]=Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),});return highlighted}}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(queryElem.id)&&mgensScratch.get(queryElem.id)!==fnType.id){continue}mgensScratch.set(queryElem.id,fnType.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}let unifiedGenerics=[];let unifiedGenericsMgens=null;const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){unifiedGenerics=unifyGenericTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(unifiedGenerics!==null){unifiedGenericsMgens=simplifiedMgens;return true}}return false},unboxingDepth,);if(passesUnification){passesUnification.length=fl;passesUnification[flast]=passesUnification[i];passesUnification[i]=Object.assign({},fnType,{highlighted:true,generics:unifiedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,queryElem.bindings.has(k)?unifyFunctionTypes(v,queryElem.bindings.get(k),whereClause,unifiedGenericsMgens,solutionCb,unboxingDepth,):unifiedGenerics.splice(0,v.length)]})),});return passesUnification}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...bindings,...generics),queryElems,whereClause,mgens,solutionCb,unboxingDepth+1,);if(passesUnification){const highlightedGenerics=passesUnification.slice(i,i+generics.length+bindings.length,);const highlightedFnType=Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),});return passesUnification.toSpliced(i,generics.length+bindings.length,highlightedFnType,)}}return null}function unifyGenericTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return null}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return solutionCb(mgens)?fnTypesIn:null}if(!fnTypesIn||fnTypesIn.length===0){return null}const fnType=fnTypesIn[0];const queryElem=queryElems[0];if(unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){if(fnType.id<0&&queryElem.id<0){if(!mgens||!mgens.has(queryElem.id)||mgens.get(queryElem.id)===fnType.id){const mgensScratch=new Map(mgens);mgensScratch.set(queryElem.id,fnType.id);const fnTypesRemaining=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(fnTypesRemaining){const highlighted=[fnType,...fnTypesRemaining];highlighted[0]=Object.assign({highlighted:true,},fnType,{generics:whereClause[-1-fnType.id],});return highlighted}}}else{let unifiedGenerics;const fnTypesRemaining=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgens,mgensScratch=>{const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){unifiedGenerics=unifyGenericTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(unifiedGenerics!==null){return true}}},unboxingDepth,);if(fnTypesRemaining){const highlighted=[fnType,...fnTypesRemaining];highlighted[0]=Object.assign({highlighted:true,},fnType,{generics:unifiedGenerics||fnType.generics,});return highlighted}}}if(unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){let highlightedRemaining;if(fnType.id<0){const highlightedGenerics=unifyFunctionTypes(whereClause[(-fnType.id)-1],[queryElem],whereClause,mgens,mgensScratch=>{const hl=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(hl){highlightedRemaining=hl}return hl},unboxingDepth+1,);if(highlightedGenerics){return[Object.assign({highlighted:true,},fnType,{generics:highlightedGenerics,}),...highlightedRemaining]}}else{const highlightedGenerics=unifyGenericTypes([...Array.from(fnType.bindings.values()).flat(),...fnType.generics,],[queryElem],whereClause,mgens,mgensScratch=>{const hl=unifyGenericTypes(fnTypesIn.slice(1),queryElems.slice(1),whereClause,mgensScratch,solutionCb,unboxingDepth,);if(hl){highlightedRemaining=hl}return hl},unboxingDepth+1,);if(highlightedGenerics){return[Object.assign({},fnType,{generics:highlightedGenerics,bindings:new Map([...fnType.bindings.entries()].map(([k,v])=>{return[k,highlightedGenerics.splice(0,v.length)]})),}),...highlightedRemaining]}}}return null}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn&&mgensIn.has(queryElem.id)&&mgensIn.get(queryElem.id)!==fnType.id){return false}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...binds,...simplifiedGenerics]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0){if(!whereClause){return false}return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgens,unboxingDepth,)}else if(fnType.unboxFlag&&(fnType.generics.length>0||fnType.bindings.size>0)){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&row.generics.length===0&&elem.generics.length===0&&row.bindings.size===0&&elem.bindings.size===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfHof&&elem.id!==this.typeNameIdOfTupleOrUnit){return row.id===elem.id&&typePassesFilter(elem.typeFilter,row.ty)}else{return unifyFunctionTypes([row],[elem],whereClause,mgens,()=>true,unboxingDepth,)}};const checkTypeMgensForConflict=mgens=>{if(!mgens){return true}const fnTypes=new Set();for(const[_qid,fid]of mgens){if(fnTypes.has(fid)){return false}fnTypes.add(fid)}return true};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,checkTypeMgensForConflict,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.normalizedPathLast)){elem.id=genericSymbols.get(elem.normalizedPathLast)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.normalizedPathLast,elem.id)}if(elem.typeFilter===-1&&elem.normalizedPathLast.length>=3){const maxPartDistance=Math.floor(elem.normalizedPathLast.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.normalizedPathLast,maxPartDistance,);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint)}if(parsedQuery.foundElems===1&&!parsedQuery.hasReturnArrow){const elem=parsedQuery.elems[0];const handleNameSearch=id=>{const row=this.searchIndex[id];if(!typePassesFilter(elem.typeFilter,row.ty)||(filterCrates!==null&&row.crate!==filterCrates)){return}let pathDist=0;if(elem.fullPath.length>1){pathDist=checkPath(elem.pathWithoutLast,row);if(pathDist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,row.id,id,0,0,pathDist)}}else{addIntoResults(results_others,row.id,id,row.normalizedName.indexOf(elem.normalizedPathLast),editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance,),pathDist,maxEditDistance,)}};if(elem.normalizedPathLast!==""){const last=elem.normalizedPathLast;for(const id of this.nameTrie.search(last,this.tailTable)){handleNameSearch(id)}}const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement(array.length===0&&query.error===null?"div":"ul",);if(array.length>0){output.className="search-results "+extraClass;const lis=Promise.all(array.map(async item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("span");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=` 
    \ +${item.alias} - see \ +
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ +${item.displayPath}${name}\ +
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);if(item.displayTypeSignature){const{type,mappedNames,whereClause}=await item.displayTypeSignature;const displayType=document.createElement("div");type.forEach((value,index)=>{if(index%2!==0){const highlight=document.createElement("strong");highlight.appendChild(document.createTextNode(value));displayType.appendChild(highlight)}else{displayType.appendChild(document.createTextNode(value))}});if(mappedNames.size>0||whereClause.size>0){let addWhereLineFn=()=>{const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode("where"));displayType.appendChild(line);addWhereLineFn=()=>{}};for(const[qname,name]of mappedNames){if(name===qname){continue}addWhereLineFn();const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode(` ${qname} matches `));const lineStrong=document.createElement("strong");lineStrong.appendChild(document.createTextNode(name));line.appendChild(lineStrong);displayType.appendChild(line)}for(const[name,innerType]of whereClause){if(innerType.length<=1){continue}addWhereLineFn();const line=document.createElement("div");line.className="where";line.appendChild(document.createTextNode(` ${name}: `));innerType.forEach((value,index)=>{if(index%2!==0){const highlight=document.createElement("strong");highlight.appendChild(document.createTextNode(value));line.appendChild(highlight)}else{line.appendChild(document.createTextNode(value))}});displayType.appendChild(line)}}displayType.className="type-signature";link.appendChild(displayType)}link.appendChild(description);return link}));lis.then(lis=>{for(const li of lis){output.appendChild(li)}})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return output}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;let currentTab=searchState.currentTab;if((currentTab===0&&results.others.length===0)||(currentTab===1&&results.in_args.length===0)||(currentTab===2&&results.returned.length===0)){if(results.others.length!==0){currentTab=0}else if(results.in_args.length){currentTab=1}else if(results.returned.length){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates="
    in 
    "+"
    "}let output=`
    \ +

    Results

    ${crates}
    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",results.others.length)+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",results.others.length)+makeTabHeader(1,"In Parameters",results.in_args.length)+makeTabHeader(2,"In Return Types",results.returned.length)+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,results.others.length)+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,currentTab===0),addTab(results.in_args,results.query,currentTab===1),addTab(results.returned,results.query,currentTab===2),]);const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others);resultsElem.appendChild(ret_in_args);resultsElem.appendChild(ret_returned);search.innerHTML=output;if(searchState.rustdocToolbar){search.querySelector(".main-heading").appendChild(searchState.rustdocToolbar)}const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.userQuery+"\" Search - Rust";updateSearchHistory(buildUrl(query.userQuery,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}class ParametricDescription{constructor(w,n,minErrors){this.w=w;this.n=n;this.minErrors=minErrors}isAccept(absState){const state=Math.floor(absState/(this.w+1));const offset=absState%(this.w+1);return this.w-offset+this.minErrors[state]<=this.n}getPosition(absState){return absState%(this.w+1)}getVector(name,charCode,pos,end){let vector=0;for(let i=pos;i>5;const bitStart=bitLoc&31;if(bitStart+bitsPerValue<=32){return((data[dataLoc]>>bitStart)&this.MASKS[bitsPerValue-1])}else{const part=32-bitStart;return ~~(((data[dataLoc]>>bitStart)&this.MASKS[part-1])+((data[1+dataLoc]&this.MASKS[bitsPerValue-part-1])<limit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name.trim()==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name,gen.bindingName.generics);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;for(let i=0;i=start&&value<=(start+lenm1)){return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){const l=this.cardinality*2;for(let i=0;i>3]&(1<<(value&7)))}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,}}else if(pathIndex===0){result={id:null,ty:null,path:null,exactPath:null,generics,bindings,}}else{const item=lowercasePaths[pathIndex-1];result={id:this.buildTypeMapIndex(item.name,isAssocType),ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output,fps){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));fps.add(input)}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output,fps)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output,fps)}output[3]=fps.size}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=lowercasePaths=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,id,word:crate,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),bitIndex:0,implDisambiguator:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3?itemPaths.get(elem[3]):path;lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath});paths[i]={ty,name,path,exactPath}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);const fps=new Set();for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp,fps)}}}}const itemParentIdx=itemParentIdxDecoder.next();const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,id,word,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,hasReturnArrow:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){query.hasReturnArrow=true;break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=results=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=this.searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};const sortResults=async(results,isType,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const casedUserQuery=parsedQuery.original;const isMixedCase=casedUserQuery!==userQuery;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;if(isMixedCase){a=(aaa.item.name!==casedUserQuery);b=(bbb.item.name!==casedUserQuery);if(a!==b){return a-b}}a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,queryElem.id);if(!solutionCb||solutionCb(mgensScratch)){return true}}else if(!solutionCb||solutionCb(mgens?new Map(mgens):null)){return true}}for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,0);if(unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,)){return true}}else if(unifyFunctionTypes([...fnType.generics,...Array.from(fnType.bindings.values()).flat()],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,)){return true}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==queryElem.id){continue}mgensScratch.set(fnType.id,queryElem.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return!solutionCb||solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){const passesUnification=unifyFunctionTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(passesUnification){return true}}return false},unboxingDepth,);if(passesUnification){return true}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==0){continue}mgensScratch.set(fnType.id,0)}else{mgensScratch=mgens}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...generics,...bindings),queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,);if(passesUnification){return true}}return false}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn){if(mgensIn.has(fnType.id)&&mgensIn.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgensIn.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...simplifiedGenerics,...binds]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0&&queryElem.id>=0){if(!whereClause){return false}if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}const mgensTmp=new Map(mgens);mgensTmp.set(fnType.id,null);return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgensTmp,unboxingDepth,)}else if(fnType.generics.length>0||fnType.bindings.size>0){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.bindings.size===0&&elem.bindings.size===0){if(elem.id<0&&mgens===null){return row.id<0||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth+1,)}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&typePassesFilter(elem.typeFilter,row.ty)&&elem.generics.length===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfTupleOrUnit&&elem.id!==this.typeNameIdOfHof){return row.id===elem.id||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth,)}}return unifyFunctionTypes([row],[elem],whereClause,mgens,null,unboxingDepth)};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance,){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let path_dist=0;const fullId=row.id;const tfpDist=compareTypeFingerprints(fullId,parsedQuery.typeFingerprint,);if(tfpDist!==null){const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause,null,0);const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause,null,0);if(in_args){results_in_args.max_dist=Math.max(results_in_args.max_dist||0,tfpDist);const maxDist=results_in_args.sizenormalizedIndex&&normalizedIndex!==-1)){index=normalizedIndex}if(elem.fullPath.length>1){path_dist=checkPath(elem.pathWithoutLast,row);if(path_dist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance);if(index===-1&&dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,null,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};const fps=new Set();for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}if(parsedQuery.foundElems===1&&!parsedQuery.hasReturnArrow){if(parsedQuery.elems.length===1){const elem=parsedQuery.elems[0];const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement("div");if(array.length>0){output.className="search-results "+extraClass;for(const item of array){const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ -${item.alias} - see \ -
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ -${item.displayPath}${name}\ -
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)}}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,array.length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,true),addTab(results.in_args,results.query,false),addTab(results.returned,results.query,false),]);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates="
    in 
    "+"
    "}let output=`
    \ -

    Results

    ${crates}
    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;if(searchState.rustdocToolbar){search.querySelector(".main-heading").appendChild(searchState.rustdocToolbar)}const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.original+"\" Search - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}})() \ No newline at end of file diff --git a/static.files/settings-805db61a62df4bd2.js b/static.files/settings-0f613d39.js similarity index 100% rename from static.files/settings-805db61a62df4bd2.js rename to static.files/settings-0f613d39.js diff --git a/static.files/src-script-e66d777a5a92e9b2.js b/static.files/src-script-56102188.js similarity index 100% rename from static.files/src-script-e66d777a5a92e9b2.js rename to static.files/src-script-56102188.js diff --git a/static.files/storage-1d39b6787ed640ff.js b/static.files/storage-59e33391.js similarity index 100% rename from static.files/storage-1d39b6787ed640ff.js rename to static.files/storage-59e33391.js diff --git a/syn/all.html b/syn/all.html index 7fed3dd..695b8a4 100644 --- a/syn/all.html +++ b/syn/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Aliases

    \ No newline at end of file +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Aliases

    \ No newline at end of file diff --git a/syn/buffer/index.html b/syn/buffer/index.html index 1a8845e..10c3220 100644 --- a/syn/buffer/index.html +++ b/syn/buffer/index.html @@ -1,4 +1,4 @@ -syn::buffer - Rust
    syn

    Module buffer

    source
    Expand description

    A stably addressed token buffer supporting efficient traversal based on a +syn::buffer - Rust

    syn

    Module buffer

    Source
    Expand description

    A stably addressed token buffer supporting efficient traversal based on a cheaply copyable cursor.

    Structs§

    Trait Implementations§

    source§

    impl<'a> Clone for Cursor<'a>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> PartialEq for Cursor<'a>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> PartialOrd for Cursor<'a>

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a> Copy for Cursor<'a>

    source§

    impl<'a> Eq for Cursor<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Cursor<'a>

    §

    impl<'a> RefUnwindSafe for Cursor<'a>

    §

    impl<'a> !Send for Cursor<'a>

    §

    impl<'a> !Sync for Cursor<'a>

    §

    impl<'a> Unpin for Cursor<'a>

    §

    impl<'a> UnwindSafe for Cursor<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for Cursor<'a>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> PartialEq for Cursor<'a>

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> PartialOrd for Cursor<'a>

    Source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl<'a> Copy for Cursor<'a>

    Source§

    impl<'a> Eq for Cursor<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Cursor<'a>

    §

    impl<'a> RefUnwindSafe for Cursor<'a>

    §

    impl<'a> !Send for Cursor<'a>

    §

    impl<'a> !Sync for Cursor<'a>

    §

    impl<'a> Unpin for Cursor<'a>

    §

    impl<'a> UnwindSafe for Cursor<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/buffer/struct.TokenBuffer.html b/syn/buffer/struct.TokenBuffer.html index e587495..64ff357 100644 --- a/syn/buffer/struct.TokenBuffer.html +++ b/syn/buffer/struct.TokenBuffer.html @@ -1,20 +1,20 @@ -TokenBuffer in syn::buffer - Rust
    syn::buffer

    Struct TokenBuffer

    source
    pub struct TokenBuffer { /* private fields */ }
    Expand description

    A buffer that can be efficiently traversed multiple times, unlike +TokenBuffer in syn::buffer - Rust

    syn::buffer

    Struct TokenBuffer

    Source
    pub struct TokenBuffer { /* private fields */ }
    Expand description

    A buffer that can be efficiently traversed multiple times, unlike TokenStream which requires a deep copy in order to traverse more than once.

    -

    Implementations§

    source§

    impl TokenBuffer

    source

    pub fn new(stream: TokenStream) -> Self

    Creates a TokenBuffer containing all the tokens from the input +

    Implementations§

    Source§

    impl TokenBuffer

    Source

    pub fn new(stream: TokenStream) -> Self

    Creates a TokenBuffer containing all the tokens from the input proc_macro::TokenStream.

    -
    source

    pub fn new2(stream: TokenStream) -> Self

    Creates a TokenBuffer containing all the tokens from the input +

    Source

    pub fn new2(stream: TokenStream) -> Self

    Creates a TokenBuffer containing all the tokens from the input proc_macro2::TokenStream.

    -
    source

    pub fn begin(&self) -> Cursor<'_>

    Creates a cursor referencing the first token in the buffer and able to +

    Source

    pub fn begin(&self) -> Cursor<'_>

    Creates a cursor referencing the first token in the buffer and able to traverse until the end of the buffer.

    -

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.AttrStyle.html b/syn/enum.AttrStyle.html index 6740f03..d0ce0e3 100644 --- a/syn/enum.AttrStyle.html +++ b/syn/enum.AttrStyle.html @@ -1,4 +1,4 @@ -AttrStyle in syn - Rust
    syn

    Enum AttrStyle

    source
    pub enum AttrStyle {
    +AttrStyle in syn - Rust
    syn

    Enum AttrStyle

    Source
    pub enum AttrStyle {
         Outer,
         Inner(Not),
     }
    Expand description

    Distinguishes between attributes that decorate an item and attributes @@ -15,20 +15,20 @@ that are contained within an item.

  • //! # Example
  • /*! Please file an issue */
  • -

    Variants§

    §

    Outer

    §

    Inner(Not)

    Trait Implementations§

    source§

    impl Clone for AttrStyle

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AttrStyle

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for AttrStyle

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for AttrStyle

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for AttrStyle

    source§

    impl Eq for AttrStyle

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants§

    §

    Outer

    §

    Inner(Not)

    Trait Implementations§

    Source§

    impl Clone for AttrStyle

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AttrStyle

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for AttrStyle

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for AttrStyle

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for AttrStyle

    Source§

    impl Eq for AttrStyle

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.BinOp.html b/syn/enum.BinOp.html index e5756f6..b3e3a75 100644 --- a/syn/enum.BinOp.html +++ b/syn/enum.BinOp.html @@ -1,4 +1,4 @@ -BinOp in syn - Rust
    syn

    Enum BinOp

    source
    #[non_exhaustive]
    pub enum BinOp { +BinOp in syn - Rust
    syn

    Enum BinOp

    Source
    #[non_exhaustive]
    pub enum BinOp {
    Show 28 variants Add(Plus), Sub(Minus), Mul(Star), @@ -56,23 +56,23 @@
    §

    BitOrAssign(OrEq)

    The |= operator

    §

    ShlAssign(ShlEq)

    The <<= operator

    §

    ShrAssign(ShrEq)

    The >>= operator

    -

    Trait Implementations§

    source§

    impl Clone for BinOp

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BinOp

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BinOp

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for BinOp

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for BinOp

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for BinOp

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for BinOp

    source§

    impl Eq for BinOp

    Auto Trait Implementations§

    §

    impl Freeze for BinOp

    §

    impl RefUnwindSafe for BinOp

    §

    impl !Send for BinOp

    §

    impl !Sync for BinOp

    §

    impl Unpin for BinOp

    §

    impl UnwindSafe for BinOp

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for BinOp

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BinOp

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for BinOp

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for BinOp

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for BinOp

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for BinOp

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for BinOp

    Source§

    impl Eq for BinOp

    Auto Trait Implementations§

    §

    impl Freeze for BinOp

    §

    impl RefUnwindSafe for BinOp

    §

    impl !Send for BinOp

    §

    impl !Sync for BinOp

    §

    impl Unpin for BinOp

    §

    impl UnwindSafe for BinOp

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Data.html b/syn/enum.Data.html index 02deb6f..186b79d 100644 --- a/syn/enum.Data.html +++ b/syn/enum.Data.html @@ -1,24 +1,24 @@ -Data in syn - Rust
    syn

    Enum Data

    source
    pub enum Data {
    +Data in syn - Rust
    syn

    Enum Data

    Source
    pub enum Data {
         Struct(DataStruct),
         Enum(DataEnum),
         Union(DataUnion),
     }
    Expand description

    The storage of a struct, enum or union data structure.

    §Syntax tree enum

    This type is a syntax tree enum.

    -

    Variants§

    Trait Implementations§

    source§

    impl Clone for Data

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Data

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Data

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Data

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for Data

    Auto Trait Implementations§

    §

    impl Freeze for Data

    §

    impl RefUnwindSafe for Data

    §

    impl !Send for Data

    §

    impl !Sync for Data

    §

    impl Unpin for Data

    §

    impl UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants§

    Trait Implementations§

    Source§

    impl Clone for Data

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Data

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Data

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Data

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for Data

    Auto Trait Implementations§

    §

    impl Freeze for Data

    §

    impl RefUnwindSafe for Data

    §

    impl !Send for Data

    §

    impl !Sync for Data

    §

    impl Unpin for Data

    §

    impl UnwindSafe for Data

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Expr.html b/syn/enum.Expr.html index ff8d362..86c16d2 100644 --- a/syn/enum.Expr.html +++ b/syn/enum.Expr.html @@ -1,4 +1,4 @@ -Expr in syn - Rust
    syn

    Enum Expr

    source
    #[non_exhaustive]
    pub enum Expr { +Expr in syn - Rust
    syn

    Enum Expr

    Source
    #[non_exhaustive]
    pub enum Expr {
    Show 40 variants Array(ExprArray), Assign(ExprAssign), Async(ExprAsync), @@ -130,7 +130,7 @@ parameters and a qualified self-type.

    §

    Verbatim(TokenStream)

    Tokens in expression position not interpreted by Syn.

    §

    While(ExprWhile)

    A while loop: while expr { ... }.

    §

    Yield(ExprYield)

    A yield expression: yield expr.

    -

    Implementations§

    source§

    impl Expr

    source

    pub const PLACEHOLDER: Self = _

    An unspecified invalid expression.

    +

    Implementations§

    Source§

    impl Expr

    Source

    pub const PLACEHOLDER: Self = _

    An unspecified invalid expression.

    use quote::ToTokens;
     use std::mem;
    @@ -147,7 +147,7 @@ parameters and a qualified self-type.

    unparenthesize(&mut e); assert_eq!("1 + 1", e.to_token_stream().to_string()); }
    -
    source

    pub fn peek(input: ParseStream<'_>) -> bool

    Returns whether the next token in the parse stream is one that might +

    Source

    pub fn peek(input: ParseStream<'_>) -> bool

    Returns whether the next token in the parse stream is one that might possibly form the beginning of an expr.

    This classification is a load-bearing part of the grammar of some Rust expressions, notably return and break. For example return < … will @@ -155,23 +155,23 @@ never parse < as a binary operator regardless of what comes afte because < is a legal starting token for an expression and so it’s required to be continued as a return value, such as return <Struct as Trait>::CONST. Meanwhile return > … treats the > as a binary operator because it cannot be a starting token for any Rust expression.

    -

    Trait Implementations§

    source§

    impl Clone for Expr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Expr

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprArray> for Expr

    source§

    fn from(e: ExprArray) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprAssign> for Expr

    source§

    fn from(e: ExprAssign) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprAsync> for Expr

    source§

    fn from(e: ExprAsync) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprAwait> for Expr

    source§

    fn from(e: ExprAwait) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprBinary> for Expr

    source§

    fn from(e: ExprBinary) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprBlock> for Expr

    source§

    fn from(e: ExprBlock) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprBreak> for Expr

    source§

    fn from(e: ExprBreak) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprCall> for Expr

    source§

    fn from(e: ExprCall) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprCast> for Expr

    source§

    fn from(e: ExprCast) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprClosure> for Expr

    source§

    fn from(e: ExprClosure) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprConst> for Expr

    source§

    fn from(e: ExprConst) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprContinue> for Expr

    source§

    fn from(e: ExprContinue) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprField> for Expr

    source§

    fn from(e: ExprField) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprForLoop> for Expr

    source§

    fn from(e: ExprForLoop) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprGroup> for Expr

    source§

    fn from(e: ExprGroup) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprIf> for Expr

    source§

    fn from(e: ExprIf) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprIndex> for Expr

    source§

    fn from(e: ExprIndex) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprInfer> for Expr

    source§

    fn from(e: ExprInfer) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprLet> for Expr

    source§

    fn from(e: ExprLet) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprLit> for Expr

    source§

    fn from(e: ExprLit) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprLoop> for Expr

    source§

    fn from(e: ExprLoop) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprMacro> for Expr

    source§

    fn from(e: ExprMacro) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprMatch> for Expr

    source§

    fn from(e: ExprMatch) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprMethodCall> for Expr

    source§

    fn from(e: ExprMethodCall) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprParen> for Expr

    source§

    fn from(e: ExprParen) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprPath> for Expr

    source§

    fn from(e: ExprPath) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprRange> for Expr

    source§

    fn from(e: ExprRange) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprRawAddr> for Expr

    source§

    fn from(e: ExprRawAddr) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprReference> for Expr

    source§

    fn from(e: ExprReference) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprRepeat> for Expr

    source§

    fn from(e: ExprRepeat) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprReturn> for Expr

    source§

    fn from(e: ExprReturn) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprStruct> for Expr

    source§

    fn from(e: ExprStruct) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprTry> for Expr

    source§

    fn from(e: ExprTry) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprTryBlock> for Expr

    source§

    fn from(e: ExprTryBlock) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprTuple> for Expr

    source§

    fn from(e: ExprTuple) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprUnary> for Expr

    source§

    fn from(e: ExprUnary) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprUnsafe> for Expr

    source§

    fn from(e: ExprUnsafe) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprWhile> for Expr

    source§

    fn from(e: ExprWhile) -> Expr

    Converts to this type from the input type.
    source§

    impl From<ExprYield> for Expr

    source§

    fn from(e: ExprYield) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for Expr

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Expr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Expr

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Expr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Expr

    Auto Trait Implementations§

    §

    impl Freeze for Expr

    §

    impl RefUnwindSafe for Expr

    §

    impl !Send for Expr

    §

    impl !Sync for Expr

    §

    impl Unpin for Expr

    §

    impl UnwindSafe for Expr

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Expr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Expr

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprArray> for Expr

    Source§

    fn from(e: ExprArray) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprAssign> for Expr

    Source§

    fn from(e: ExprAssign) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprAsync> for Expr

    Source§

    fn from(e: ExprAsync) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprAwait> for Expr

    Source§

    fn from(e: ExprAwait) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprBinary> for Expr

    Source§

    fn from(e: ExprBinary) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprBlock> for Expr

    Source§

    fn from(e: ExprBlock) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprBreak> for Expr

    Source§

    fn from(e: ExprBreak) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprCall> for Expr

    Source§

    fn from(e: ExprCall) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprCast> for Expr

    Source§

    fn from(e: ExprCast) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprClosure> for Expr

    Source§

    fn from(e: ExprClosure) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprConst> for Expr

    Source§

    fn from(e: ExprConst) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprContinue> for Expr

    Source§

    fn from(e: ExprContinue) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprField> for Expr

    Source§

    fn from(e: ExprField) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprForLoop> for Expr

    Source§

    fn from(e: ExprForLoop) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprGroup> for Expr

    Source§

    fn from(e: ExprGroup) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprIf> for Expr

    Source§

    fn from(e: ExprIf) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprIndex> for Expr

    Source§

    fn from(e: ExprIndex) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprInfer> for Expr

    Source§

    fn from(e: ExprInfer) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprLet> for Expr

    Source§

    fn from(e: ExprLet) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprLit> for Expr

    Source§

    fn from(e: ExprLit) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprLoop> for Expr

    Source§

    fn from(e: ExprLoop) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprMacro> for Expr

    Source§

    fn from(e: ExprMacro) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprMatch> for Expr

    Source§

    fn from(e: ExprMatch) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprMethodCall> for Expr

    Source§

    fn from(e: ExprMethodCall) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprParen> for Expr

    Source§

    fn from(e: ExprParen) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprPath> for Expr

    Source§

    fn from(e: ExprPath) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprRange> for Expr

    Source§

    fn from(e: ExprRange) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprRawAddr> for Expr

    Source§

    fn from(e: ExprRawAddr) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprReference> for Expr

    Source§

    fn from(e: ExprReference) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprRepeat> for Expr

    Source§

    fn from(e: ExprRepeat) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprReturn> for Expr

    Source§

    fn from(e: ExprReturn) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprStruct> for Expr

    Source§

    fn from(e: ExprStruct) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprTry> for Expr

    Source§

    fn from(e: ExprTry) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprTryBlock> for Expr

    Source§

    fn from(e: ExprTryBlock) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprTuple> for Expr

    Source§

    fn from(e: ExprTuple) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprUnary> for Expr

    Source§

    fn from(e: ExprUnary) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprUnsafe> for Expr

    Source§

    fn from(e: ExprUnsafe) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprWhile> for Expr

    Source§

    fn from(e: ExprWhile) -> Expr

    Converts to this type from the input type.
    Source§

    impl From<ExprYield> for Expr

    Source§

    fn from(e: ExprYield) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for Expr

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Expr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Expr

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Expr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Expr

    Auto Trait Implementations§

    §

    impl Freeze for Expr

    §

    impl RefUnwindSafe for Expr

    §

    impl !Send for Expr

    §

    impl !Sync for Expr

    §

    impl Unpin for Expr

    §

    impl UnwindSafe for Expr

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.FieldMutability.html b/syn/enum.FieldMutability.html index de6dfbd..338b56e 100644 --- a/syn/enum.FieldMutability.html +++ b/syn/enum.FieldMutability.html @@ -1,20 +1,20 @@ -FieldMutability in syn - Rust
    syn

    Enum FieldMutability

    source
    #[non_exhaustive]
    pub enum FieldMutability { +FieldMutability in syn - Rust
    syn

    Enum FieldMutability

    Source
    #[non_exhaustive]
    pub enum FieldMutability { None, }
    Expand description

    Unused, but reserved for RFC 3323 restrictions.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    None

    Trait Implementations§

    source§

    impl Clone for FieldMutability

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FieldMutability

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for FieldMutability

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for FieldMutability

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for FieldMutability

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    None

    Trait Implementations§

    Source§

    impl Clone for FieldMutability

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FieldMutability

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for FieldMutability

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for FieldMutability

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for FieldMutability

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Fields.html b/syn/enum.Fields.html index 6dda612..8ce8f82 100644 --- a/syn/enum.Fields.html +++ b/syn/enum.Fields.html @@ -1,4 +1,4 @@ -Fields in syn - Rust
    syn

    Enum Fields

    source
    pub enum Fields {
    +Fields in syn - Rust
    syn

    Enum Fields

    Source
    pub enum Fields {
         Named(FieldsNamed),
         Unnamed(FieldsUnnamed),
         Unit,
    @@ -8,19 +8,19 @@
     

    Variants§

    §

    Named(FieldsNamed)

    Named fields of a struct or struct variant such as Point { x: f64, y: f64 }.

    §

    Unnamed(FieldsUnnamed)

    Unnamed fields of a tuple struct or tuple variant such as Some(T).

    §

    Unit

    Unit struct or unit variant such as None.

    -

    Implementations§

    source§

    impl Fields

    source

    pub fn iter(&self) -> Iter<'_, Field>

    Get an iterator over the borrowed Field items in this object. This +

    Implementations§

    Source§

    impl Fields

    Source

    pub fn iter(&self) -> Iter<'_, Field>

    Get an iterator over the borrowed Field items in this object. This iterator can be used to iterate over a named or unnamed struct or variant’s fields uniformly.

    -
    source

    pub fn iter_mut(&mut self) -> IterMut<'_, Field>

    Get an iterator over the mutably borrowed Field items in this +

    Source

    pub fn iter_mut(&mut self) -> IterMut<'_, Field>

    Get an iterator over the mutably borrowed Field items in this object. This iterator can be used to iterate over a named or unnamed struct or variant’s fields uniformly.

    -
    source

    pub fn len(&self) -> usize

    Returns the number of fields.

    -
    source

    pub fn is_empty(&self) -> bool

    Returns true if there are zero fields.

    -
    source

    pub fn members(&self) -> Members<'_>

    Get an iterator over the fields of a struct or variant as Members. +

    Source

    pub fn len(&self) -> usize

    Returns the number of fields.

    +
    Source

    pub fn is_empty(&self) -> bool

    Returns true if there are zero fields.

    +
    Source

    pub fn members(&self) -> Members<'_>

    Get an iterator over the fields of a struct or variant as Members. This iterator can be used to iterate over a named or unnamed struct or variant’s fields uniformly.

    §Example
    -

    The following is a simplistic Clone derive for structs. (A more +

    The following is a simplistic Clone derive for structs. (A more complete implementation would additionally want to infer trait bounds on the generic type parameters.)

    @@ -39,23 +39,23 @@ the generic type parameters.)

    } }

    For structs with named fields, it produces an expression like Self { a: self.a.clone() }. For structs with unnamed fields, Self { 0: self.0.clone() }. And for unit structs, Self {}.

    -

    Trait Implementations§

    source§

    impl Clone for Fields

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Fields

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<FieldsNamed> for Fields

    source§

    fn from(e: FieldsNamed) -> Fields

    Converts to this type from the input type.
    source§

    impl From<FieldsUnnamed> for Fields

    source§

    fn from(e: FieldsUnnamed) -> Fields

    Converts to this type from the input type.
    source§

    impl Hash for Fields

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> IntoIterator for &'a Fields

    source§

    type Item = &'a Field

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<'a, Field>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl<'a> IntoIterator for &'a mut Fields

    source§

    type Item = &'a mut Field

    The type of the elements being iterated over.
    source§

    type IntoIter = IterMut<'a, Field>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl IntoIterator for Fields

    source§

    type Item = Field

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter<Field>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl PartialEq for Fields

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Fields

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Fields

    Auto Trait Implementations§

    §

    impl Freeze for Fields

    §

    impl RefUnwindSafe for Fields

    §

    impl !Send for Fields

    §

    impl !Sync for Fields

    §

    impl Unpin for Fields

    §

    impl UnwindSafe for Fields

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Fields

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Fields

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<FieldsNamed> for Fields

    Source§

    fn from(e: FieldsNamed) -> Fields

    Converts to this type from the input type.
    Source§

    impl From<FieldsUnnamed> for Fields

    Source§

    fn from(e: FieldsUnnamed) -> Fields

    Converts to this type from the input type.
    Source§

    impl Hash for Fields

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> IntoIterator for &'a Fields

    Source§

    type Item = &'a Field

    The type of the elements being iterated over.
    Source§

    type IntoIter = Iter<'a, Field>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl<'a> IntoIterator for &'a mut Fields

    Source§

    type Item = &'a mut Field

    The type of the elements being iterated over.
    Source§

    type IntoIter = IterMut<'a, Field>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl IntoIterator for Fields

    Source§

    type Item = Field

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<Field>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl PartialEq for Fields

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Fields

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Fields

    Auto Trait Implementations§

    §

    impl Freeze for Fields

    §

    impl RefUnwindSafe for Fields

    §

    impl !Send for Fields

    §

    impl !Sync for Fields

    §

    impl Unpin for Fields

    §

    impl UnwindSafe for Fields

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.GenericArgument.html b/syn/enum.GenericArgument.html index bb21d66..be7043a 100644 --- a/syn/enum.GenericArgument.html +++ b/syn/enum.GenericArgument.html @@ -1,4 +1,4 @@ -GenericArgument in syn - Rust
    syn

    Enum GenericArgument

    source
    #[non_exhaustive]
    pub enum GenericArgument { +GenericArgument in syn - Rust
    syn

    Enum GenericArgument

    Source
    #[non_exhaustive]
    pub enum GenericArgument { Lifetime(Lifetime), Type(Type), Const(Expr), @@ -14,23 +14,23 @@ they are indistinguishable syntactically.

    §

    AssocType(AssocType)

    A binding (equality constraint) on an associated type: the Item = u8 in Iterator<Item = u8>.

    §

    AssocConst(AssocConst)

    An equality constraint on an associated constant: the PANIC = false in Trait<PANIC = false>.

    §

    Constraint(Constraint)

    An associated type bound: Iterator<Item: Display>.

    -

    Trait Implementations§

    source§

    impl Clone for GenericArgument

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GenericArgument

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for GenericArgument

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for GenericArgument

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for GenericArgument

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for GenericArgument

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for GenericArgument

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for GenericArgument

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GenericArgument

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for GenericArgument

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for GenericArgument

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for GenericArgument

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for GenericArgument

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for GenericArgument

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.GenericParam.html b/syn/enum.GenericParam.html index a6d459f..fb9439d 100644 --- a/syn/enum.GenericParam.html +++ b/syn/enum.GenericParam.html @@ -1,4 +1,4 @@ -GenericParam in syn - Rust
    syn

    Enum GenericParam

    source
    pub enum GenericParam {
    +GenericParam in syn - Rust
    syn

    Enum GenericParam

    Source
    pub enum GenericParam {
         Lifetime(LifetimeParam),
         Type(TypeParam),
         Const(ConstParam),
    @@ -9,23 +9,23 @@
     

    Variants§

    §

    Lifetime(LifetimeParam)

    A lifetime parameter: 'a: 'b + 'c + 'd.

    §

    Type(TypeParam)

    A generic type parameter: T: Into<String>.

    §

    Const(ConstParam)

    A const generic parameter: const LENGTH: usize.

    -

    Trait Implementations§

    source§

    impl Clone for GenericParam

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GenericParam

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ConstParam> for GenericParam

    source§

    fn from(e: ConstParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl From<LifetimeParam> for GenericParam

    source§

    fn from(e: LifetimeParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl From<TypeParam> for GenericParam

    source§

    fn from(e: TypeParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl Hash for GenericParam

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for GenericParam

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for GenericParam

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for GenericParam

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for GenericParam

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for GenericParam

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GenericParam

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ConstParam> for GenericParam

    Source§

    fn from(e: ConstParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl From<LifetimeParam> for GenericParam

    Source§

    fn from(e: LifetimeParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl From<TypeParam> for GenericParam

    Source§

    fn from(e: TypeParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl Hash for GenericParam

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for GenericParam

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for GenericParam

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for GenericParam

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for GenericParam

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Lit.html b/syn/enum.Lit.html index 9187db4..4258c80 100644 --- a/syn/enum.Lit.html +++ b/syn/enum.Lit.html @@ -1,4 +1,4 @@ -Lit in syn - Rust
    syn

    Enum Lit

    source
    #[non_exhaustive]
    pub enum Lit { +Lit in syn - Rust
    syn

    Enum Lit

    Source
    #[non_exhaustive]
    pub enum Lit { Str(LitStr), ByteStr(LitByteStr), CStr(LitCStr), @@ -21,24 +21,24 @@

    Must be finite. May not be infinite or NaN.

    §

    Bool(LitBool)

    A boolean literal: true or false.

    §

    Verbatim(Literal)

    A raw token literal not interpreted by Syn.

    -

    Implementations§

    source§

    impl Lit

    source

    pub fn new(token: Literal) -> Self

    Interpret a Syn literal from a proc-macro2 literal.

    -
    source

    pub fn suffix(&self) -> &str

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    Trait Implementations§

    source§

    impl Clone for Lit

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Lit

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitBool> for Lit

    source§

    fn from(e: LitBool) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitByte> for Lit

    source§

    fn from(e: LitByte) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitByteStr> for Lit

    source§

    fn from(e: LitByteStr) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitCStr> for Lit

    source§

    fn from(e: LitCStr) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitChar> for Lit

    source§

    fn from(e: LitChar) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitFloat> for Lit

    source§

    fn from(e: LitFloat) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitInt> for Lit

    source§

    fn from(e: LitInt) -> Lit

    Converts to this type from the input type.
    source§

    impl From<LitStr> for Lit

    source§

    fn from(e: LitStr) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for Lit

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Lit

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Lit

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Lit

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Lit

    source§

    impl Token for Lit

    Auto Trait Implementations§

    §

    impl Freeze for Lit

    §

    impl RefUnwindSafe for Lit

    §

    impl !Send for Lit

    §

    impl !Sync for Lit

    §

    impl Unpin for Lit

    §

    impl UnwindSafe for Lit

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl Lit

    Source

    pub fn new(token: Literal) -> Self

    Interpret a Syn literal from a proc-macro2 literal.

    +
    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Trait Implementations§

    Source§

    impl Clone for Lit

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Lit

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitBool> for Lit

    Source§

    fn from(e: LitBool) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitByte> for Lit

    Source§

    fn from(e: LitByte) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitByteStr> for Lit

    Source§

    fn from(e: LitByteStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitCStr> for Lit

    Source§

    fn from(e: LitCStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitChar> for Lit

    Source§

    fn from(e: LitChar) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitFloat> for Lit

    Source§

    fn from(e: LitFloat) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitInt> for Lit

    Source§

    fn from(e: LitInt) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<LitStr> for Lit

    Source§

    fn from(e: LitStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for Lit

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Lit

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Lit

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Lit

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Lit

    Source§

    impl Token for Lit

    Auto Trait Implementations§

    §

    impl Freeze for Lit

    §

    impl RefUnwindSafe for Lit

    §

    impl !Send for Lit

    §

    impl !Sync for Lit

    §

    impl Unpin for Lit

    §

    impl UnwindSafe for Lit

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.MacroDelimiter.html b/syn/enum.MacroDelimiter.html index 67b3976..10ec9a1 100644 --- a/syn/enum.MacroDelimiter.html +++ b/syn/enum.MacroDelimiter.html @@ -1,22 +1,22 @@ -MacroDelimiter in syn - Rust
    syn

    Enum MacroDelimiter

    source
    pub enum MacroDelimiter {
    +MacroDelimiter in syn - Rust
    syn

    Enum MacroDelimiter

    Source
    pub enum MacroDelimiter {
         Paren(Paren),
         Brace(Brace),
         Bracket(Bracket),
     }
    Expand description

    A grouping token that surrounds a macro body: m!(...) or m!{...} or m![...].

    -

    Variants§

    §

    Paren(Paren)

    §

    Brace(Brace)

    §

    Bracket(Bracket)

    Implementations§

    Trait Implementations§

    source§

    impl Clone for MacroDelimiter

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MacroDelimiter

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for MacroDelimiter

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for MacroDelimiter

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for MacroDelimiter

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants§

    §

    Paren(Paren)

    §

    Brace(Brace)

    §

    Bracket(Bracket)

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for MacroDelimiter

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MacroDelimiter

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for MacroDelimiter

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for MacroDelimiter

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for MacroDelimiter

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Member.html b/syn/enum.Member.html index f6485c7..a0da664 100644 --- a/syn/enum.Member.html +++ b/syn/enum.Member.html @@ -1,26 +1,26 @@ -Member in syn - Rust
    syn

    Enum Member

    source
    pub enum Member {
    +Member in syn - Rust
    syn

    Enum Member

    Source
    pub enum Member {
         Named(Ident),
         Unnamed(Index),
     }
    Expand description

    A struct or tuple struct field accessed in a struct literal or field expression.

    Variants§

    §

    Named(Ident)

    A named field like self.x.

    §

    Unnamed(Index)

    An unnamed field like self.0.

    -

    Trait Implementations§

    source§

    impl Clone for Member

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Member

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Ident> for Member

    source§

    fn from(ident: Ident) -> Member

    Converts to this type from the input type.
    source§

    impl From<Index> for Member

    source§

    fn from(index: Index) -> Member

    Converts to this type from the input type.
    source§

    impl From<usize> for Member

    source§

    fn from(index: usize) -> Member

    Converts to this type from the input type.
    source§

    impl Hash for Member

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IdentFragment for Member

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.
    source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    source§

    impl Parse for Member

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Member

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Member

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Member

    Auto Trait Implementations§

    §

    impl Freeze for Member

    §

    impl RefUnwindSafe for Member

    §

    impl !Send for Member

    §

    impl !Sync for Member

    §

    impl Unpin for Member

    §

    impl UnwindSafe for Member

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Member

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Member

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Ident> for Member

    Source§

    fn from(ident: Ident) -> Member

    Converts to this type from the input type.
    Source§

    impl From<Index> for Member

    Source§

    fn from(index: Index) -> Member

    Converts to this type from the input type.
    Source§

    impl From<usize> for Member

    Source§

    fn from(index: usize) -> Member

    Converts to this type from the input type.
    Source§

    impl Hash for Member

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl IdentFragment for Member

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.
    Source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    Source§

    impl Parse for Member

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Member

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Member

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Member

    Auto Trait Implementations§

    §

    impl Freeze for Member

    §

    impl RefUnwindSafe for Member

    §

    impl !Send for Member

    §

    impl !Sync for Member

    §

    impl Unpin for Member

    §

    impl UnwindSafe for Member

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Meta.html b/syn/enum.Meta.html index c882548..6a29410 100644 --- a/syn/enum.Meta.html +++ b/syn/enum.Meta.html @@ -1,4 +1,4 @@ -Meta in syn - Rust
    syn

    Enum Meta

    source
    pub enum Meta {
    +Meta in syn - Rust
    syn

    Enum Meta

    Source
    pub enum Meta {
         Path(Path),
         List(MetaList),
         NameValue(MetaNameValue),
    @@ -13,29 +13,29 @@
     

    This type is a syntax tree enum.

    Variants§

    §

    Path(Path)

    §

    List(MetaList)

    A structured list within an attribute, like derive(Copy, Clone).

    §

    NameValue(MetaNameValue)

    A name-value pair within an attribute, like feature = "nightly".

    -

    Implementations§

    source§

    impl Meta

    source

    pub fn path(&self) -> &Path

    Returns the path that begins this structured meta item.

    +

    Implementations§

    Source§

    impl Meta

    Source

    pub fn path(&self) -> &Path

    Returns the path that begins this structured meta item.

    For example this would return the test in #[test], the derive in #[derive(Copy)], and the path in #[path = "sys/windows.rs"].

    -
    source

    pub fn require_path_only(&self) -> Result<&Path>

    Error if this is a Meta::List or Meta::NameValue.

    -
    source

    pub fn require_list(&self) -> Result<&MetaList>

    Error if this is a Meta::Path or Meta::NameValue.

    -
    source

    pub fn require_name_value(&self) -> Result<&MetaNameValue>

    Error if this is a Meta::Path or Meta::List.

    -

    Trait Implementations§

    source§

    impl Clone for Meta

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Meta

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MetaList> for Meta

    source§

    fn from(meta: MetaList) -> Meta

    Converts to this type from the input type.
    source§

    impl From<MetaNameValue> for Meta

    source§

    fn from(meta: MetaNameValue) -> Meta

    Converts to this type from the input type.
    source§

    impl From<Path> for Meta

    source§

    fn from(meta: Path) -> Meta

    Converts to this type from the input type.
    source§

    impl Hash for Meta

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Meta

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Meta

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Meta

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Meta

    Auto Trait Implementations§

    §

    impl Freeze for Meta

    §

    impl RefUnwindSafe for Meta

    §

    impl !Send for Meta

    §

    impl !Sync for Meta

    §

    impl Unpin for Meta

    §

    impl UnwindSafe for Meta

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn require_path_only(&self) -> Result<&Path>

    Error if this is a Meta::List or Meta::NameValue.

    +
    Source

    pub fn require_list(&self) -> Result<&MetaList>

    Error if this is a Meta::Path or Meta::NameValue.

    +
    Source

    pub fn require_name_value(&self) -> Result<&MetaNameValue>

    Error if this is a Meta::Path or Meta::List.

    +

    Trait Implementations§

    Source§

    impl Clone for Meta

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Meta

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<MetaList> for Meta

    Source§

    fn from(meta: MetaList) -> Meta

    Converts to this type from the input type.
    Source§

    impl From<MetaNameValue> for Meta

    Source§

    fn from(meta: MetaNameValue) -> Meta

    Converts to this type from the input type.
    Source§

    impl From<Path> for Meta

    Source§

    fn from(meta: Path) -> Meta

    Converts to this type from the input type.
    Source§

    impl Hash for Meta

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Meta

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Meta

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Meta

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Meta

    Auto Trait Implementations§

    §

    impl Freeze for Meta

    §

    impl RefUnwindSafe for Meta

    §

    impl !Send for Meta

    §

    impl !Sync for Meta

    §

    impl Unpin for Meta

    §

    impl UnwindSafe for Meta

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.PathArguments.html b/syn/enum.PathArguments.html index 1ae1ce2..5511fb6 100644 --- a/syn/enum.PathArguments.html +++ b/syn/enum.PathArguments.html @@ -1,4 +1,4 @@ -PathArguments in syn - Rust
    syn

    Enum PathArguments

    source
    pub enum PathArguments {
    +PathArguments in syn - Rust
    syn

    Enum PathArguments

    Source
    pub enum PathArguments {
         None,
         AngleBracketed(AngleBracketedGenericArguments),
         Parenthesized(ParenthesizedGenericArguments),
    @@ -9,23 +9,23 @@
     

    The (A, B) -> C in Fn(A, B) -> C.

    Variants§

    §

    None

    §

    AngleBracketed(AngleBracketedGenericArguments)

    The <'a, T> in std::slice::iter<'a, T>.

    §

    Parenthesized(ParenthesizedGenericArguments)

    The (A, B) -> C in Fn(A, B) -> C.

    -

    Implementations§

    source§

    impl PathArguments

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn is_none(&self) -> bool

    Trait Implementations§

    source§

    impl Clone for PathArguments

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PathArguments

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PathArguments

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for PathArguments

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for PathArguments

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PathArguments

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for PathArguments

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl PathArguments

    Source

    pub fn is_empty(&self) -> bool

    Source

    pub fn is_none(&self) -> bool

    Trait Implementations§

    Source§

    impl Clone for PathArguments

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PathArguments

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for PathArguments

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for PathArguments

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for PathArguments

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PathArguments

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for PathArguments

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.ReturnType.html b/syn/enum.ReturnType.html index 71255d0..24dd872 100644 --- a/syn/enum.ReturnType.html +++ b/syn/enum.ReturnType.html @@ -1,27 +1,27 @@ -ReturnType in syn - Rust
    syn

    Enum ReturnType

    source
    pub enum ReturnType {
    +ReturnType in syn - Rust
    syn

    Enum ReturnType

    Source
    pub enum ReturnType {
         Default,
    -    Type(RArrow, Box<Type>),
    +    Type(RArrow, Box<Type>),
     }
    Expand description

    Return type of a function signature.

    Variants§

    §

    Default

    Return type is not specified.

    Functions default to () and closures default to type inference.

    -
    §

    Type(RArrow, Box<Type>)

    A particular type is returned.

    -

    Implementations§

    Trait Implementations§

    source§

    impl Clone for ReturnType

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ReturnType

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ReturnType

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ReturnType

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ReturnType

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ReturnType

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ReturnType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    §

    Type(RArrow, Box<Type>)

    A particular type is returned.

    +

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for ReturnType

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ReturnType

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for ReturnType

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ReturnType

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ReturnType

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ReturnType

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ReturnType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.TraitBoundModifier.html b/syn/enum.TraitBoundModifier.html index d637372..33ad96e 100644 --- a/syn/enum.TraitBoundModifier.html +++ b/syn/enum.TraitBoundModifier.html @@ -1,25 +1,25 @@ -TraitBoundModifier in syn - Rust
    syn

    Enum TraitBoundModifier

    source
    pub enum TraitBoundModifier {
    +TraitBoundModifier in syn - Rust
    syn

    Enum TraitBoundModifier

    Source
    pub enum TraitBoundModifier {
         None,
         Maybe(Question),
     }
    Expand description

    A modifier on a trait bound, currently only used for the ? in ?Sized.

    -

    Variants§

    §

    None

    §

    Maybe(Question)

    Trait Implementations§

    source§

    impl Clone for TraitBoundModifier

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraitBoundModifier

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for TraitBoundModifier

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TraitBoundModifier

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TraitBoundModifier

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TraitBoundModifier

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for TraitBoundModifier

    source§

    impl Eq for TraitBoundModifier

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants§

    §

    None

    §

    Maybe(Question)

    Trait Implementations§

    Source§

    impl Clone for TraitBoundModifier

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TraitBoundModifier

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for TraitBoundModifier

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TraitBoundModifier

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TraitBoundModifier

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TraitBoundModifier

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for TraitBoundModifier

    Source§

    impl Eq for TraitBoundModifier

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Type.html b/syn/enum.Type.html index 201067e..a008acc 100644 --- a/syn/enum.Type.html +++ b/syn/enum.Type.html @@ -1,4 +1,4 @@ -Type in syn - Rust
    syn

    Enum Type

    source
    #[non_exhaustive]
    pub enum Type { +Type in syn - Rust
    syn

    Enum Type

    Source
    #[non_exhaustive]
    pub enum Type {
    Show 15 variants Array(TypeArray), BareFn(TypeBareFn), Group(TypeGroup), @@ -35,27 +35,27 @@ self-type as in <Vec<T> as SomeTrait>::Associated.

    trait or a lifetime.

    §

    Tuple(TypeTuple)

    A tuple type: (A, B, C, String).

    §

    Verbatim(TokenStream)

    Tokens in type position not interpreted by Syn.

    -

    Implementations§

    source§

    impl Type

    source

    pub fn without_plus(input: ParseStream<'_>) -> Result<Self>

    In some positions, types may not contain the + character, to +

    Implementations§

    Source§

    impl Type

    Source

    pub fn without_plus(input: ParseStream<'_>) -> Result<Self>

    In some positions, types may not contain the + character, to disambiguate them. For example in the expression 1 as T, T may not contain a + character.

    This parser does not allow a +, while the default parser does.

    -

    Trait Implementations§

    source§

    impl Clone for Type

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Type

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeArray> for Type

    source§

    fn from(e: TypeArray) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeBareFn> for Type

    source§

    fn from(e: TypeBareFn) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeGroup> for Type

    source§

    fn from(e: TypeGroup) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeImplTrait> for Type

    source§

    fn from(e: TypeImplTrait) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeInfer> for Type

    source§

    fn from(e: TypeInfer) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeMacro> for Type

    source§

    fn from(e: TypeMacro) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeNever> for Type

    source§

    fn from(e: TypeNever) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeParen> for Type

    source§

    fn from(e: TypeParen) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypePath> for Type

    source§

    fn from(e: TypePath) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypePtr> for Type

    source§

    fn from(e: TypePtr) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeReference> for Type

    source§

    fn from(e: TypeReference) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeSlice> for Type

    source§

    fn from(e: TypeSlice) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeTraitObject> for Type

    source§

    fn from(e: TypeTraitObject) -> Type

    Converts to this type from the input type.
    source§

    impl From<TypeTuple> for Type

    source§

    fn from(e: TypeTuple) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for Type

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Type

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Type

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Type

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Type

    Auto Trait Implementations§

    §

    impl Freeze for Type

    §

    impl RefUnwindSafe for Type

    §

    impl !Send for Type

    §

    impl !Sync for Type

    §

    impl Unpin for Type

    §

    impl UnwindSafe for Type

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Type

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Type

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeArray> for Type

    Source§

    fn from(e: TypeArray) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeBareFn> for Type

    Source§

    fn from(e: TypeBareFn) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeGroup> for Type

    Source§

    fn from(e: TypeGroup) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeImplTrait> for Type

    Source§

    fn from(e: TypeImplTrait) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeInfer> for Type

    Source§

    fn from(e: TypeInfer) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeMacro> for Type

    Source§

    fn from(e: TypeMacro) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeNever> for Type

    Source§

    fn from(e: TypeNever) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeParen> for Type

    Source§

    fn from(e: TypeParen) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypePath> for Type

    Source§

    fn from(e: TypePath) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypePtr> for Type

    Source§

    fn from(e: TypePtr) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeReference> for Type

    Source§

    fn from(e: TypeReference) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeSlice> for Type

    Source§

    fn from(e: TypeSlice) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeTraitObject> for Type

    Source§

    fn from(e: TypeTraitObject) -> Type

    Converts to this type from the input type.
    Source§

    impl From<TypeTuple> for Type

    Source§

    fn from(e: TypeTuple) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for Type

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Type

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Type

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Type

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Type

    Auto Trait Implementations§

    §

    impl Freeze for Type

    §

    impl RefUnwindSafe for Type

    §

    impl !Send for Type

    §

    impl !Sync for Type

    §

    impl Unpin for Type

    §

    impl UnwindSafe for Type

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.TypeParamBound.html b/syn/enum.TypeParamBound.html index 3952b68..d3ae80f 100644 --- a/syn/enum.TypeParamBound.html +++ b/syn/enum.TypeParamBound.html @@ -1,26 +1,26 @@ -TypeParamBound in syn - Rust
    syn

    Enum TypeParamBound

    source
    #[non_exhaustive]
    pub enum TypeParamBound { +TypeParamBound in syn - Rust
    syn

    Enum TypeParamBound

    Source
    #[non_exhaustive]
    pub enum TypeParamBound { Trait(TraitBound), Lifetime(Lifetime), PreciseCapture(PreciseCapture), Verbatim(TokenStream), }
    Expand description

    A trait or lifetime used as a bound on a type parameter.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Trait(TraitBound)

    §

    Lifetime(Lifetime)

    §

    PreciseCapture(PreciseCapture)

    §

    Verbatim(TokenStream)

    Trait Implementations§

    source§

    impl Clone for TypeParamBound

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeParamBound

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Lifetime> for TypeParamBound

    source§

    fn from(e: Lifetime) -> TypeParamBound

    Converts to this type from the input type.
    source§

    impl From<TraitBound> for TypeParamBound

    source§

    fn from(e: TraitBound) -> TypeParamBound

    Converts to this type from the input type.
    source§

    impl Hash for TypeParamBound

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeParamBound

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeParamBound

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeParamBound

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeParamBound

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Trait(TraitBound)

    §

    Lifetime(Lifetime)

    §

    PreciseCapture(PreciseCapture)

    §

    Verbatim(TokenStream)

    Trait Implementations§

    Source§

    impl Clone for TypeParamBound

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeParamBound

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Lifetime> for TypeParamBound

    Source§

    fn from(e: Lifetime) -> TypeParamBound

    Converts to this type from the input type.
    Source§

    impl From<TraitBound> for TypeParamBound

    Source§

    fn from(e: TraitBound) -> TypeParamBound

    Converts to this type from the input type.
    Source§

    impl Hash for TypeParamBound

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeParamBound

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeParamBound

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeParamBound

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeParamBound

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.UnOp.html b/syn/enum.UnOp.html index fcc2b43..332f8df 100644 --- a/syn/enum.UnOp.html +++ b/syn/enum.UnOp.html @@ -1,4 +1,4 @@ -UnOp in syn - Rust
    syn

    Enum UnOp

    source
    #[non_exhaustive]
    pub enum UnOp { +UnOp in syn - Rust
    syn

    Enum UnOp

    Source
    #[non_exhaustive]
    pub enum UnOp { Deref(Star), Not(Not), Neg(Minus), @@ -6,23 +6,23 @@

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Deref(Star)

    The * operator for dereferencing

    §

    Not(Not)

    The ! operator for logical inversion

    §

    Neg(Minus)

    The - operator for negation

    -

    Trait Implementations§

    source§

    impl Clone for UnOp

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UnOp

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for UnOp

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for UnOp

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for UnOp

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for UnOp

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for UnOp

    source§

    impl Eq for UnOp

    Auto Trait Implementations§

    §

    impl Freeze for UnOp

    §

    impl RefUnwindSafe for UnOp

    §

    impl !Send for UnOp

    §

    impl !Sync for UnOp

    §

    impl Unpin for UnOp

    §

    impl UnwindSafe for UnOp

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for UnOp

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for UnOp

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for UnOp

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for UnOp

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for UnOp

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for UnOp

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for UnOp

    Source§

    impl Eq for UnOp

    Auto Trait Implementations§

    §

    impl Freeze for UnOp

    §

    impl RefUnwindSafe for UnOp

    §

    impl !Send for UnOp

    §

    impl !Sync for UnOp

    §

    impl Unpin for UnOp

    §

    impl UnwindSafe for UnOp

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.Visibility.html b/syn/enum.Visibility.html index cc5b51c..256ffd3 100644 --- a/syn/enum.Visibility.html +++ b/syn/enum.Visibility.html @@ -1,4 +1,4 @@ -Visibility in syn - Rust
    syn

    Enum Visibility

    source
    pub enum Visibility {
    +Visibility in syn - Rust
    syn

    Enum Visibility

    Source
    pub enum Visibility {
         Public(Pub),
         Restricted(VisRestricted),
         Inherited,
    @@ -10,23 +10,23 @@
     
    §

    Restricted(VisRestricted)

    A visibility level restricted to some path: pub(self) or pub(super) or pub(crate) or pub(in some::module).

    §

    Inherited

    An inherited visibility, which usually means private.

    -

    Trait Implementations§

    source§

    impl Clone for Visibility

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Visibility

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Visibility

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Visibility

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Visibility

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Visibility

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Visibility

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Visibility

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Visibility

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Visibility

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Visibility

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Visibility

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Visibility

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Visibility

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/enum.WherePredicate.html b/syn/enum.WherePredicate.html index 1a47240..28e515a 100644 --- a/syn/enum.WherePredicate.html +++ b/syn/enum.WherePredicate.html @@ -1,4 +1,4 @@ -WherePredicate in syn - Rust
    syn

    Enum WherePredicate

    source
    #[non_exhaustive]
    pub enum WherePredicate { +WherePredicate in syn - Rust
    syn

    Enum WherePredicate

    Source
    #[non_exhaustive]
    pub enum WherePredicate { Lifetime(PredicateLifetime), Type(PredicateType), }
    Expand description

    A single predicate in a where clause: T: Deserialize<'de>.

    @@ -6,23 +6,23 @@

    This type is a syntax tree enum.

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Lifetime(PredicateLifetime)

    A lifetime predicate in a where clause: 'a: 'b + 'c.

    §

    Type(PredicateType)

    A type predicate in a where clause: for<'c> Foo<'c>: Trait<'c>.

    -

    Trait Implementations§

    source§

    impl Clone for WherePredicate

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WherePredicate

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<PredicateLifetime> for WherePredicate

    source§

    fn from(e: PredicateLifetime) -> WherePredicate

    Converts to this type from the input type.
    source§

    impl From<PredicateType> for WherePredicate

    source§

    fn from(e: PredicateType) -> WherePredicate

    Converts to this type from the input type.
    source§

    impl Hash for WherePredicate

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for WherePredicate

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for WherePredicate

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for WherePredicate

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for WherePredicate

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for WherePredicate

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for WherePredicate

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<PredicateLifetime> for WherePredicate

    Source§

    fn from(e: PredicateLifetime) -> WherePredicate

    Converts to this type from the input type.
    Source§

    impl From<PredicateType> for WherePredicate

    Source§

    fn from(e: PredicateType) -> WherePredicate

    Converts to this type from the input type.
    Source§

    impl Hash for WherePredicate

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for WherePredicate

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for WherePredicate

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for WherePredicate

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for WherePredicate

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/ext/index.html b/syn/ext/index.html index 75d16d8..0106c11 100644 --- a/syn/ext/index.html +++ b/syn/ext/index.html @@ -1,2 +1,2 @@ -syn::ext - Rust
    syn

    Module ext

    source
    Expand description

    Extension traits to provide parsing methods on foreign types.

    +syn::ext - Rust
    syn

    Module ext

    Source
    Expand description

    Extension traits to provide parsing methods on foreign types.

    Traits§

    • Additional methods for Ident not provided by proc-macro2 or libproc_macro.
    \ No newline at end of file diff --git a/syn/ext/trait.IdentExt.html b/syn/ext/trait.IdentExt.html index d8f586e..2340506 100644 --- a/syn/ext/trait.IdentExt.html +++ b/syn/ext/trait.IdentExt.html @@ -1,4 +1,4 @@ -IdentExt in syn::ext - Rust
    syn::ext

    Trait IdentExt

    source
    pub trait IdentExt: Sized + Sealed {
    +IdentExt in syn::ext - Rust
    syn::ext

    Trait IdentExt

    Source
    pub trait IdentExt: Sized + Sealed {
         const peek_any: PeekFn = private::PeekFn;
     
         // Required methods
    @@ -7,11 +7,11 @@
     }
    Expand description

    Additional methods for Ident not provided by proc-macro2 or libproc_macro.

    This trait is sealed and cannot be implemented for types outside of Syn. It is implemented only for proc_macro2::Ident.

    -

    Provided Associated Constants§

    source

    const peek_any: PeekFn = private::PeekFn

    Peeks any identifier including keywords. Usage: +

    Provided Associated Constants§

    Source

    const peek_any: PeekFn = private::PeekFn

    Peeks any identifier including keywords. Usage: input.peek(Ident::peek_any)

    This is different from input.peek(Ident) which only returns true in the case of an ident which is not a Rust keyword.

    -

    Required Methods§

    source

    fn parse_any(input: ParseStream<'_>) -> Result<Self>

    Parses any identifier including keywords.

    +

    Required Methods§

    Source

    fn parse_any(input: ParseStream<'_>) -> Result<Self>

    Parses any identifier including keywords.

    This is useful when parsing macro input which allows Rust keywords as identifiers.

    §Example
    @@ -36,7 +36,7 @@ identifiers.

    let name = input.call(Ident::parse_any)?; Ok(name) }
    -
    source

    fn unraw(&self) -> Ident

    Strips the raw marker r#, if any, from the beginning of an ident.

    +
    Source

    fn unraw(&self) -> Ident

    Strips the raw marker r#, if any, from the beginning of an ident.

    • unraw(x) = x
    • unraw(move) = move
    • @@ -59,4 +59,4 @@ invalid identifiers like __pyo3_get_r#move.

      let getter = format!("__pyo3_get_{}", variable.unraw()); Ident::new(&getter, Span::call_site()) }
    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/syn/fn.parse.html b/syn/fn.parse.html index ef1806b..a23c086 100644 --- a/syn/fn.parse.html +++ b/syn/fn.parse.html @@ -1,4 +1,4 @@ -parse in syn - Rust
    syn

    Function parse

    source
    pub fn parse<T: Parse>(tokens: TokenStream) -> Result<T>
    Expand description

    Parse tokens of source code into the chosen syntax tree node.

    +parse in syn - Rust
    syn

    Function parse

    Source
    pub fn parse<T: Parse>(tokens: TokenStream) -> Result<T>
    Expand description

    Parse tokens of source code into the chosen syntax tree node.

    This is preferred over parsing a string because tokens are able to preserve information about where in the user’s code they were originally written (the “span” of the token), possibly allowing the compiler to produce better error diff --git a/syn/fn.parse2.html b/syn/fn.parse2.html index 1769014..7647e10 100644 --- a/syn/fn.parse2.html +++ b/syn/fn.parse2.html @@ -1,4 +1,4 @@ -parse2 in syn - Rust

    syn

    Function parse2

    source
    pub fn parse2<T: Parse>(tokens: TokenStream) -> Result<T>
    Expand description

    Parse a proc-macro2 token stream into the chosen syntax tree node.

    +parse2 in syn - Rust
    syn

    Function parse2

    Source
    pub fn parse2<T: Parse>(tokens: TokenStream) -> Result<T>
    Expand description

    Parse a proc-macro2 token stream into the chosen syntax tree node.

    This function parses a proc_macro2::TokenStream which is commonly useful when the input comes from a node of the Syn syntax tree, for example the body tokens of a Macro node. When in a procedural macro parsing the diff --git a/syn/fn.parse_str.html b/syn/fn.parse_str.html index 4c09f2c..7171963 100644 --- a/syn/fn.parse_str.html +++ b/syn/fn.parse_str.html @@ -1,4 +1,4 @@ -parse_str in syn - Rust

    syn

    Function parse_str

    source
    pub fn parse_str<T: Parse>(s: &str) -> Result<T>
    Expand description

    Parse a string of Rust code into the chosen syntax tree node.

    +parse_str in syn - Rust
    syn

    Function parse_str

    Source
    pub fn parse_str<T: Parse>(s: &str) -> Result<T>
    Expand description

    Parse a string of Rust code into the chosen syntax tree node.

    This function enforces that the input is fully parsed. If there are any unparsed tokens at the end of the stream, an error is returned.

    §Hygiene

    diff --git a/syn/index.html b/syn/index.html index 65c9a83..002c268 100644 --- a/syn/index.html +++ b/syn/index.html @@ -1,4 +1,4 @@ -syn - Rust

    Crate syn

    source
    Expand description

    githubcrates-iodocs-rs

    +syn - Rust

    Crate syn

    Source
    Expand description

    githubcrates-iodocs-rs


    Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree of Rust source code.

    diff --git a/syn/macro.Token.html b/syn/macro.Token.html index 5031897..30b853e 100644 --- a/syn/macro.Token.html +++ b/syn/macro.Token.html @@ -1,58 +1,58 @@ -Token in syn - Rust
    syn

    Macro Token

    source
    macro_rules! Token {
    -    [abstract] => { ... };
    -    [as] => { ... };
    -    [async] => { ... };
    +Token in syn - Rust
    syn

    Macro Token

    Source
    macro_rules! Token {
    +    [abstract] => { ... };
    +    [as] => { ... };
    +    [async] => { ... };
         [auto] => { ... };
    -    [await] => { ... };
    -    [become] => { ... };
    -    [box] => { ... };
    -    [break] => { ... };
    -    [const] => { ... };
    -    [continue] => { ... };
    -    [crate] => { ... };
    +    [await] => { ... };
    +    [become] => { ... };
    +    [box] => { ... };
    +    [break] => { ... };
    +    [const] => { ... };
    +    [continue] => { ... };
    +    [crate] => { ... };
         [default] => { ... };
    -    [do] => { ... };
    -    [dyn] => { ... };
    -    [else] => { ... };
    -    [enum] => { ... };
    -    [extern] => { ... };
    -    [final] => { ... };
    -    [fn] => { ... };
    -    [for] => { ... };
    -    [if] => { ... };
    -    [impl] => { ... };
    -    [in] => { ... };
    -    [let] => { ... };
    -    [loop] => { ... };
    -    [macro] => { ... };
    -    [match] => { ... };
    -    [mod] => { ... };
    -    [move] => { ... };
    -    [mut] => { ... };
    -    [override] => { ... };
    -    [priv] => { ... };
    -    [pub] => { ... };
    +    [do] => { ... };
    +    [dyn] => { ... };
    +    [else] => { ... };
    +    [enum] => { ... };
    +    [extern] => { ... };
    +    [final] => { ... };
    +    [fn] => { ... };
    +    [for] => { ... };
    +    [if] => { ... };
    +    [impl] => { ... };
    +    [in] => { ... };
    +    [let] => { ... };
    +    [loop] => { ... };
    +    [macro] => { ... };
    +    [match] => { ... };
    +    [mod] => { ... };
    +    [move] => { ... };
    +    [mut] => { ... };
    +    [override] => { ... };
    +    [priv] => { ... };
    +    [pub] => { ... };
         [raw] => { ... };
    -    [ref] => { ... };
    -    [return] => { ... };
    -    [Self] => { ... };
    -    [self] => { ... };
    -    [static] => { ... };
    -    [struct] => { ... };
    -    [super] => { ... };
    -    [trait] => { ... };
    -    [try] => { ... };
    -    [type] => { ... };
    -    [typeof] => { ... };
    +    [ref] => { ... };
    +    [return] => { ... };
    +    [Self] => { ... };
    +    [self] => { ... };
    +    [static] => { ... };
    +    [struct] => { ... };
    +    [super] => { ... };
    +    [trait] => { ... };
    +    [try] => { ... };
    +    [type] => { ... };
    +    [typeof] => { ... };
         [union] => { ... };
    -    [unsafe] => { ... };
    -    [unsized] => { ... };
    -    [use] => { ... };
    -    [virtual] => { ... };
    -    [where] => { ... };
    -    [while] => { ... };
    -    [yield] => { ... };
    -    [&] => { ... };
    +    [unsafe] => { ... };
    +    [unsized] => { ... };
    +    [use] => { ... };
    +    [virtual] => { ... };
    +    [where] => { ... };
    +    [while] => { ... };
    +    [yield] => { ... };
    +    [&] => { ... };
         [&&] => { ... };
         [&=] => { ... };
         [@] => { ... };
    @@ -86,7 +86,7 @@
         [+] => { ... };
         [+=] => { ... };
         [#] => { ... };
    -    [?] => { ... };
    +    [?] => { ... };
         [->] => { ... };
         [;] => { ... };
         [<<] => { ... };
    @@ -95,11 +95,11 @@
         [>>=] => { ... };
         [/] => { ... };
         [/=] => { ... };
    -    [*] => { ... };
    -    [*=] => { ... };
    +    [*] => { ... };
    +    [*=] => { ... };
         [~] => { ... };
    -    [_] => { ... };
    -}
    Expand description

    A type-macro that expands to the name of the Rust type representation of a + [_] => { ... }; +}

    Expand description

    A type-macro that expands to the name of the Rust type representation of a given token.

    As a type, Token! is commonly used in the type of struct fields, the type of a let statement, or in turbofish for a parse function.

    diff --git a/syn/macro.braced.html b/syn/macro.braced.html index 623132f..022ab68 100644 --- a/syn/macro.braced.html +++ b/syn/macro.braced.html @@ -1,6 +1,6 @@ -braced in syn - Rust
    syn

    Macro braced

    source
    macro_rules! braced {
    -    ($content:ident in $cursor:expr) => { ... };
    -}
    Expand description

    Parse a set of curly braces and expose their content to subsequent parsers.

    +braced in syn - Rust
    syn

    Macro braced

    Source
    macro_rules! braced {
    +    ($content:ident in $cursor:expr) => { ... };
    +}
    Expand description

    Parse a set of curly braces and expose their content to subsequent parsers.

    §Example

    use syn::{braced, token, Ident, Result, Token, Type};
     use syn::parse::{Parse, ParseStream};
    diff --git a/syn/macro.bracketed.html b/syn/macro.bracketed.html
    index 219bb0c..7f16098 100644
    --- a/syn/macro.bracketed.html
    +++ b/syn/macro.bracketed.html
    @@ -1,6 +1,6 @@
    -bracketed in syn - Rust
    syn

    Macro bracketed

    source
    macro_rules! bracketed {
    -    ($content:ident in $cursor:expr) => { ... };
    -}
    Expand description

    Parse a set of square brackets and expose their content to subsequent +bracketed in syn - Rust

    syn

    Macro bracketed

    Source
    macro_rules! bracketed {
    +    ($content:ident in $cursor:expr) => { ... };
    +}
    Expand description

    Parse a set of square brackets and expose their content to subsequent parsers.

    §Example

    use proc_macro2::TokenStream;
    diff --git a/syn/macro.custom_keyword.html b/syn/macro.custom_keyword.html
    index ae08db2..c7f0ab3 100644
    --- a/syn/macro.custom_keyword.html
    +++ b/syn/macro.custom_keyword.html
    @@ -1,6 +1,6 @@
    -custom_keyword in syn - Rust
    syn

    Macro custom_keyword

    source
    macro_rules! custom_keyword {
    -    ($ident:ident) => { ... };
    -}
    Expand description

    Define a type that supports parsing and printing a given identifier as if it +custom_keyword in syn - Rust

    syn

    Macro custom_keyword

    Source
    macro_rules! custom_keyword {
    +    ($ident:ident) => { ... };
    +}
    Expand description

    Define a type that supports parsing and printing a given identifier as if it were a keyword.

    §Usage

    As a convention, it is recommended that this macro be invoked within a diff --git a/syn/macro.custom_punctuation.html b/syn/macro.custom_punctuation.html index f46e4fb..106d98e 100644 --- a/syn/macro.custom_punctuation.html +++ b/syn/macro.custom_punctuation.html @@ -1,6 +1,6 @@ -custom_punctuation in syn - Rust

    syn

    Macro custom_punctuation

    source
    macro_rules! custom_punctuation {
    -    ($ident:ident, $($tt:tt)+) => { ... };
    -}
    Expand description

    Define a type that supports parsing and printing a multi-character symbol +custom_punctuation in syn - Rust

    syn

    Macro custom_punctuation

    Source
    macro_rules! custom_punctuation {
    +    ($ident:ident, $($tt:tt)+) => { ... };
    +}
    Expand description

    Define a type that supports parsing and printing a multi-character symbol as if it were a punctuation token.

    §Usage

    syn::custom_punctuation!(LeftRightArrow, <=>);
    diff --git a/syn/macro.parenthesized.html b/syn/macro.parenthesized.html index 454c671..d9340c5 100644 --- a/syn/macro.parenthesized.html +++ b/syn/macro.parenthesized.html @@ -1,6 +1,6 @@ -parenthesized in syn - Rust
    syn

    Macro parenthesized

    source
    macro_rules! parenthesized {
    -    ($content:ident in $cursor:expr) => { ... };
    -}
    Expand description

    Parse a set of parentheses and expose their content to subsequent parsers.

    +parenthesized in syn - Rust
    syn

    Macro parenthesized

    Source
    macro_rules! parenthesized {
    +    ($content:ident in $cursor:expr) => { ... };
    +}
    Expand description

    Parse a set of parentheses and expose their content to subsequent parsers.

    §Example

    use syn::{parenthesized, token, Ident, Result, Token, Type};
     use syn::parse::{Parse, ParseStream};
    diff --git a/syn/macro.parse_macro_input.html b/syn/macro.parse_macro_input.html
    index aba26a0..d713049 100644
    --- a/syn/macro.parse_macro_input.html
    +++ b/syn/macro.parse_macro_input.html
    @@ -1,8 +1,8 @@
    -parse_macro_input in syn - Rust
    syn

    Macro parse_macro_input

    source
    macro_rules! parse_macro_input {
    -    ($tokenstream:ident as $ty:ty) => { ... };
    -    ($tokenstream:ident with $parser:path) => { ... };
    -    ($tokenstream:ident) => { ... };
    -}
    Expand description

    Parse the input TokenStream of a macro, triggering a compile error if the +parse_macro_input in syn - Rust

    syn

    Macro parse_macro_input

    Source
    macro_rules! parse_macro_input {
    +    ($tokenstream:ident as $ty:ty) => { ... };
    +    ($tokenstream:ident with $parser:path) => { ... };
    +    ($tokenstream:ident) => { ... };
    +}
    Expand description

    Parse the input TokenStream of a macro, triggering a compile error if the tokens fail to parse.

    Refer to the parse module documentation for more details about parsing in Syn.

    diff --git a/syn/macro.parse_quote.html b/syn/macro.parse_quote.html index 9ee738a..fb44c24 100644 --- a/syn/macro.parse_quote.html +++ b/syn/macro.parse_quote.html @@ -1,6 +1,6 @@ -parse_quote in syn - Rust
    syn

    Macro parse_quote

    source
    macro_rules! parse_quote {
    -    ($($tt:tt)*) => { ... };
    -}
    Expand description

    Quasi-quotation macro that accepts input like the quote! macro but uses +parse_quote in syn - Rust

    syn

    Macro parse_quote

    Source
    macro_rules! parse_quote {
    +    ($($tt:tt)*) => { ... };
    +}
    Expand description

    Quasi-quotation macro that accepts input like the quote! macro but uses type inference to figure out a return type for those tokens.

    The return type can be any syntax tree node that implements the Parse trait.

    @@ -41,9 +41,16 @@ though they do not implement the Parse trait.

    • Attribute — parses one attribute, allowing either outer like #[...] or inner like #![...]
    • +
    • Vec<Attribute> — parses multiple attributes, including mixed kinds in +any order
    • Punctuated<T, P> — parses zero or more T separated by punctuation P with optional trailing punctuation
    • +
    • Vec<Arm> — parses arms separated by optional commas according to the +same grammar as the inside of a match expression
    • Vec<Stmt> — parses the same as Block::parse_within
    • +
    • Pat, Box<Pat> — parses the same as +Pat::parse_multi_with_leading_vert
    • +
    • Field — parses a named or unnamed struct field

    §Panics

    Panics if the tokens fail to parse as the expected syntax tree type. The diff --git a/syn/macro.parse_quote_spanned.html b/syn/macro.parse_quote_spanned.html index 9d3c2bd..33a4aa4 100644 --- a/syn/macro.parse_quote_spanned.html +++ b/syn/macro.parse_quote_spanned.html @@ -1,6 +1,6 @@ -parse_quote_spanned in syn - Rust

    syn

    Macro parse_quote_spanned

    source
    macro_rules! parse_quote_spanned {
    -    ($span:expr=> $($tt:tt)*) => { ... };
    -}
    Expand description

    This macro is parse_quote! + quote_spanned!.

    +parse_quote_spanned in syn - Rust
    syn

    Macro parse_quote_spanned

    Source
    macro_rules! parse_quote_spanned {
    +    ($span:expr=> $($tt:tt)*) => { ... };
    +}
    Expand description

    This macro is parse_quote! + quote_spanned!.

    Please refer to each of their documentation.

    §Example

    use quote::{quote, quote_spanned};
    diff --git a/syn/meta/fn.parser.html b/syn/meta/fn.parser.html
    index 45d61a9..a061abb 100644
    --- a/syn/meta/fn.parser.html
    +++ b/syn/meta/fn.parser.html
    @@ -1,6 +1,6 @@
    -parser in syn::meta - Rust
    syn::meta

    Function parser

    source
    pub fn parser(
    -    logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>,
    -) -> impl Parser<Output = ()>
    Expand description

    Make a parser that is usable with parse_macro_input! in a +parser in syn::meta - Rust

    syn::meta

    Function parser

    Source
    pub fn parser(
    +    logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>,
    +) -> impl Parser<Output = ()>
    Expand description

    Make a parser that is usable with parse_macro_input! in a #[proc_macro_attribute] macro.

    Warning: When parsing attribute args other than the proc_macro::TokenStream input of a proc_macro_attribute, you do not diff --git a/syn/meta/index.html b/syn/meta/index.html index c14a377..af8ed14 100644 --- a/syn/meta/index.html +++ b/syn/meta/index.html @@ -1,4 +1,4 @@ -syn::meta - Rust

    syn

    Module meta

    source
    Expand description

    Facility for interpreting structured content inside of an Attribute.

    +syn::meta - Rust
    syn

    Module meta

    Source
    Expand description

    Facility for interpreting structured content inside of an Attribute.

    Structs§

    • Context for parsing a single property in the conventional syntax for structured attributes.

    Functions§

    • Make a parser that is usable with parse_macro_input! in a #[proc_macro_attribute] macro.
    \ No newline at end of file diff --git a/syn/meta/struct.ParseNestedMeta.html b/syn/meta/struct.ParseNestedMeta.html index f7e88fb..4432bf1 100644 --- a/syn/meta/struct.ParseNestedMeta.html +++ b/syn/meta/struct.ParseNestedMeta.html @@ -1,4 +1,4 @@ -ParseNestedMeta in syn::meta - Rust
    syn::meta

    Struct ParseNestedMeta

    source
    #[non_exhaustive]
    pub struct ParseNestedMeta<'a> { +ParseNestedMeta in syn::meta - Rust
    syn::meta

    Struct ParseNestedMeta

    Source
    #[non_exhaustive]
    pub struct ParseNestedMeta<'a> { pub path: Path, pub input: ParseStream<'a>, }
    Expand description

    Context for parsing a single property in the conventional syntax for @@ -21,7 +21,7 @@ attribute macro invocation in this situation, so error messages might be less precise.

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §path: Path§input: ParseStream<'a>

    Implementations§

    source§

    impl<'a> ParseNestedMeta<'a>

    source

    pub fn value(&self) -> Result<ParseStream<'a>>

    Used when parsing key = "value" syntax.

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §path: Path§input: ParseStream<'a>

    Implementations§

    Source§

    impl<'a> ParseNestedMeta<'a>

    Source

    pub fn value(&self) -> Result<ParseStream<'a>>

    Used when parsing key = "value" syntax.

    All it does is advance meta.input past the = sign in the input. You could accomplish the same effect by writing meta.parse::<Token![=]>()?, so at most it is a minor convenience to @@ -47,10 +47,10 @@ use meta.value()?.

    } })?; }
    -
    source

    pub fn parse_nested_meta( +

    Source

    pub fn parse_nested_meta( &self, - logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>, -) -> Result<()>

    Used when parsing list(...) syntax if the content inside the + logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>, +) -> Result<()>

    Used when parsing list(...) syntax if the content inside the nested parentheses is also expected to conform to Rust’s structured attribute convention.

    §Example
    @@ -104,7 +104,7 @@ arbitrary tokens within those parentheses so for the crazier stuff, } })?; }
    -
    source

    pub fn error(&self, msg: impl Display) -> Error

    Report that the attribute’s content did not conform to expectations.

    +
    Source

    pub fn error(&self, msg: impl Display) -> Error

    Report that the attribute’s content did not conform to expectations.

    The span of the resulting error will cover meta.path and everything that has been parsed so far since it.

    There are 2 ways you might call this. First, if meta.path is not @@ -160,14 +160,14 @@ situation. In the above code, that would be:

    --> src/main.rs:3:14 | 3 | #[tea(kind = async { replicator.await })] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^

    Auto Trait Implementations§

    §

    impl<'a> Freeze for ParseNestedMeta<'a>

    §

    impl<'a> RefUnwindSafe for ParseNestedMeta<'a>

    §

    impl<'a> !Send for ParseNestedMeta<'a>

    §

    impl<'a> !Sync for ParseNestedMeta<'a>

    §

    impl<'a> Unpin for ParseNestedMeta<'a>

    §

    impl<'a> UnwindSafe for ParseNestedMeta<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + | ^^^^^^^^^^^^^^^^^^^^^^^^^^

    Auto Trait Implementations§

    §

    impl<'a> Freeze for ParseNestedMeta<'a>

    §

    impl<'a> RefUnwindSafe for ParseNestedMeta<'a>

    §

    impl<'a> !Send for ParseNestedMeta<'a>

    §

    impl<'a> !Sync for ParseNestedMeta<'a>

    §

    impl<'a> Unpin for ParseNestedMeta<'a>

    §

    impl<'a> UnwindSafe for ParseNestedMeta<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/discouraged/index.html b/syn/parse/discouraged/index.html index 837c1ed..adcfdb2 100644 --- a/syn/parse/discouraged/index.html +++ b/syn/parse/discouraged/index.html @@ -1,3 +1,3 @@ -syn::parse::discouraged - Rust
    syn::parse

    Module discouraged

    source
    Expand description

    Extensions to the parsing API with niche applicability.

    +syn::parse::discouraged - Rust
    syn::parse

    Module discouraged

    Source
    Expand description

    Extensions to the parsing API with niche applicability.

    Traits§

    • Extensions to the ParseStream API to support manipulating invisible delimiters the same as if they were visible.
    • Extensions to the ParseStream API to support speculative parsing.
    \ No newline at end of file diff --git a/syn/parse/discouraged/trait.AnyDelimiter.html b/syn/parse/discouraged/trait.AnyDelimiter.html index 7bdaddb..a026a94 100644 --- a/syn/parse/discouraged/trait.AnyDelimiter.html +++ b/syn/parse/discouraged/trait.AnyDelimiter.html @@ -1,10 +1,10 @@ -AnyDelimiter in syn::parse::discouraged - Rust
    syn::parse::discouraged

    Trait AnyDelimiter

    source
    pub trait AnyDelimiter {
    +AnyDelimiter in syn::parse::discouraged - Rust
    syn::parse::discouraged

    Trait AnyDelimiter

    Source
    pub trait AnyDelimiter {
         // Required method
         fn parse_any_delimiter(
             &self,
         ) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>)>;
     }
    Expand description

    Extensions to the ParseStream API to support manipulating invisible delimiters the same as if they were visible.

    -

    Required Methods§

    source

    fn parse_any_delimiter(&self) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>)>

    Returns the delimiter, the span of the delimiter token, and the nested +

    Required Methods§

    Source

    fn parse_any_delimiter(&self) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>)>

    Returns the delimiter, the span of the delimiter token, and the nested contents for further parsing.

    -

    Implementors§

    \ No newline at end of file +

    Implementors§

    \ No newline at end of file diff --git a/syn/parse/discouraged/trait.Speculative.html b/syn/parse/discouraged/trait.Speculative.html index 4844e68..405c340 100644 --- a/syn/parse/discouraged/trait.Speculative.html +++ b/syn/parse/discouraged/trait.Speculative.html @@ -1,8 +1,8 @@ -Speculative in syn::parse::discouraged - Rust
    syn::parse::discouraged

    Trait Speculative

    source
    pub trait Speculative {
    +Speculative in syn::parse::discouraged - Rust
    syn::parse::discouraged

    Trait Speculative

    Source
    pub trait Speculative {
         // Required method
         fn advance_to(&self, fork: &Self);
     }
    Expand description

    Extensions to the ParseStream API to support speculative parsing.

    -

    Required Methods§

    source

    fn advance_to(&self, fork: &Self)

    Advance this parse stream to the position of a forked parse stream.

    +

    Required Methods§

    Source

    fn advance_to(&self, fork: &Self)

    Advance this parse stream to the position of a forked parse stream.

    This is the opposite operation to ParseStream::fork. You can fork a parse stream, perform some speculative parsing, then join the original stream to the fork to “commit” the parsing from the fork to the main @@ -104,4 +104,4 @@ on how far apart the two streams are positioned.

    The forked stream in the argument of advance_to must have been obtained by forking self. Attempting to advance to any other stream will cause a panic.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/syn/parse/index.html b/syn/parse/index.html index 0c08374..7084f7f 100644 --- a/syn/parse/index.html +++ b/syn/parse/index.html @@ -1,4 +1,4 @@ -syn::parse - Rust
    syn

    Module parse

    source
    Expand description

    Parsing interface for parsing a token stream into a syntax tree node.

    +syn::parse - Rust
    syn

    Module parse

    Source
    Expand description

    Parsing interface for parsing a token stream into a syntax tree node.

    Parsing in Syn is built on parser functions that take in a ParseStream and produce a Result<T> where T is some syntax tree node. Underlying these parser functions is a lower level mechanism built around the diff --git a/syn/parse/struct.End.html b/syn/parse/struct.End.html index b3a138b..a379dc0 100644 --- a/syn/parse/struct.End.html +++ b/syn/parse/struct.End.html @@ -1,4 +1,4 @@ -End in syn::parse - Rust

    syn::parse

    Struct End

    source
    pub struct End;
    Expand description

    Pseudo-token used for peeking the end of a parse stream.

    +End in syn::parse - Rust
    syn::parse

    Struct End

    Source
    pub struct End;
    Expand description

    Pseudo-token used for peeking the end of a parse stream.

    This type is only useful as an argument to one of the following functions:

    • ParseStream::peek
    • @@ -101,17 +101,17 @@ ahead.parse::<Option<T comma.to_tokens(&mut args); input.parse::<TokenStream>()?.to_tokens(&mut args); }
    -

    Trait Implementations§

    source§

    impl Clone for End

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Copy for End

    source§

    impl Peek for End

    Auto Trait Implementations§

    §

    impl Freeze for End

    §

    impl RefUnwindSafe for End

    §

    impl Send for End

    §

    impl Sync for End

    §

    impl Unpin for End

    §

    impl UnwindSafe for End

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for End

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Copy for End

    Source§

    impl Peek for End

    Auto Trait Implementations§

    §

    impl Freeze for End

    §

    impl RefUnwindSafe for End

    §

    impl Send for End

    §

    impl Sync for End

    §

    impl Unpin for End

    §

    impl UnwindSafe for End

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> Token for T
    where - T: CustomToken,

    source§

    fn peek(cursor: Cursor<'_>) -> bool

    source§

    fn display() -> &'static str

    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> Token for T
    where + T: CustomToken,

    Source§

    fn peek(cursor: Cursor<'_>) -> bool

    Source§

    fn display() -> &'static str

    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/struct.Error.html b/syn/parse/struct.Error.html index 0a79b36..3a6f3fc 100644 --- a/syn/parse/struct.Error.html +++ b/syn/parse/struct.Error.html @@ -1,8 +1,8 @@ -Error in syn::parse - Rust
    syn::parse

    Struct Error

    source
    pub struct Error { /* private fields */ }
    Expand description

    Error returned when a Syn parser cannot parse the input tokens.

    +Error in syn::parse - Rust
    syn::parse

    Struct Error

    Source
    pub struct Error { /* private fields */ }
    Expand description

    Error returned when a Syn parser cannot parse the input tokens.

    §Error reporting in proc macros

    The correct way to report errors back to the compiler from a procedural macro is by emitting an appropriately spanned invocation of -compile_error! in the generated code. This produces a better diagnostic +compile_error! in the generated code. This produces a better diagnostic message than simply panicking the macro.

    When parsing macro input, the parse_macro_input! macro handles the conversion to compile_error! automatically.

    @@ -41,7 +41,7 @@ perform an explicit conversion to compile_error!.

    .unwrap_or_else(syn::Error::into_compile_error) .into() }
    -

    Implementations§

    source§

    impl Error

    source

    pub fn new<T: Display>(span: Span, message: T) -> Self

    Usually the ParseStream::error method will be used instead, which +

    Implementations§

    Source§

    impl Error

    Source

    pub fn new<T: Display>(span: Span, message: T) -> Self

    Usually the ParseStream::error method will be used instead, which automatically uses the correct span from the current position of the parse stream.

    Use Error::new when the error needs to be triggered on some span other @@ -64,7 +64,7 @@ than where the parse stream is currently positioned.

    let s: LitStr = input.parse()?; Ok(s) }
    -
    source

    pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self

    Creates an error with the specified message spanning the given syntax +

    Source

    pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self

    Creates an error with the specified message spanning the given syntax tree node.

    Unlike the Error::new constructor, this constructor takes an argument tokens which is a syntax tree node. This allows the resulting Error @@ -75,14 +75,14 @@ constructor, implementation limitations today mean that stable Rust.

    When in doubt it’s recommended to stick to Error::new (or ParseStream::error)!

    -
    source

    pub fn span(&self) -> Span

    The source location of the error.

    +
    Source

    pub fn span(&self) -> Span

    The source location of the error.

    Spans are not thread-safe so this function returns Span::call_site() if called from a different thread than the one on which the Error was originally created.

    -
    source

    pub fn to_compile_error(&self) -> TokenStream

    Render the error as an invocation of compile_error!.

    +
    Source

    pub fn to_compile_error(&self) -> TokenStream

    Render the error as an invocation of compile_error!.

    The parse_macro_input! macro provides a convenient way to invoke this method correctly in a procedural macro.

    -
    source

    pub fn into_compile_error(self) -> TokenStream

    Render the error as an invocation of compile_error!.

    +
    Source

    pub fn into_compile_error(self) -> TokenStream

    Render the error as an invocation of compile_error!.

    §Example
    use proc_macro::TokenStream;
     use syn::{parse_macro_input, DeriveInput, Error};
    @@ -103,19 +103,19 @@ this method correctly in a procedural macro.

    /* ... */ } }
    -
    source

    pub fn combine(&mut self, another: Error)

    Add another error message to self such that when to_compile_error() is +

    Source

    pub fn combine(&mut self, another: Error)

    Add another error message to self such that when to_compile_error() is called, both errors will be emitted together.

    -

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Error

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl Extend<Error> for Error

    source§

    fn extend<T: IntoIterator<Item = Error>>(&mut self, iter: T)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl From<LexError> for Error

    source§

    fn from(err: LexError) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> IntoIterator for &'a Error

    source§

    type Item = Error

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<'a>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl IntoIterator for Error

    source§

    type Item = Error

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Error

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Error

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Error

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for Error

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl Extend<Error> for Error

    Source§

    fn extend<T: IntoIterator<Item = Error>>(&mut self, iter: T)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl From<LexError> for Error

    Source§

    fn from(err: LexError) -> Self

    Converts to this type from the input type.
    Source§

    impl<'a> IntoIterator for &'a Error

    Source§

    type Item = Error

    The type of the elements being iterated over.
    Source§

    type IntoIter = Iter<'a>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl IntoIterator for Error

    Source§

    type Item = Error

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/struct.Lookahead1.html b/syn/parse/struct.Lookahead1.html index 3681d11..90a3c8d 100644 --- a/syn/parse/struct.Lookahead1.html +++ b/syn/parse/struct.Lookahead1.html @@ -1,4 +1,4 @@ -Lookahead1 in syn::parse - Rust
    syn::parse

    Struct Lookahead1

    source
    pub struct Lookahead1<'a> { /* private fields */ }
    Expand description

    Support for checking the next token in a stream to decide how to parse.

    +Lookahead1 in syn::parse - Rust
    syn::parse

    Struct Lookahead1

    Source
    pub struct Lookahead1<'a> { /* private fields */ }
    Expand description

    Support for checking the next token in a stream to decide how to parse.

    An important advantage over ParseStream::peek is that here we automatically construct an appropriate error message based on the token alternatives that get peeked. If you are producing your own error message, @@ -41,7 +41,7 @@ object does not also advance the lookahead object.

    } } }
    -

    Implementations§

    source§

    impl<'a> Lookahead1<'a>

    source

    pub fn peek<T: Peek>(&self, token: T) -> bool

    Looks at the next token in the parse stream to determine whether it +

    Implementations§

    Source§

    impl<'a> Lookahead1<'a>

    Source

    pub fn peek<T: Peek>(&self, token: T) -> bool

    Looks at the next token in the parse stream to determine whether it matches the requested type of token.

    §Syntax

    Note that this method does not use turbofish syntax. Pass the peek type @@ -54,17 +54,17 @@ inside of parentheses.

  • input.peek(Lifetime)
  • input.peek(token::Brace)
  • -
    source

    pub fn error(self) -> Error

    Triggers an error at the current position of the parse stream.

    +
    Source

    pub fn error(self) -> Error

    Triggers an error at the current position of the parse stream.

    The error message will identify all of the expected token types that have been peeked against this lookahead instance.

    -

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for Lookahead1<'a>

    §

    impl<'a> !RefUnwindSafe for Lookahead1<'a>

    §

    impl<'a> !Send for Lookahead1<'a>

    §

    impl<'a> !Sync for Lookahead1<'a>

    §

    impl<'a> Unpin for Lookahead1<'a>

    §

    impl<'a> UnwindSafe for Lookahead1<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for Lookahead1<'a>

    §

    impl<'a> !RefUnwindSafe for Lookahead1<'a>

    §

    impl<'a> !Send for Lookahead1<'a>

    §

    impl<'a> !Sync for Lookahead1<'a>

    §

    impl<'a> Unpin for Lookahead1<'a>

    §

    impl<'a> UnwindSafe for Lookahead1<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/struct.Nothing.html b/syn/parse/struct.Nothing.html index 8649ab0..84e579f 100644 --- a/syn/parse/struct.Nothing.html +++ b/syn/parse/struct.Nothing.html @@ -1,4 +1,4 @@ -Nothing in syn::parse - Rust
    syn::parse

    Struct Nothing

    source
    pub struct Nothing;
    Expand description

    An empty syntax tree node that consumes no tokens when parsed.

    +Nothing in syn::parse - Rust
    syn::parse

    Struct Nothing

    Source
    pub struct Nothing;
    Expand description

    An empty syntax tree node that consumes no tokens when parsed.

    This is useful for attribute macros that want to ensure they are not provided any attribute args.

    @@ -16,22 +16,22 @@ provided any attribute args.

    --> src/main.rs:3:19 | 3 | #[my_attr(asdf)] - | ^^^^

    Trait Implementations§

    source§

    impl Clone for Nothing

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Nothing

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Nothing

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Nothing

    source§

    fn parse(_input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Nothing

    source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Nothing

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Nothing

    source§

    impl Eq for Nothing

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + | ^^^^

    Trait Implementations§

    Source§

    impl Clone for Nothing

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Nothing

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Nothing

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Nothing

    Source§

    fn parse(_input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Nothing

    Source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Nothing

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Nothing

    Source§

    impl Eq for Nothing

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/struct.ParseBuffer.html b/syn/parse/struct.ParseBuffer.html index f1f1386..97ebabe 100644 --- a/syn/parse/struct.ParseBuffer.html +++ b/syn/parse/struct.ParseBuffer.html @@ -1,4 +1,4 @@ -ParseBuffer in syn::parse - Rust
    syn::parse

    Struct ParseBuffer

    source
    pub struct ParseBuffer<'a> { /* private fields */ }
    Expand description

    Cursor position within a buffered token stream.

    +ParseBuffer in syn::parse - Rust
    syn::parse

    Struct ParseBuffer

    Source
    pub struct ParseBuffer<'a> { /* private fields */ }
    Expand description

    Cursor position within a buffered token stream.

    This type is more commonly used through the type alias ParseStream which is an alias for &ParseBuffer.

    ParseStream is the input type for all parser functions in Syn. They have @@ -12,11 +12,11 @@ you will need to go through one of the public parsing entry points.

  • One of the syn::parse* functions; or
  • A method of the Parser trait.
  • -

    Implementations§

    source§

    impl<'a> ParseBuffer<'a>

    source

    pub fn parse<T: Parse>(&self) -> Result<T>

    Parses a syntax tree node of type T, advancing the position of our +

    Implementations§

    Source§

    impl<'a> ParseBuffer<'a>

    Source

    pub fn parse<T: Parse>(&self) -> Result<T>

    Parses a syntax tree node of type T, advancing the position of our parse stream past it.

    -
    source

    pub fn call<T>( +

    Source

    pub fn call<T>( &self, - function: fn(_: ParseStream<'_>) -> Result<T>, + function: fn(_: ParseStream<'_>) -> Result<T>, ) -> Result<T>

    Calls the given parser function to parse a syntax tree node of type T from this stream.

    §Example
    @@ -47,7 +47,7 @@ zero or more outer attributes.

    }) } }
    -
    source

    pub fn peek<T: Peek>(&self, token: T) -> bool

    Looks at the next token in the parse stream to determine whether it +

    Source

    pub fn peek<T: Peek>(&self, token: T) -> bool

    Looks at the next token in the parse stream to determine whether it matches the requested type of token.

    Does not advance the position of the parse stream.

    §Syntax
    @@ -113,7 +113,7 @@ token in the input is either where or an opening curly brace.

    }) } }
    -
    source

    pub fn peek2<T: Peek>(&self, token: T) -> bool

    Looks at the second-next token in the parse stream.

    +
    Source

    pub fn peek2<T: Peek>(&self, token: T) -> bool

    Looks at the second-next token in the parse stream.

    This is commonly useful as a way to implement contextual keywords.

    §Example

    This example needs to use peek2 because the symbol union is not a @@ -140,10 +140,10 @@ the very next token is union, because someone is free to write a

    -
    source

    pub fn peek3<T: Peek>(&self, token: T) -> bool

    Looks at the third-next token in the parse stream.

    -
    source

    pub fn parse_terminated<T, P>( +

    Source

    pub fn peek3<T: Peek>(&self, token: T) -> bool

    Looks at the third-next token in the parse stream.

    +
    Source

    pub fn parse_terminated<T, P>( &self, - parser: fn(_: ParseStream<'_>) -> Result<T>, + parser: fn(_: ParseStream<'_>) -> Result<T>, separator: P, ) -> Result<Punctuated<T, P::Token>>
    where P: Peek, @@ -214,7 +214,7 @@ directly use Punctuated’s parser functions: ?, } }
    -

    source

    pub fn is_empty(&self) -> bool

    Returns whether there are no more tokens remaining to be parsed from +

    Source

    pub fn is_empty(&self) -> bool

    Returns whether there are no more tokens remaining to be parsed from this stream.

    This method returns true upon reaching the end of the content within a set of delimiters, as well as at the end of the tokens provided to the @@ -252,7 +252,7 @@ further ahead than the current position.

    }) } }
    -
    source

    pub fn lookahead1(&self) -> Lookahead1<'a>

    Constructs a helper for peeking at the next token in this stream and +

    Source

    pub fn lookahead1(&self) -> Lookahead1<'a>

    Constructs a helper for peeking at the next token in this stream and building an error message if it is not one of a set of expected tokens.

    §Example
    use syn::{ConstParam, Ident, Lifetime, LifetimeParam, Result, Token, TypeParam};
    @@ -289,7 +289,7 @@ building an error message if it is not one of a set of expected tokens.

    } } }
    -
    source

    pub fn fork(&self) -> Self

    Forks a parse stream so that parsing tokens out of either the original +

    Source

    pub fn fork(&self) -> Self

    Forks a parse stream so that parsing tokens out of either the original or the fork does not advance the position of the other.

    §Performance

    Forking a parse stream is a cheap fixed amount of work and does not @@ -387,7 +387,7 @@ work performed against the forked parse stream.

    }) } }
    -
    source

    pub fn error<T: Display>(&self, message: T) -> Error

    Triggers an error at the current position of the parse stream.

    +
    Source

    pub fn error<T: Display>(&self, message: T) -> Error

    Triggers an error at the current position of the parse stream.

    §Example
    use syn::{Expr, Result, Token};
     use syn::parse::{Parse, ParseStream};
    @@ -411,8 +411,8 @@ work performed against the forked parse stream.

    } } }
    -
    source

    pub fn step<F, R>(&self, function: F) -> Result<R>
    where - F: for<'c> FnOnce(StepCursor<'c, 'a>) -> Result<(R, Cursor<'c>)>,

    Speculatively parses tokens from this parse stream, advancing the +

    Source

    pub fn step<F, R>(&self, function: F) -> Result<R>
    where + F: for<'c> FnOnce(StepCursor<'c, 'a>) -> Result<(R, Cursor<'c>)>,

    Speculatively parses tokens from this parse stream, advancing the position of this stream only if parsing succeeds.

    This is a powerful low-level API used for defining the Parse impls of the basic built-in token types. It is not something that will be used @@ -439,10 +439,10 @@ widely outside of the Syn codebase.

    Err(cursor.error("no `@` was found after this point")) }) }
    -
    source

    pub fn span(&self) -> Span

    Returns the Span of the next token in the parse stream, or +

    Source

    pub fn span(&self) -> Span

    Returns the Span of the next token in the parse stream, or Span::call_site() if this parse stream has completely exhausted its input TokenStream.

    -
    source

    pub fn cursor(&self) -> Cursor<'a>

    Provides low-level access to the token representation underlying this +

    Source

    pub fn cursor(&self) -> Cursor<'a>

    Provides low-level access to the token representation underlying this parse stream.

    Cursors are immutable so no operations you perform against the cursor will affect the state of this parse stream.

    @@ -494,16 +494,16 @@ will affect the state of this parse stream.

    let tokens = quote! { <fn() -> u8> }; println!("{}", example.parse2(tokens).unwrap()); }
    -

    Trait Implementations§

    source§

    impl<'a> AnyDelimiter for ParseBuffer<'a>

    source§

    fn parse_any_delimiter(&self) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>)>

    Returns the delimiter, the span of the delimiter token, and the nested -contents for further parsing.
    source§

    impl<'a> Debug for ParseBuffer<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Display for ParseBuffer<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Drop for ParseBuffer<'a>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a> Speculative for ParseBuffer<'a>

    source§

    fn advance_to(&self, fork: &Self)

    Advance this parse stream to the position of a forked parse stream. Read more
    source§

    impl<'a> RefUnwindSafe for ParseBuffer<'a>

    source§

    impl<'a> UnwindSafe for ParseBuffer<'a>

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for ParseBuffer<'a>

    §

    impl<'a> !Send for ParseBuffer<'a>

    §

    impl<'a> !Sync for ParseBuffer<'a>

    §

    impl<'a> Unpin for ParseBuffer<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'a> AnyDelimiter for ParseBuffer<'a>

    Source§

    fn parse_any_delimiter(&self) -> Result<(Delimiter, DelimSpan, ParseBuffer<'_>)>

    Returns the delimiter, the span of the delimiter token, and the nested +contents for further parsing.
    Source§

    impl<'a> Debug for ParseBuffer<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Display for ParseBuffer<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Drop for ParseBuffer<'a>

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    Source§

    impl<'a> Speculative for ParseBuffer<'a>

    Source§

    fn advance_to(&self, fork: &Self)

    Advance this parse stream to the position of a forked parse stream. Read more
    Source§

    impl<'a> RefUnwindSafe for ParseBuffer<'a>

    Source§

    impl<'a> UnwindSafe for ParseBuffer<'a>

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for ParseBuffer<'a>

    §

    impl<'a> !Send for ParseBuffer<'a>

    §

    impl<'a> !Sync for ParseBuffer<'a>

    §

    impl<'a> Unpin for ParseBuffer<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/struct.StepCursor.html b/syn/parse/struct.StepCursor.html index 5248c4d..30db593 100644 --- a/syn/parse/struct.StepCursor.html +++ b/syn/parse/struct.StepCursor.html @@ -1,4 +1,4 @@ -StepCursor in syn::parse - Rust
    syn::parse

    Struct StepCursor

    source
    pub struct StepCursor<'c, 'a> { /* private fields */ }
    Expand description

    Cursor state associated with speculative parsing.

    +StepCursor in syn::parse - Rust
    syn::parse

    Struct StepCursor

    Source
    pub struct StepCursor<'c, 'a> { /* private fields */ }
    Expand description

    Cursor state associated with speculative parsing.

    This type is the input of the closure provided to ParseStream::step.

    §Example

    use proc_macro2::TokenTree;
    @@ -22,19 +22,21 @@
             Err(cursor.error("no `@` was found after this point"))
         })
     }
    -

    Implementations§

    source§

    impl<'c, 'a> StepCursor<'c, 'a>

    source

    pub fn error<T: Display>(self, message: T) -> Error

    Triggers an error at the current position of the parse stream.

    +

    Implementations§

    Source§

    impl<'c, 'a> StepCursor<'c, 'a>

    Source

    pub fn error<T: Display>(self, message: T) -> Error

    Triggers an error at the current position of the parse stream.

    The ParseStream::step invocation will return this same error without advancing the stream state.

    -

    Trait Implementations§

    source§

    impl<'c, 'a> Clone for StepCursor<'c, 'a>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'c, 'a> Deref for StepCursor<'c, 'a>

    source§

    type Target = Cursor<'c>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'c, 'a> Copy for StepCursor<'c, 'a>

    Auto Trait Implementations§

    §

    impl<'c, 'a> Freeze for StepCursor<'c, 'a>

    §

    impl<'c, 'a> RefUnwindSafe for StepCursor<'c, 'a>

    §

    impl<'c, 'a> !Send for StepCursor<'c, 'a>

    §

    impl<'c, 'a> !Sync for StepCursor<'c, 'a>

    §

    impl<'c, 'a> Unpin for StepCursor<'c, 'a>

    §

    impl<'c, 'a> UnwindSafe for StepCursor<'c, 'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'c, 'a> Clone for StepCursor<'c, 'a>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'c, 'a> Deref for StepCursor<'c, 'a>

    Source§

    type Target = Cursor<'c>

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl<'c, 'a> Copy for StepCursor<'c, 'a>

    Auto Trait Implementations§

    §

    impl<'c, 'a> Freeze for StepCursor<'c, 'a>

    §

    impl<'c, 'a> RefUnwindSafe for StepCursor<'c, 'a>

    §

    impl<'c, 'a> !Send for StepCursor<'c, 'a>

    §

    impl<'c, 'a> !Sync for StepCursor<'c, 'a>

    §

    impl<'c, 'a> Unpin for StepCursor<'c, 'a>

    §

    impl<'c, 'a> UnwindSafe for StepCursor<'c, 'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/parse/trait.Parse.html b/syn/parse/trait.Parse.html index 9c4a348..35f3f64 100644 --- a/syn/parse/trait.Parse.html +++ b/syn/parse/trait.Parse.html @@ -1,8 +1,8 @@ -Parse in syn::parse - Rust
    syn::parse

    Trait Parse

    source
    pub trait Parse: Sized {
    +Parse in syn::parse - Rust
    syn::parse

    Trait Parse

    Source
    pub trait Parse: Sized {
         // Required method
         fn parse(input: ParseStream<'_>) -> Result<Self>;
     }
    Expand description

    Parsing interface implemented by all types that can be parsed in a default way from a token stream.

    Refer to the module documentation for details about implementing and using the Parse trait.

    -

    Required Methods§

    source

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Parse for TokenTree

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Option<Abi>

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Option<BoundLifetimes>

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Option<WhereClause>

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Group

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Literal

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for Punct

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl Parse for TokenStream

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl<T: Parse + Token> Parse for Option<T>

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl<T: Parse> Parse for Box<T>

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Implementors§

    source§

    impl Parse for BinOp

    source§

    impl Parse for Expr

    source§

    impl Parse for GenericArgument

    source§

    impl Parse for GenericParam

    source§

    impl Parse for Lit

    source§

    impl Parse for Member

    source§

    impl Parse for Meta

    source§

    impl Parse for ReturnType

    source§

    impl Parse for TraitBoundModifier

    source§

    impl Parse for syn::Type

    source§

    impl Parse for TypeParamBound

    source§

    impl Parse for UnOp

    source§

    impl Parse for Visibility

    source§

    impl Parse for WherePredicate

    source§

    impl Parse for Abi

    source§

    impl Parse for AngleBracketedGenericArguments

    source§

    impl Parse for BareFnArg

    source§

    impl Parse for BoundLifetimes

    source§

    impl Parse for ConstParam

    source§

    impl Parse for DeriveInput

    source§

    impl Parse for ExprLit

    source§

    impl Parse for ExprMacro

    source§

    impl Parse for ExprPath

    source§

    impl Parse for ExprStruct

    source§

    impl Parse for FieldValue

    source§

    impl Parse for FieldsNamed

    source§

    impl Parse for FieldsUnnamed

    source§

    impl Parse for Generics

    source§

    impl Parse for Ident

    source§

    impl Parse for Index

    source§

    impl Parse for Lifetime

    source§

    impl Parse for LifetimeParam

    source§

    impl Parse for LitBool

    source§

    impl Parse for LitByte

    source§

    impl Parse for LitByteStr

    source§

    impl Parse for LitCStr

    source§

    impl Parse for LitChar

    source§

    impl Parse for LitFloat

    source§

    impl Parse for LitInt

    source§

    impl Parse for LitStr

    source§

    impl Parse for syn::Macro

    source§

    impl Parse for MetaList

    source§

    impl Parse for MetaNameValue

    source§

    impl Parse for ParenthesizedGenericArguments

    source§

    impl Parse for Path

    source§

    impl Parse for PathSegment

    source§

    impl Parse for TraitBound

    source§

    impl Parse for TypeArray

    source§

    impl Parse for TypeBareFn

    source§

    impl Parse for TypeGroup

    source§

    impl Parse for TypeImplTrait

    source§

    impl Parse for TypeInfer

    source§

    impl Parse for TypeMacro

    source§

    impl Parse for TypeNever

    source§

    impl Parse for TypeParam

    source§

    impl Parse for TypeParen

    source§

    impl Parse for TypePath

    source§

    impl Parse for TypePtr

    source§

    impl Parse for TypeReference

    source§

    impl Parse for TypeSlice

    source§

    impl Parse for TypeTraitObject

    source§

    impl Parse for TypeTuple

    source§

    impl Parse for Variant

    source§

    impl Parse for WhereClause

    source§

    impl Parse for Abstract

    source§

    impl Parse for And

    source§

    impl Parse for AndAnd

    source§

    impl Parse for AndEq

    source§

    impl Parse for As

    source§

    impl Parse for Async

    source§

    impl Parse for At

    source§

    impl Parse for Auto

    source§

    impl Parse for Await

    source§

    impl Parse for Become

    source§

    impl Parse for syn::token::Box

    source§

    impl Parse for Break

    source§

    impl Parse for Caret

    source§

    impl Parse for CaretEq

    source§

    impl Parse for Colon

    source§

    impl Parse for Comma

    source§

    impl Parse for Const

    source§

    impl Parse for Continue

    source§

    impl Parse for Crate

    source§

    impl Parse for Default

    source§

    impl Parse for Do

    source§

    impl Parse for Dollar

    source§

    impl Parse for Dot

    source§

    impl Parse for DotDot

    source§

    impl Parse for DotDotDot

    source§

    impl Parse for DotDotEq

    source§

    impl Parse for Dyn

    source§

    impl Parse for Else

    source§

    impl Parse for Enum

    source§

    impl Parse for Eq

    source§

    impl Parse for EqEq

    source§

    impl Parse for Extern

    source§

    impl Parse for FatArrow

    source§

    impl Parse for Final

    source§

    impl Parse for Fn

    source§

    impl Parse for For

    source§

    impl Parse for Ge

    source§

    impl Parse for Gt

    source§

    impl Parse for If

    source§

    impl Parse for Impl

    source§

    impl Parse for In

    source§

    impl Parse for LArrow

    source§

    impl Parse for Le

    source§

    impl Parse for Let

    source§

    impl Parse for Loop

    source§

    impl Parse for Lt

    source§

    impl Parse for syn::token::Macro

    source§

    impl Parse for Match

    source§

    impl Parse for Minus

    source§

    impl Parse for MinusEq

    source§

    impl Parse for Mod

    source§

    impl Parse for Move

    source§

    impl Parse for Mut

    source§

    impl Parse for Ne

    source§

    impl Parse for Not

    source§

    impl Parse for Or

    source§

    impl Parse for OrEq

    source§

    impl Parse for OrOr

    source§

    impl Parse for Override

    source§

    impl Parse for PathSep

    source§

    impl Parse for Percent

    source§

    impl Parse for PercentEq

    source§

    impl Parse for Plus

    source§

    impl Parse for PlusEq

    source§

    impl Parse for Pound

    source§

    impl Parse for Priv

    source§

    impl Parse for Pub

    source§

    impl Parse for Question

    source§

    impl Parse for RArrow

    source§

    impl Parse for Raw

    source§

    impl Parse for Ref

    source§

    impl Parse for Return

    source§

    impl Parse for SelfType

    source§

    impl Parse for SelfValue

    source§

    impl Parse for Semi

    source§

    impl Parse for Shl

    source§

    impl Parse for ShlEq

    source§

    impl Parse for Shr

    source§

    impl Parse for ShrEq

    source§

    impl Parse for Slash

    source§

    impl Parse for SlashEq

    source§

    impl Parse for Star

    source§

    impl Parse for StarEq

    source§

    impl Parse for Static

    source§

    impl Parse for Struct

    source§

    impl Parse for Super

    source§

    impl Parse for Tilde

    source§

    impl Parse for Trait

    source§

    impl Parse for Try

    source§

    impl Parse for syn::token::Type

    source§

    impl Parse for Typeof

    source§

    impl Parse for Underscore

    source§

    impl Parse for Union

    source§

    impl Parse for Unsafe

    source§

    impl Parse for Unsized

    source§

    impl Parse for Use

    source§

    impl Parse for Virtual

    source§

    impl Parse for Where

    source§

    impl Parse for While

    source§

    impl Parse for Yield

    source§

    impl Parse for Nothing

    \ No newline at end of file +

    Required Methods§

    Source

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    Source§

    impl Parse for TokenTree

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Option<Abi>

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Option<BoundLifetimes>

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Option<WhereClause>

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Group

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Literal

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for Punct

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl Parse for TokenStream

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl<T: Parse + Token> Parse for Option<T>

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl<T: Parse> Parse for Box<T>

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Implementors§

    Source§

    impl Parse for BinOp

    Source§

    impl Parse for Expr

    Source§

    impl Parse for GenericArgument

    Source§

    impl Parse for GenericParam

    Source§

    impl Parse for Lit

    Source§

    impl Parse for Member

    Source§

    impl Parse for Meta

    Source§

    impl Parse for ReturnType

    Source§

    impl Parse for TraitBoundModifier

    Source§

    impl Parse for syn::Type

    Source§

    impl Parse for TypeParamBound

    Source§

    impl Parse for UnOp

    Source§

    impl Parse for Visibility

    Source§

    impl Parse for WherePredicate

    Source§

    impl Parse for Abi

    Source§

    impl Parse for AngleBracketedGenericArguments

    Source§

    impl Parse for BareFnArg

    Source§

    impl Parse for BoundLifetimes

    Source§

    impl Parse for ConstParam

    Source§

    impl Parse for DeriveInput

    Source§

    impl Parse for ExprLit

    Source§

    impl Parse for ExprMacro

    Source§

    impl Parse for ExprPath

    Source§

    impl Parse for ExprStruct

    Source§

    impl Parse for FieldValue

    Source§

    impl Parse for FieldsNamed

    Source§

    impl Parse for FieldsUnnamed

    Source§

    impl Parse for Generics

    Source§

    impl Parse for Ident

    Source§

    impl Parse for Index

    Source§

    impl Parse for Lifetime

    Source§

    impl Parse for LifetimeParam

    Source§

    impl Parse for LitBool

    Source§

    impl Parse for LitByte

    Source§

    impl Parse for LitByteStr

    Source§

    impl Parse for LitCStr

    Source§

    impl Parse for LitChar

    Source§

    impl Parse for LitFloat

    Source§

    impl Parse for LitInt

    Source§

    impl Parse for LitStr

    Source§

    impl Parse for syn::Macro

    Source§

    impl Parse for MetaList

    Source§

    impl Parse for MetaNameValue

    Source§

    impl Parse for ParenthesizedGenericArguments

    Source§

    impl Parse for Path

    Source§

    impl Parse for PathSegment

    Source§

    impl Parse for TraitBound

    Source§

    impl Parse for TypeArray

    Source§

    impl Parse for TypeBareFn

    Source§

    impl Parse for TypeGroup

    Source§

    impl Parse for TypeImplTrait

    Source§

    impl Parse for TypeInfer

    Source§

    impl Parse for TypeMacro

    Source§

    impl Parse for TypeNever

    Source§

    impl Parse for TypeParam

    Source§

    impl Parse for TypeParen

    Source§

    impl Parse for TypePath

    Source§

    impl Parse for TypePtr

    Source§

    impl Parse for TypeReference

    Source§

    impl Parse for TypeSlice

    Source§

    impl Parse for TypeTraitObject

    Source§

    impl Parse for TypeTuple

    Source§

    impl Parse for Variant

    Source§

    impl Parse for WhereClause

    Source§

    impl Parse for Abstract

    Source§

    impl Parse for And

    Source§

    impl Parse for AndAnd

    Source§

    impl Parse for AndEq

    Source§

    impl Parse for As

    Source§

    impl Parse for Async

    Source§

    impl Parse for At

    Source§

    impl Parse for Auto

    Source§

    impl Parse for Await

    Source§

    impl Parse for Become

    Source§

    impl Parse for syn::token::Box

    Source§

    impl Parse for Break

    Source§

    impl Parse for Caret

    Source§

    impl Parse for CaretEq

    Source§

    impl Parse for Colon

    Source§

    impl Parse for Comma

    Source§

    impl Parse for Const

    Source§

    impl Parse for Continue

    Source§

    impl Parse for Crate

    Source§

    impl Parse for Default

    Source§

    impl Parse for Do

    Source§

    impl Parse for Dollar

    Source§

    impl Parse for Dot

    Source§

    impl Parse for DotDot

    Source§

    impl Parse for DotDotDot

    Source§

    impl Parse for DotDotEq

    Source§

    impl Parse for Dyn

    Source§

    impl Parse for Else

    Source§

    impl Parse for Enum

    Source§

    impl Parse for Eq

    Source§

    impl Parse for EqEq

    Source§

    impl Parse for Extern

    Source§

    impl Parse for FatArrow

    Source§

    impl Parse for Final

    Source§

    impl Parse for Fn

    Source§

    impl Parse for For

    Source§

    impl Parse for Ge

    Source§

    impl Parse for Gt

    Source§

    impl Parse for If

    Source§

    impl Parse for Impl

    Source§

    impl Parse for In

    Source§

    impl Parse for LArrow

    Source§

    impl Parse for Le

    Source§

    impl Parse for Let

    Source§

    impl Parse for Loop

    Source§

    impl Parse for Lt

    Source§

    impl Parse for syn::token::Macro

    Source§

    impl Parse for Match

    Source§

    impl Parse for Minus

    Source§

    impl Parse for MinusEq

    Source§

    impl Parse for Mod

    Source§

    impl Parse for Move

    Source§

    impl Parse for Mut

    Source§

    impl Parse for Ne

    Source§

    impl Parse for Not

    Source§

    impl Parse for Or

    Source§

    impl Parse for OrEq

    Source§

    impl Parse for OrOr

    Source§

    impl Parse for Override

    Source§

    impl Parse for PathSep

    Source§

    impl Parse for Percent

    Source§

    impl Parse for PercentEq

    Source§

    impl Parse for Plus

    Source§

    impl Parse for PlusEq

    Source§

    impl Parse for Pound

    Source§

    impl Parse for Priv

    Source§

    impl Parse for Pub

    Source§

    impl Parse for Question

    Source§

    impl Parse for RArrow

    Source§

    impl Parse for Raw

    Source§

    impl Parse for Ref

    Source§

    impl Parse for Return

    Source§

    impl Parse for SelfType

    Source§

    impl Parse for SelfValue

    Source§

    impl Parse for Semi

    Source§

    impl Parse for Shl

    Source§

    impl Parse for ShlEq

    Source§

    impl Parse for Shr

    Source§

    impl Parse for ShrEq

    Source§

    impl Parse for Slash

    Source§

    impl Parse for SlashEq

    Source§

    impl Parse for Star

    Source§

    impl Parse for StarEq

    Source§

    impl Parse for Static

    Source§

    impl Parse for Struct

    Source§

    impl Parse for Super

    Source§

    impl Parse for Tilde

    Source§

    impl Parse for Trait

    Source§

    impl Parse for Try

    Source§

    impl Parse for syn::token::Type

    Source§

    impl Parse for Typeof

    Source§

    impl Parse for Underscore

    Source§

    impl Parse for Union

    Source§

    impl Parse for Unsafe

    Source§

    impl Parse for Unsized

    Source§

    impl Parse for Use

    Source§

    impl Parse for Virtual

    Source§

    impl Parse for Where

    Source§

    impl Parse for While

    Source§

    impl Parse for Yield

    Source§

    impl Parse for Nothing

    \ No newline at end of file diff --git a/syn/parse/trait.Parser.html b/syn/parse/trait.Parser.html index ab3bdd1..bffc5fb 100644 --- a/syn/parse/trait.Parser.html +++ b/syn/parse/trait.Parser.html @@ -1,25 +1,25 @@ -Parser in syn::parse - Rust
    syn::parse

    Trait Parser

    source
    pub trait Parser: Sized {
    +Parser in syn::parse - Rust
    syn::parse

    Trait Parser

    Source
    pub trait Parser: Sized {
         type Output;
     
         // Required method
         fn parse2(self, tokens: TokenStream) -> Result<Self::Output>;
     
         // Provided methods
    -    fn parse(self, tokens: TokenStream) -> Result<Self::Output> { ... }
    -    fn parse_str(self, s: &str) -> Result<Self::Output> { ... }
    +    fn parse(self, tokens: TokenStream) -> Result<Self::Output> { ... }
    +    fn parse_str(self, s: &str) -> Result<Self::Output> { ... }
     }
    Expand description

    Parser that can parse Rust tokens into a particular syntax tree node.

    Refer to the module documentation for details about parsing in Syn.

    -

    Required Associated Types§

    Required Methods§

    source

    fn parse2(self, tokens: TokenStream) -> Result<Self::Output>

    Parse a proc-macro2 token stream into the chosen syntax tree node.

    +

    Required Associated Types§

    Required Methods§

    Source

    fn parse2(self, tokens: TokenStream) -> Result<Self::Output>

    Parse a proc-macro2 token stream into the chosen syntax tree node.

    This function enforces that the input is fully parsed. If there are any unparsed tokens at the end of the stream, an error is returned.

    -

    Provided Methods§

    source

    fn parse(self, tokens: TokenStream) -> Result<Self::Output>

    Parse tokens of source code into the chosen syntax tree node.

    +

    Provided Methods§

    Source

    fn parse(self, tokens: TokenStream) -> Result<Self::Output>

    Parse tokens of source code into the chosen syntax tree node.

    This function enforces that the input is fully parsed. If there are any unparsed tokens at the end of the stream, an error is returned.

    -
    source

    fn parse_str(self, s: &str) -> Result<Self::Output>

    Parse a string of Rust code into the chosen syntax tree node.

    +
    Source

    fn parse_str(self, s: &str) -> Result<Self::Output>

    Parse a string of Rust code into the chosen syntax tree node.

    This function enforces that the input is fully parsed. If there are any unparsed tokens at the end of the string, an error is returned.

    §Hygiene

    Every span in the resulting syntax tree will be set to resolve at the macro call site.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl<F, T> Parser for F
    where - F: FnOnce(ParseStream<'_>) -> Result<T>,

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl<F, T> Parser for F
    where + F: FnOnce(ParseStream<'_>) -> Result<T>,

    \ No newline at end of file diff --git a/syn/parse/trait.Peek.html b/syn/parse/trait.Peek.html index a3cd779..06daadc 100644 --- a/syn/parse/trait.Peek.html +++ b/syn/parse/trait.Peek.html @@ -1,5 +1,5 @@ -Peek in syn::parse - Rust
    syn::parse

    Trait Peek

    source
    pub trait Peek: Sealed { }
    Expand description

    Types that can be parsed by looking at just one token.

    +Peek in syn::parse - Rust
    syn::parse

    Trait Peek

    Source
    pub trait Peek: Sealed { }
    Expand description

    Types that can be parsed by looking at just one token.

    Use ParseStream::peek to peek one of these types in a parse stream without consuming it from the stream.

    This trait is sealed and cannot be implemented for types outside of Syn.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Peek for End

    source§

    impl<F: Copy + FnOnce(TokenMarker) -> T, T: Token> Peek for F

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    Source§

    impl Peek for End

    Source§

    impl<F: Copy + FnOnce(TokenMarker) -> T, T: Token> Peek for F

    \ No newline at end of file diff --git a/syn/parse/type.ParseStream.html b/syn/parse/type.ParseStream.html index 1a65c1b..f160f90 100644 --- a/syn/parse/type.ParseStream.html +++ b/syn/parse/type.ParseStream.html @@ -1,4 +1,4 @@ -ParseStream in syn::parse - Rust
    syn::parse

    Type Alias ParseStream

    source
    pub type ParseStream<'a> = &'a ParseBuffer<'a>;
    Expand description

    Input to a Syn parser function.

    +ParseStream in syn::parse - Rust
    syn::parse

    Type Alias ParseStream

    Source
    pub type ParseStream<'a> = &'a ParseBuffer<'a>;
    Expand description

    Input to a Syn parser function.

    See the methods of this type under the documentation of ParseBuffer. For an overview of parsing in Syn, refer to the module documentation.

    \ No newline at end of file diff --git a/syn/parse/type.Result.html b/syn/parse/type.Result.html index 3e5e438..ac9f285 100644 --- a/syn/parse/type.Result.html +++ b/syn/parse/type.Result.html @@ -1,4 +1,4 @@ -Result in syn::parse - Rust
    syn::parse

    Type Alias Result

    source
    pub type Result<T> = Result<T, Error>;
    Expand description

    The result of a Syn parser.

    +Result in syn::parse - Rust
    syn::parse

    Type Alias Result

    Source
    pub type Result<T> = Result<T, Error>;
    Expand description

    The result of a Syn parser.

    Aliased Type§

    enum Result<T> {
         Ok(T),
         Err(Error),
    diff --git a/syn/punctuated/enum.Pair.html b/syn/punctuated/enum.Pair.html
    index 8733ad4..ce3080e 100644
    --- a/syn/punctuated/enum.Pair.html
    +++ b/syn/punctuated/enum.Pair.html
    @@ -1,60 +1,60 @@
    -Pair in syn::punctuated - Rust
    syn::punctuated

    Enum Pair

    source
    pub enum Pair<T, P> {
    +Pair in syn::punctuated - Rust
    syn::punctuated

    Enum Pair

    Source
    pub enum Pair<T, P> {
         Punctuated(T, P),
         End(T),
     }
    Expand description

    A single syntax tree node of type T followed by its trailing punctuation of type P if any.

    Refer to the module documentation for details about punctuated sequences.

    -

    Variants§

    §

    Punctuated(T, P)

    §

    End(T)

    Implementations§

    source§

    impl<T, P> Pair<T, P>

    source

    pub fn into_value(self) -> T

    Extracts the syntax tree node from this punctuated pair, discarding the +

    Variants§

    §

    Punctuated(T, P)

    §

    End(T)

    Implementations§

    Source§

    impl<T, P> Pair<T, P>

    Source

    pub fn into_value(self) -> T

    Extracts the syntax tree node from this punctuated pair, discarding the following punctuation.

    -
    source

    pub fn value(&self) -> &T

    Borrows the syntax tree node from this punctuated pair.

    -
    source

    pub fn value_mut(&mut self) -> &mut T

    Mutably borrows the syntax tree node from this punctuated pair.

    -
    source

    pub fn punct(&self) -> Option<&P>

    Borrows the punctuation from this punctuated pair, unless this pair is +

    Source

    pub fn value(&self) -> &T

    Borrows the syntax tree node from this punctuated pair.

    +
    Source

    pub fn value_mut(&mut self) -> &mut T

    Mutably borrows the syntax tree node from this punctuated pair.

    +
    Source

    pub fn punct(&self) -> Option<&P>

    Borrows the punctuation from this punctuated pair, unless this pair is the final one and there is no trailing punctuation.

    -
    source

    pub fn punct_mut(&mut self) -> Option<&mut P>

    Mutably borrows the punctuation from this punctuated pair, unless the +

    Source

    pub fn punct_mut(&mut self) -> Option<&mut P>

    Mutably borrows the punctuation from this punctuated pair, unless the pair is the final one and there is no trailing punctuation.

    §Example
    punctuated.insert(0, parse_quote!('lifetime));
     if let Some(punct) = punctuated.pairs_mut().next().unwrap().punct_mut() {
         punct.span = span;
     }
    -
    source

    pub fn new(t: T, p: Option<P>) -> Self

    Creates a punctuated pair out of a syntax tree node and an optional +

    Source

    pub fn new(t: T, p: Option<P>) -> Self

    Creates a punctuated pair out of a syntax tree node and an optional following punctuation.

    -
    source

    pub fn into_tuple(self) -> (T, Option<P>)

    Produces this punctuated pair as a tuple of syntax tree node and +

    Source

    pub fn into_tuple(self) -> (T, Option<P>)

    Produces this punctuated pair as a tuple of syntax tree node and optional following punctuation.

    -
    source§

    impl<T, P> Pair<&T, &P>

    source

    pub fn cloned(self) -> Pair<T, P>
    where - T: Clone, - P: Clone,

    Trait Implementations§

    source§

    impl<T, P> Clone for Pair<T, P>
    where - T: Clone, - P: Clone,

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where - P: Default,

    source§

    fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>

    source§

    fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<T, P> ToTokens for Pair<T, P>
    where +

    Source§

    impl<T, P> Pair<&T, &P>

    Source

    pub fn cloned(self) -> Pair<T, P>
    where + T: Clone, + P: Clone,

    Trait Implementations§

    Source§

    impl<T, P> Clone for Pair<T, P>
    where + T: Clone, + P: Clone,

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where + P: Default,

    Source§

    fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>

    Source§

    fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl<T, P> ToTokens for Pair<T, P>
    where T: ToTokens, - P: ToTokens,

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<T, P> Copy for Pair<T, P>
    where - T: Copy, - P: Copy,

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for Pair<T, P>
    where - T: Freeze, - P: Freeze,

    §

    impl<T, P> RefUnwindSafe for Pair<T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    §

    impl<T, P> Send for Pair<T, P>
    where - T: Send, - P: Send,

    §

    impl<T, P> Sync for Pair<T, P>
    where - T: Sync, - P: Sync,

    §

    impl<T, P> Unpin for Pair<T, P>
    where - T: Unpin, - P: Unpin,

    §

    impl<T, P> UnwindSafe for Pair<T, P>
    where - T: UnwindSafe, - P: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + P: ToTokens,
    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<T, P> Copy for Pair<T, P>
    where + T: Copy, + P: Copy,

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for Pair<T, P>
    where + T: Freeze, + P: Freeze,

    §

    impl<T, P> RefUnwindSafe for Pair<T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    §

    impl<T, P> Send for Pair<T, P>
    where + T: Send, + P: Send,

    §

    impl<T, P> Sync for Pair<T, P>
    where + T: Sync, + P: Sync,

    §

    impl<T, P> Unpin for Pair<T, P>
    where + T: Unpin, + P: Unpin,

    §

    impl<T, P> UnwindSafe for Pair<T, P>
    where + T: UnwindSafe, + P: UnwindSafe,

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/index.html b/syn/punctuated/index.html index 65be927..8f81f4f 100644 --- a/syn/punctuated/index.html +++ b/syn/punctuated/index.html @@ -1,4 +1,4 @@ -syn::punctuated - Rust
    syn

    Module punctuated

    source
    Expand description

    A punctuated sequence of syntax tree nodes separated by punctuation.

    +syn::punctuated - Rust
    syn

    Module punctuated

    Source
    Expand description

    A punctuated sequence of syntax tree nodes separated by punctuation.

    Lots of things in Rust are punctuated sequences.

    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.0.0 · Source§

    fn max(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the maximum element of an iterator. Read more
    1.0.0 · Source§

    fn min(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the minimum element of an iterator. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where + Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    1.5.0 · Source§

    fn cmp<I>(self, other: I) -> Ordering
    where + I: IntoIterator<Item = Self::Item>, + Self::Item: Ord, + Self: Sized,

    Lexicographically compares the elements of this Iterator with those +of another. Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for IntoIter<T>

    §

    impl<T> RefUnwindSafe for IntoIter<T>
    where - T: RefUnwindSafe,

    §

    impl<T> Send for IntoIter<T>
    where - T: Send,

    §

    impl<T> Sync for IntoIter<T>
    where - T: Sync,

    §

    impl<T> Unpin for IntoIter<T>
    where - T: Unpin,

    §

    impl<T> UnwindSafe for IntoIter<T>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted(self) -> bool
    where + Self: Sized, + Self::Item: PartialOrd,

    Checks if the elements of this iterator are sorted. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for IntoIter<T>

    §

    impl<T> RefUnwindSafe for IntoIter<T>
    where + T: RefUnwindSafe,

    §

    impl<T> Send for IntoIter<T>
    where + T: Send,

    §

    impl<T> Sync for IntoIter<T>
    where + T: Sync,

    §

    impl<T> Unpin for IntoIter<T>
    where + T: Unpin,

    §

    impl<T> UnwindSafe for IntoIter<T>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.IntoPairs.html b/syn/punctuated/struct.IntoPairs.html index 73717c3..bfa9128 100644 --- a/syn/punctuated/struct.IntoPairs.html +++ b/syn/punctuated/struct.IntoPairs.html @@ -1,222 +1,226 @@ -IntoPairs in syn::punctuated - Rust
    syn::punctuated

    Struct IntoPairs

    source
    pub struct IntoPairs<T, P> { /* private fields */ }
    Expand description

    An iterator over owned pairs of type Pair<T, P>.

    +IntoPairs in syn::punctuated - Rust
    syn::punctuated

    Struct IntoPairs

    Source
    pub struct IntoPairs<T, P> { /* private fields */ }
    Expand description

    An iterator over owned pairs of type Pair<T, P>.

    Refer to the module documentation for details about punctuated sequences.

    -

    Trait Implementations§

    source§

    impl<T, P> Clone for IntoPairs<T, P>
    where - T: Clone, - P: Clone,

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T, P> DoubleEndedIterator for IntoPairs<T, P>

    source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes -elements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, -final value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    source§

    impl<T, P> ExactSizeIterator for IntoPairs<T, P>

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    source§

    impl<T, P> Iterator for IntoPairs<T, P>

    source§

    type Item = Pair<T, P>

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl<T, P> Clone for IntoPairs<T, P>
    where + T: Clone, + P: Clone,

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T, P> DoubleEndedIterator for IntoPairs<T, P>

    Source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · Source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes +elements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, +final value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    Source§

    impl<T, P> ExactSizeIterator for IntoPairs<T, P>

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    Source§

    impl<T, P> Iterator for IntoPairs<T, P>

    Source§

    type Item = Pair<T, P>

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where T: 'a, - Self: Sized + DoubleEndedIterator<Item = &'a mut T>, - P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, + Self: Sized + DoubleEndedIterator<Item = &'a mut T>, + P: FnMut(&T) -> bool,
    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where + Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for IntoPairs<T, P>
    where - T: Freeze,

    §

    impl<T, P> RefUnwindSafe for IntoPairs<T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    §

    impl<T, P> Send for IntoPairs<T, P>
    where - T: Send, - P: Send,

    §

    impl<T, P> Sync for IntoPairs<T, P>
    where - T: Sync, - P: Sync,

    §

    impl<T, P> Unpin for IntoPairs<T, P>
    where - T: Unpin, - P: Unpin,

    §

    impl<T, P> UnwindSafe for IntoPairs<T, P>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for IntoPairs<T, P>
    where + T: Freeze,

    §

    impl<T, P> RefUnwindSafe for IntoPairs<T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    §

    impl<T, P> Send for IntoPairs<T, P>
    where + T: Send, + P: Send,

    §

    impl<T, P> Sync for IntoPairs<T, P>
    where + T: Sync, + P: Sync,

    §

    impl<T, P> Unpin for IntoPairs<T, P>
    where + T: Unpin, + P: Unpin,

    §

    impl<T, P> UnwindSafe for IntoPairs<T, P>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.Iter.html b/syn/punctuated/struct.Iter.html index 0d1ad97..a2e0c84 100644 --- a/syn/punctuated/struct.Iter.html +++ b/syn/punctuated/struct.Iter.html @@ -1,210 +1,232 @@ -Iter in syn::punctuated - Rust
    syn::punctuated

    Struct Iter

    source
    pub struct Iter<'a, T: 'a> { /* private fields */ }
    Expand description

    An iterator over borrowed values of type &T.

    +Iter in syn::punctuated - Rust
    syn::punctuated

    Struct Iter

    Source
    pub struct Iter<'a, T: 'a> { /* private fields */ }
    Expand description

    An iterator over borrowed values of type &T.

    Refer to the module documentation for details about punctuated sequences.

    -

    Trait Implementations§

    source§

    impl<'a, T> Clone for Iter<'a, T>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, T> DoubleEndedIterator for Iter<'a, T>

    source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes -elements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, -final value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    source§

    impl<'a, T> ExactSizeIterator for Iter<'a, T>

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    source§

    impl<'a, T> Iterator for Iter<'a, T>

    source§

    type Item = &'a T

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl<'a, T> Clone for Iter<'a, T>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a, T> DoubleEndedIterator for Iter<'a, T>

    Source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · Source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes +elements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, +final value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    Source§

    impl<'a, T> ExactSizeIterator for Iter<'a, T>

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    Source§

    impl<'a, T> Iterator for Iter<'a, T>

    Source§

    type Item = &'a T

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    1.29.0 · Source§

    fn flatten(self) -> Flatten<Self>
    where + Self: Sized, + Self::Item: IntoIterator,

    Creates an iterator that flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn try_collect<B>( + &mut self, +) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
    where + Self: Sized, + Self::Item: Try, + <Self::Item as Try>::Residual: Residual<B>, + B: FromIterator<<Self::Item as Try>::Output>,

    🔬This is a nightly-only experimental API. (iterator_try_collect)
    Fallibly transforms an iterator into a collection, short circuiting if +a failure is encountered. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where T: 'a, - Self: Sized + DoubleEndedIterator<Item = &'a mut T>, - P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, + Self: Sized + DoubleEndedIterator<Item = &'a mut T>, + P: FnMut(&T) -> bool,
    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · source§

    fn cycle(self) -> Cycle<Self>
    where - Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.0.0 · Source§

    fn max(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the maximum element of an iterator. Read more
    1.0.0 · Source§

    fn min(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the minimum element of an iterator. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where + Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    1.5.0 · Source§

    fn cmp<I>(self, other: I) -> Ordering
    where + I: IntoIterator<Item = Self::Item>, + Self::Item: Ord, + Self: Sized,

    Lexicographically compares the elements of this Iterator with those +of another. Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for Iter<'a, T>

    §

    impl<'a, T> !RefUnwindSafe for Iter<'a, T>

    §

    impl<'a, T> !Send for Iter<'a, T>

    §

    impl<'a, T> !Sync for Iter<'a, T>

    §

    impl<'a, T> Unpin for Iter<'a, T>

    §

    impl<'a, T> !UnwindSafe for Iter<'a, T>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted(self) -> bool
    where + Self: Sized, + Self::Item: PartialOrd,

    Checks if the elements of this iterator are sorted. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for Iter<'a, T>

    §

    impl<'a, T> !RefUnwindSafe for Iter<'a, T>

    §

    impl<'a, T> !Send for Iter<'a, T>

    §

    impl<'a, T> !Sync for Iter<'a, T>

    §

    impl<'a, T> Unpin for Iter<'a, T>

    §

    impl<'a, T> !UnwindSafe for Iter<'a, T>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.IterMut.html b/syn/punctuated/struct.IterMut.html index 2a622c8..bb29960 100644 --- a/syn/punctuated/struct.IterMut.html +++ b/syn/punctuated/struct.IterMut.html @@ -1,207 +1,229 @@ -IterMut in syn::punctuated - Rust
    syn::punctuated

    Struct IterMut

    source
    pub struct IterMut<'a, T: 'a> { /* private fields */ }
    Expand description

    An iterator over mutably borrowed values of type &mut T.

    +IterMut in syn::punctuated - Rust
    syn::punctuated

    Struct IterMut

    Source
    pub struct IterMut<'a, T: 'a> { /* private fields */ }
    Expand description

    An iterator over mutably borrowed values of type &mut T.

    Refer to the module documentation for details about punctuated sequences.

    -

    Trait Implementations§

    source§

    impl<'a, T> DoubleEndedIterator for IterMut<'a, T>

    source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes -elements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, -final value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    source§

    impl<'a, T> ExactSizeIterator for IterMut<'a, T>

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    source§

    impl<'a, T> Iterator for IterMut<'a, T>

    source§

    type Item = &'a mut T

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl<'a, T> DoubleEndedIterator for IterMut<'a, T>

    Source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · Source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes +elements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, +final value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    Source§

    impl<'a, T> ExactSizeIterator for IterMut<'a, T>

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    Source§

    impl<'a, T> Iterator for IterMut<'a, T>

    Source§

    type Item = &'a mut T

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    1.29.0 · Source§

    fn flatten(self) -> Flatten<Self>
    where + Self: Sized, + Self::Item: IntoIterator,

    Creates an iterator that flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn try_collect<B>( + &mut self, +) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
    where + Self: Sized, + Self::Item: Try, + <Self::Item as Try>::Residual: Residual<B>, + B: FromIterator<<Self::Item as Try>::Output>,

    🔬This is a nightly-only experimental API. (iterator_try_collect)
    Fallibly transforms an iterator into a collection, short circuiting if +a failure is encountered. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where T: 'a, - Self: Sized + DoubleEndedIterator<Item = &'a mut T>, - P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, + Self: Sized + DoubleEndedIterator<Item = &'a mut T>, + P: FnMut(&T) -> bool,
    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.0.0 · Source§

    fn max(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the maximum element of an iterator. Read more
    1.0.0 · Source§

    fn min(self) -> Option<Self::Item>
    where + Self: Sized, + Self::Item: Ord,

    Returns the minimum element of an iterator. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    1.5.0 · Source§

    fn cmp<I>(self, other: I) -> Ordering
    where + I: IntoIterator<Item = Self::Item>, + Self::Item: Ord, + Self: Sized,

    Lexicographically compares the elements of this Iterator with those +of another. Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for IterMut<'a, T>

    §

    impl<'a, T> !RefUnwindSafe for IterMut<'a, T>

    §

    impl<'a, T> !Send for IterMut<'a, T>

    §

    impl<'a, T> !Sync for IterMut<'a, T>

    §

    impl<'a, T> Unpin for IterMut<'a, T>

    §

    impl<'a, T> !UnwindSafe for IterMut<'a, T>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted(self) -> bool
    where + Self: Sized, + Self::Item: PartialOrd,

    Checks if the elements of this iterator are sorted. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for IterMut<'a, T>

    §

    impl<'a, T> !RefUnwindSafe for IterMut<'a, T>

    §

    impl<'a, T> !Send for IterMut<'a, T>

    §

    impl<'a, T> !Sync for IterMut<'a, T>

    §

    impl<'a, T> Unpin for IterMut<'a, T>

    §

    impl<'a, T> !UnwindSafe for IterMut<'a, T>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.Pairs.html b/syn/punctuated/struct.Pairs.html index b5bcbad..3d7ef45 100644 --- a/syn/punctuated/struct.Pairs.html +++ b/syn/punctuated/struct.Pairs.html @@ -1,218 +1,221 @@ -Pairs in syn::punctuated - Rust
    syn::punctuated

    Struct Pairs

    source
    pub struct Pairs<'a, T: 'a, P: 'a> { /* private fields */ }
    Expand description

    An iterator over borrowed pairs of type Pair<&T, &P>.

    +Pairs in syn::punctuated - Rust
    syn::punctuated

    Struct Pairs

    Source
    pub struct Pairs<'a, T: 'a, P: 'a> { /* private fields */ }
    Expand description

    An iterator over borrowed pairs of type Pair<&T, &P>.

    Refer to the module documentation for details about punctuated sequences.

    -

    Trait Implementations§

    source§

    impl<'a, T, P> Clone for Pairs<'a, T, P>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P>

    source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes -elements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, -final value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    source§

    impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P>

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    source§

    impl<'a, T, P> Iterator for Pairs<'a, T, P>

    source§

    type Item = Pair<&'a T, &'a P>

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl<'a, T, P> Clone for Pairs<'a, T, P>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P>

    Source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · Source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes +elements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, +final value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    Source§

    impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P>

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    Source§

    impl<'a, T, P> Iterator for Pairs<'a, T, P>

    Source§

    type Item = Pair<&'a T, &'a P>

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where T: 'a, - Self: Sized + DoubleEndedIterator<Item = &'a mut T>, - P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, + Self: Sized + DoubleEndedIterator<Item = &'a mut T>, + P: FnMut(&T) -> bool,
    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · source§

    fn cycle(self) -> Cycle<Self>
    where - Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    1.0.0 · Source§

    fn cycle(self) -> Cycle<Self>
    where + Self: Sized + Clone,

    Repeats an iterator endlessly. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T, P> Freeze for Pairs<'a, T, P>

    §

    impl<'a, T, P> RefUnwindSafe for Pairs<'a, T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    §

    impl<'a, T, P> Send for Pairs<'a, T, P>
    where - T: Sync, - P: Sync,

    §

    impl<'a, T, P> Sync for Pairs<'a, T, P>
    where - T: Sync, - P: Sync,

    §

    impl<'a, T, P> Unpin for Pairs<'a, T, P>

    §

    impl<'a, T, P> UnwindSafe for Pairs<'a, T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T, P> Freeze for Pairs<'a, T, P>

    §

    impl<'a, T, P> RefUnwindSafe for Pairs<'a, T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    §

    impl<'a, T, P> Send for Pairs<'a, T, P>
    where + T: Sync, + P: Sync,

    §

    impl<'a, T, P> Sync for Pairs<'a, T, P>
    where + T: Sync, + P: Sync,

    §

    impl<'a, T, P> Unpin for Pairs<'a, T, P>

    §

    impl<'a, T, P> UnwindSafe for Pairs<'a, T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.PairsMut.html b/syn/punctuated/struct.PairsMut.html index 56a42f0..74d7ecb 100644 --- a/syn/punctuated/struct.PairsMut.html +++ b/syn/punctuated/struct.PairsMut.html @@ -1,213 +1,216 @@ -PairsMut in syn::punctuated - Rust
    syn::punctuated

    Struct PairsMut

    source
    pub struct PairsMut<'a, T: 'a, P: 'a> { /* private fields */ }
    Expand description

    An iterator over mutably borrowed pairs of type Pair<&mut T, &mut P>.

    +PairsMut in syn::punctuated - Rust
    syn::punctuated

    Struct PairsMut

    Source
    pub struct PairsMut<'a, T: 'a, P: 'a> { /* private fields */ }
    Expand description

    An iterator over mutably borrowed pairs of type Pair<&mut T, &mut P>.

    Refer to the module documentation for details about punctuated sequences.

    -

    Trait Implementations§

    source§

    impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P>

    source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes -elements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, -final value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    source§

    impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P>

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    source§

    impl<'a, T, P> Iterator for PairsMut<'a, T, P>

    source§

    type Item = Pair<&'a mut T, &'a mut P>

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    Source§

    impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P>

    Source§

    fn next_back(&mut self) -> Option<Self::Item>

    Removes and returns an element from the end of the iterator. Read more
    Source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · Source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · Source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes +elements starting from the back of the iterator. Read more
    1.27.0 · Source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single, +final value, starting from the back. Read more
    1.27.0 · Source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    Source§

    impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P>

    Source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    Source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    Source§

    impl<'a, T, P> Iterator for PairsMut<'a, T, P>

    Source§

    type Item = Pair<&'a mut T, &'a mut P>

    The type of the elements being iterated over.
    Source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    Source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    Source§

    fn next_chunk<const N: usize>( &mut self, -) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where - Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · source§

    fn last(self) -> Option<Self::Item>
    where - Self: Sized,

    Consumes the iterator, returning the last element. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where - Self: Sized,

    Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where - Self: Sized, - U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where - Self: Sized, - G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each -element. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where - Self: Sized, - F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where - Self: Sized,

    Creates an iterator which gives the current iteration count as well as -the next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where - Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods +) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where + Self: Sized,
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · Source§

    fn count(self) -> usize
    where + Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    1.0.0 · Source§

    fn last(self) -> Option<Self::Item>
    where + Self: Sized,

    Consumes the iterator, returning the last element. Read more
    Source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.0.0 · Source§

    fn nth(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element of the iterator. Read more
    1.28.0 · Source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where + Self: Sized,

    Creates an iterator starting at the same point, but stepping by +the given amount at each iteration. Read more
    1.0.0 · Source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · Source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where + Self: Sized, + U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    Source§

    fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
    where + Self: Sized, + Self::Item: Clone,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places a copy of separator between adjacent +items of the original iterator. Read more
    Source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where + Self: Sized, + G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator +between adjacent items of the original iterator. Read more
    1.0.0 · Source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each +element. Read more
    1.21.0 · Source§

    fn for_each<F>(self, f: F)
    where + Self: Sized, + F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · Source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element +should be yielded. Read more
    1.0.0 · Source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · Source§

    fn enumerate(self) -> Enumerate<Self>
    where + Self: Sized,

    Creates an iterator which gives the current iteration count as well as +the next value. Read more
    1.0.0 · Source§

    fn peekable(self) -> Peekable<Self>
    where + Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where - Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where - Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where - Self: Sized,

    Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where - Self: Sized, - F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where - Self: Sized, - U: IntoIterator, - F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where - Self: Sized, - F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over -self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where - Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where - Self: Sized, - F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where - B: FromIterator<Self::Item>, - Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where - E: Extend<Self::Item>, - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where - Self: Sized, - B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where +their documentation for more information. Read more

    1.0.0 · Source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · Source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · Source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where + Self: Sized, + P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · Source§

    fn skip(self, n: usize) -> Skip<Self>
    where + Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · Source§

    fn take(self, n: usize) -> Take<Self>
    where + Self: Sized,

    Creates an iterator that yields the first n elements, or fewer +if the underlying iterator ends sooner. Read more
    1.0.0 · Source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where + Self: Sized, + F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but +unlike fold, produces a new iterator. Read more
    1.0.0 · Source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where + Self: Sized, + U: IntoIterator, + F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    Source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where + Self: Sized, + F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over +self and returns an iterator over the outputs of f. Like slice::windows(), +the windows during mapping overlap as well. Read more
    1.0.0 · Source§

    fn fuse(self) -> Fuse<Self>
    where + Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · Source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where + Self: Sized, + F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · Source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · Source§

    fn collect<B>(self) -> B
    where + B: FromIterator<Self::Item>, + Self: Sized,

    Transforms an iterator into a collection. Read more
    Source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where + E: Extend<Self::Item>, + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · Source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where + Self: Sized, + B: Default + Extend<Self::Item>, + F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    Source§

    fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
    where T: 'a, - Self: Sized + DoubleEndedIterator<Item = &'a mut T>, - P: FnMut(&T) -> bool,

    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, + Self: Sized + DoubleEndedIterator<Item = &'a mut T>, + P: FnMut(&T) -> bool,
    🔬This is a nightly-only experimental API. (iter_partition_in_place)
    Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where - Self: Sized, - F: FnMut(B, Self::Item) -> R, - R: Try<Output = B>,

    An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where - Self: Sized, - F: FnMut(Self::Item) -> R, - R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where - Self: Sized, - F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, -returning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
    source§

    fn try_reduce<R>( +Returns the number of true elements found. Read more

    Source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate, +such that all those that return true precede all those that return false. Read more
    1.27.0 · Source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where + Self: Sized, + F: FnMut(B, Self::Item) -> R, + R: Try<Output = B>,

    An iterator method that applies a function as long as it returns +successfully, producing a single, final value. Read more
    1.27.0 · Source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where + Self: Sized, + F: FnMut(Self::Item) -> R, + R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the +iterator, stopping at the first error and returning that error. Read more
    1.0.0 · Source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where + Self: Sized, + F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation, +returning the final result. Read more
    1.51.0 · Source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing +operation. Read more
    Source§

    fn try_reduce<R>( &mut self, - f: impl FnMut(Self::Item, Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where - Self: Sized, - R: Try<Output = Self::Item>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where - Self: Sized, - P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where - Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns -the first non-none result. Read more
    source§

    fn try_find<R>( + f: impl FnMut(Self::Item, Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where + Self: Sized, + R: Try<Output = Self::Item>, + <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the +closure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · Source§

    fn all<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn any<F>(&mut self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · Source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where + Self: Sized, + P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · Source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where + Self: Sized, + F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns +the first non-none result. Read more
    Source§

    fn try_find<R>( &mut self, - f: impl FnMut(&Self::Item) -> R, -) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where - Self: Sized, - R: Try<Output = bool>, - <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns -the first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where - Self: Sized, - P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where - P: FnMut(Self::Item) -> bool, - Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its -index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the -specified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where - B: Ord, - Self: Sized, - F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the -specified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
    1.0.0 · source§

    fn rev(self) -> Rev<Self>
    where - Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where - FromA: Default + Extend<A>, - FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where - T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where - T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where - Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where - Self: Sized, - S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where - Self: Sized, - P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Lexicographically compares the PartialOrd elements of -this Iterator with those of another. The comparison works like short-circuit + f: impl FnMut(&Self::Item) -> R, +) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where + Self: Sized, + R: Try<Output = bool>, + <R as Try>::Residual: Residual<Option<Self::Item>>,
    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns +the first true result or the first error. Read more
    1.0.0 · Source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where + Self: Sized, + P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.0.0 · Source§

    fn rposition<P>(&mut self, predicate: P) -> Option<usize>
    where + P: FnMut(Self::Item) -> bool, + Self: Sized + ExactSizeIterator + DoubleEndedIterator,

    Searches for an element in an iterator from the right, returning its +index. Read more
    1.6.0 · Source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the +specified function. Read more
    1.15.0 · Source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the +specified comparison function. Read more
    1.6.0 · Source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where + B: Ord, + Self: Sized, + F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the +specified function. Read more
    1.15.0 · Source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the +specified comparison function. Read more
    1.0.0 · Source§

    fn rev(self) -> Rev<Self>
    where + Self: Sized + DoubleEndedIterator,

    Reverses an iterator’s direction. Read more
    1.0.0 · Source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where + FromA: Default + Extend<A>, + FromB: Default + Extend<B>, + Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · Source§

    fn copied<'a, T>(self) -> Copied<Self>
    where + T: 'a + Copy, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · Source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where + T: 'a + Clone, + Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    Source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where + Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · Source§

    fn sum<S>(self) -> S
    where + Self: Sized, + S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · Source§

    fn product<P>(self) -> P
    where + Self: Sized, + P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    Source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Lexicographically compares the PartialOrd elements of +this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are equal to those of -another. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where - Self: Sized, - I: IntoIterator, - F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialEq<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are not equal to those of -another. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where - I: IntoIterator, - Self::Item: PartialOrd<<I as IntoIterator>::Item>, - Self: Sized,

    Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where - Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where - Self: Sized, - F: FnMut(Self::Item) -> K, - K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T, P> Freeze for PairsMut<'a, T, P>

    §

    impl<'a, T, P> RefUnwindSafe for PairsMut<'a, T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    §

    impl<'a, T, P> Send for PairsMut<'a, T, P>
    where - T: Send, - P: Send,

    §

    impl<'a, T, P> Sync for PairsMut<'a, T, P>
    where - T: Sync, - P: Sync,

    §

    impl<'a, T, P> Unpin for PairsMut<'a, T, P>

    §

    impl<'a, T, P> !UnwindSafe for PairsMut<'a, T, P>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +As soon as an order can be determined, the evaluation stops and a result is returned. Read more
    Source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those +of another with respect to the specified comparison function. Read more
    1.5.0 · Source§

    fn eq<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are equal to those of +another. Read more
    Source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where + Self: Sized, + I: IntoIterator, + F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of +another with respect to the specified equality function. Read more
    1.5.0 · Source§

    fn ne<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialEq<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are not equal to those of +another. Read more
    1.5.0 · Source§

    fn lt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less than those of another. Read more
    1.5.0 · Source§

    fn le<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +less or equal to those of another. Read more
    1.5.0 · Source§

    fn gt<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than those of another. Read more
    1.5.0 · Source§

    fn ge<I>(self, other: I) -> bool
    where + I: IntoIterator, + Self::Item: PartialOrd<<I as IntoIterator>::Item>, + Self: Sized,

    Determines if the elements of this Iterator are lexicographically +greater than or equal to those of another. Read more
    1.82.0 · Source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where + Self: Sized, + F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · Source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where + Self: Sized, + F: FnMut(Self::Item) -> K, + K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction +function. Read more

    Auto Trait Implementations§

    §

    impl<'a, T, P> Freeze for PairsMut<'a, T, P>

    §

    impl<'a, T, P> RefUnwindSafe for PairsMut<'a, T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    §

    impl<'a, T, P> Send for PairsMut<'a, T, P>
    where + T: Send, + P: Send,

    §

    impl<'a, T, P> Sync for PairsMut<'a, T, P>
    where + T: Sync, + P: Sync,

    §

    impl<'a, T, P> Unpin for PairsMut<'a, T, P>

    §

    impl<'a, T, P> !UnwindSafe for PairsMut<'a, T, P>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<I> IntoIterator for I
    where - I: Iterator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<I> IntoIterator for I
    where + I: Iterator,

    Source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    Source§

    type IntoIter = I

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> I

    Creates an iterator from a value. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/punctuated/struct.Punctuated.html b/syn/punctuated/struct.Punctuated.html index 83f15f1..334dd4c 100644 --- a/syn/punctuated/struct.Punctuated.html +++ b/syn/punctuated/struct.Punctuated.html @@ -1,75 +1,75 @@ -Punctuated in syn::punctuated - Rust
    syn::punctuated

    Struct Punctuated

    source
    pub struct Punctuated<T, P> { /* private fields */ }
    Expand description

    A punctuated sequence of syntax tree nodes of type T separated by +Punctuated in syn::punctuated - Rust

    syn::punctuated

    Struct Punctuated

    Source
    pub struct Punctuated<T, P> { /* private fields */ }
    Expand description

    A punctuated sequence of syntax tree nodes of type T separated by punctuation of type P.

    Refer to the module documentation for details about punctuated sequences.

    -

    Implementations§

    source§

    impl<T, P> Punctuated<T, P>

    source

    pub const fn new() -> Self

    Creates an empty punctuated sequence.

    -
    source

    pub fn is_empty(&self) -> bool

    Determines whether this punctuated sequence is empty, meaning it +

    Implementations§

    Source§

    impl<T, P> Punctuated<T, P>

    Source

    pub const fn new() -> Self

    Creates an empty punctuated sequence.

    +
    Source

    pub fn is_empty(&self) -> bool

    Determines whether this punctuated sequence is empty, meaning it contains no syntax tree nodes or punctuation.

    -
    source

    pub fn len(&self) -> usize

    Returns the number of syntax tree nodes in this punctuated sequence.

    +
    Source

    pub fn len(&self) -> usize

    Returns the number of syntax tree nodes in this punctuated sequence.

    This is the number of nodes of type T, not counting the punctuation of type P.

    -
    source

    pub fn first(&self) -> Option<&T>

    Borrows the first element in this sequence.

    -
    source

    pub fn first_mut(&mut self) -> Option<&mut T>

    Mutably borrows the first element in this sequence.

    -
    source

    pub fn last(&self) -> Option<&T>

    Borrows the last element in this sequence.

    -
    source

    pub fn last_mut(&mut self) -> Option<&mut T>

    Mutably borrows the last element in this sequence.

    -
    source

    pub fn get(&self, index: usize) -> Option<&T>

    Borrows the element at the given index.

    -
    source

    pub fn get_mut(&mut self, index: usize) -> Option<&mut T>

    Mutably borrows the element at the given index.

    -
    source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over borrowed syntax tree nodes of type &T.

    -
    source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns an iterator over mutably borrowed syntax tree nodes of type +

    Source

    pub fn first(&self) -> Option<&T>

    Borrows the first element in this sequence.

    +
    Source

    pub fn first_mut(&mut self) -> Option<&mut T>

    Mutably borrows the first element in this sequence.

    +
    Source

    pub fn last(&self) -> Option<&T>

    Borrows the last element in this sequence.

    +
    Source

    pub fn last_mut(&mut self) -> Option<&mut T>

    Mutably borrows the last element in this sequence.

    +
    Source

    pub fn get(&self, index: usize) -> Option<&T>

    Borrows the element at the given index.

    +
    Source

    pub fn get_mut(&mut self, index: usize) -> Option<&mut T>

    Mutably borrows the element at the given index.

    +
    Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over borrowed syntax tree nodes of type &T.

    +
    Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns an iterator over mutably borrowed syntax tree nodes of type &mut T.

    -
    source

    pub fn pairs(&self) -> Pairs<'_, T, P>

    Returns an iterator over the contents of this sequence as borrowed +

    Source

    pub fn pairs(&self) -> Pairs<'_, T, P>

    Returns an iterator over the contents of this sequence as borrowed punctuated pairs.

    -
    source

    pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P>

    Returns an iterator over the contents of this sequence as mutably +

    Source

    pub fn pairs_mut(&mut self) -> PairsMut<'_, T, P>

    Returns an iterator over the contents of this sequence as mutably borrowed punctuated pairs.

    -
    source

    pub fn into_pairs(self) -> IntoPairs<T, P>

    Returns an iterator over the contents of this sequence as owned +

    Source

    pub fn into_pairs(self) -> IntoPairs<T, P>

    Returns an iterator over the contents of this sequence as owned punctuated pairs.

    -
    source

    pub fn push_value(&mut self, value: T)

    Appends a syntax tree node onto the end of this punctuated sequence. The +

    Source

    pub fn push_value(&mut self, value: T)

    Appends a syntax tree node onto the end of this punctuated sequence. The sequence must already have a trailing punctuation, or be empty.

    Use push instead if the punctuated sequence may or may not already have trailing punctuation.

    §Panics

    Panics if the sequence is nonempty and does not already have a trailing punctuation.

    -
    source

    pub fn push_punct(&mut self, punctuation: P)

    Appends a trailing punctuation onto the end of this punctuated sequence. +

    Source

    pub fn push_punct(&mut self, punctuation: P)

    Appends a trailing punctuation onto the end of this punctuated sequence. The sequence must be non-empty and must not already have trailing punctuation.

    §Panics

    Panics if the sequence is empty or already has a trailing punctuation.

    -
    source

    pub fn pop(&mut self) -> Option<Pair<T, P>>

    Removes the last punctuated pair from this sequence, or None if the +

    Source

    pub fn pop(&mut self) -> Option<Pair<T, P>>

    Removes the last punctuated pair from this sequence, or None if the sequence is empty.

    -
    source

    pub fn pop_punct(&mut self) -> Option<P>

    Removes the trailing punctuation from this punctuated sequence, or +

    Source

    pub fn pop_punct(&mut self) -> Option<P>

    Removes the trailing punctuation from this punctuated sequence, or None if there isn’t any.

    -
    source

    pub fn trailing_punct(&self) -> bool

    Determines whether this punctuated sequence ends with a trailing +

    Source

    pub fn trailing_punct(&self) -> bool

    Determines whether this punctuated sequence ends with a trailing punctuation.

    -
    source

    pub fn empty_or_trailing(&self) -> bool

    Returns true if either this Punctuated is empty, or it has a trailing +

    Source

    pub fn empty_or_trailing(&self) -> bool

    Returns true if either this Punctuated is empty, or it has a trailing punctuation.

    Equivalent to punctuated.is_empty() || punctuated.trailing_punct().

    -
    source

    pub fn push(&mut self, value: T)
    where - P: Default,

    Appends a syntax tree node onto the end of this punctuated sequence.

    +
    Source

    pub fn push(&mut self, value: T)
    where + P: Default,

    Appends a syntax tree node onto the end of this punctuated sequence.

    If there is not a trailing punctuation in this sequence when this method is called, the default value of punctuation type P is inserted before the given value of type T.

    -
    source

    pub fn insert(&mut self, index: usize, value: T)
    where - P: Default,

    Inserts an element at position index.

    +
    Source

    pub fn insert(&mut self, index: usize, value: T)
    where + P: Default,

    Inserts an element at position index.

    §Panics

    Panics if index is greater than the number of elements previously in this punctuated sequence.

    -
    source

    pub fn clear(&mut self)

    Clears the sequence of all values and punctuation, making it empty.

    -
    source

    pub fn parse_terminated(input: ParseStream<'_>) -> Result<Self>
    where +

    Source

    pub fn clear(&mut self)

    Clears the sequence of all values and punctuation, making it empty.

    +
    Source

    pub fn parse_terminated(input: ParseStream<'_>) -> Result<Self>
    where T: Parse, P: Parse,

    Parses zero or more occurrences of T separated by punctuation of type P, with optional trailing punctuation.

    Parsing continues until the end of this parse stream. The entire content of this parse stream must consist of T and P.

    -
    source

    pub fn parse_terminated_with( +

    Source

    pub fn parse_terminated_with( input: ParseStream<'_>, - parser: fn(_: ParseStream<'_>) -> Result<T>, + parser: fn(_: ParseStream<'_>) -> Result<T>, ) -> Result<Self>
    where P: Parse,

    Parses zero or more occurrences of T using the given parse function, separated by punctuation of type P, with optional trailing punctuation.

    Like parse_terminated, the entire content of this stream is expected to be parsed.

    -
    source

    pub fn parse_separated_nonempty(input: ParseStream<'_>) -> Result<Self>
    where +

    Source

    pub fn parse_separated_nonempty(input: ParseStream<'_>) -> Result<Self>
    where T: Parse, P: Token + Parse,

    Parses one or more occurrences of T separated by punctuation of type P, not accepting trailing punctuation.

    @@ -77,54 +77,54 @@ to be parsed.

    the stream. This method returns upon parsing a T and observing that it is not followed by a P, even if there are remaining tokens in the stream.

    -
    source

    pub fn parse_separated_nonempty_with( +

    Source

    pub fn parse_separated_nonempty_with( input: ParseStream<'_>, - parser: fn(_: ParseStream<'_>) -> Result<T>, + parser: fn(_: ParseStream<'_>) -> Result<T>, ) -> Result<Self>
    where P: Token + Parse,

    Parses one or more occurrences of T using the given parse function, separated by punctuation of type P, not accepting trailing punctuation.

    Like parse_separated_nonempty, may complete early without parsing the entire content of this stream.

    -

    Trait Implementations§

    source§

    impl<T, P> Clone for Punctuated<T, P>
    where - T: Clone, - P: Clone,

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, other: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T: Debug, P: Debug> Debug for Punctuated<T, P>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T, P> Default for Punctuated<T, P>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where - P: Default,

    source§

    fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl<T, P> Extend<T> for Punctuated<T, P>
    where - P: Default,

    source§

    fn extend<I: IntoIterator<Item = T>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>

    source§

    fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<T, P> FromIterator<T> for Punctuated<T, P>
    where - P: Default,

    source§

    fn from_iter<I: IntoIterator<Item = T>>(i: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<T, P> Hash for Punctuated<T, P>
    where - T: Hash, - P: Hash,

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T, P> Index<usize> for Punctuated<T, P>

    source§

    type Output = T

    The returned type after indexing.
    source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl<T, P> IndexMut<usize> for Punctuated<T, P>

    source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    source§

    impl<'a, T, P> IntoIterator for &'a Punctuated<T, P>

    source§

    type Item = &'a T

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<'a, T>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl<'a, T, P> IntoIterator for &'a mut Punctuated<T, P>

    source§

    type Item = &'a mut T

    The type of the elements being iterated over.
    source§

    type IntoIter = IterMut<'a, T>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl<T, P> IntoIterator for Punctuated<T, P>

    source§

    type Item = T

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl<T, P> PartialEq for Punctuated<T, P>
    where - T: PartialEq, - P: PartialEq,

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<T, P> ToTokens for Punctuated<T, P>
    where +

    Trait Implementations§

    Source§

    impl<T, P> Clone for Punctuated<T, P>
    where + T: Clone, + P: Clone,

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, other: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<T: Debug, P: Debug> Debug for Punctuated<T, P>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<T, P> Default for Punctuated<T, P>

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where + P: Default,

    Source§

    fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl<T, P> Extend<T> for Punctuated<T, P>
    where + P: Default,

    Source§

    fn extend<I: IntoIterator<Item = T>>(&mut self, i: I)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>

    Source§

    fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl<T, P> FromIterator<T> for Punctuated<T, P>
    where + P: Default,

    Source§

    fn from_iter<I: IntoIterator<Item = T>>(i: I) -> Self

    Creates a value from an iterator. Read more
    Source§

    impl<T, P> Hash for Punctuated<T, P>
    where + T: Hash, + P: Hash,

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<T, P> Index<usize> for Punctuated<T, P>

    Source§

    type Output = T

    The returned type after indexing.
    Source§

    fn index(&self, index: usize) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    Source§

    impl<T, P> IndexMut<usize> for Punctuated<T, P>

    Source§

    fn index_mut(&mut self, index: usize) -> &mut Self::Output

    Performs the mutable indexing (container[index]) operation. Read more
    Source§

    impl<'a, T, P> IntoIterator for &'a Punctuated<T, P>

    Source§

    type Item = &'a T

    The type of the elements being iterated over.
    Source§

    type IntoIter = Iter<'a, T>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl<'a, T, P> IntoIterator for &'a mut Punctuated<T, P>

    Source§

    type Item = &'a mut T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IterMut<'a, T>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl<T, P> IntoIterator for Punctuated<T, P>

    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl<T, P> PartialEq for Punctuated<T, P>
    where + T: PartialEq, + P: PartialEq,

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<T, P> ToTokens for Punctuated<T, P>
    where T: ToTokens, - P: ToTokens,

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<T, P> Eq for Punctuated<T, P>
    where - T: Eq, - P: Eq,

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for Punctuated<T, P>

    §

    impl<T, P> RefUnwindSafe for Punctuated<T, P>
    where - T: RefUnwindSafe, - P: RefUnwindSafe,

    §

    impl<T, P> Send for Punctuated<T, P>
    where - T: Send, - P: Send,

    §

    impl<T, P> Sync for Punctuated<T, P>
    where - T: Sync, - P: Sync,

    §

    impl<T, P> Unpin for Punctuated<T, P>
    where - T: Unpin, - P: Unpin,

    §

    impl<T, P> UnwindSafe for Punctuated<T, P>
    where - T: UnwindSafe, - P: UnwindSafe,

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + P: ToTokens,
    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<T, P> Eq for Punctuated<T, P>
    where + T: Eq, + P: Eq,

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for Punctuated<T, P>

    §

    impl<T, P> RefUnwindSafe for Punctuated<T, P>
    where + T: RefUnwindSafe, + P: RefUnwindSafe,

    §

    impl<T, P> Send for Punctuated<T, P>
    where + T: Send, + P: Send,

    §

    impl<T, P> Sync for Punctuated<T, P>
    where + T: Sync, + P: Sync,

    §

    impl<T, P> Unpin for Punctuated<T, P>
    where + T: Unpin, + P: Unpin,

    §

    impl<T, P> UnwindSafe for Punctuated<T, P>
    where + T: UnwindSafe, + P: UnwindSafe,

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/spanned/index.html b/syn/spanned/index.html index 6871740..a788d78 100644 --- a/syn/spanned/index.html +++ b/syn/spanned/index.html @@ -1,9 +1,9 @@ -syn::spanned - Rust
    syn

    Module spanned

    source
    Expand description

    A trait that can provide the Span of the complete contents of a syntax +syn::spanned - Rust

    syn

    Module spanned

    Source
    Expand description

    A trait that can provide the Span of the complete contents of a syntax tree node.


    §Example

    Suppose in a procedural macro we have a Type that we want to assert -implements the Sync trait. Maybe this is the type of one of the fields +implements the Sync trait. Maybe this is the type of one of the fields of a struct for which we are deriving a trait implementation, and we need to be able to pass a reference to one of those fields across threads.

    If the field type does not implement Sync as required, we want the @@ -39,7 +39,7 @@ our macro, the user’s code will fail to compile if ty does not im error appear in the correct place underlining the right type.


    §Limitations

    -

    The underlying proc_macro::Span::join method is nightly-only. When +

    The underlying proc_macro::Span::join method is nightly-only. When called from within a procedural macro in a nightly compiler, Spanned will use join to produce the intended span. When not using a nightly compiler, only the span of the first token of the syntax tree node is returned.

    diff --git a/syn/spanned/trait.Spanned.html b/syn/spanned/trait.Spanned.html index f05775f..54d3901 100644 --- a/syn/spanned/trait.Spanned.html +++ b/syn/spanned/trait.Spanned.html @@ -1,4 +1,4 @@ -Spanned in syn::spanned - Rust
    syn::spanned

    Trait Spanned

    source
    pub trait Spanned: Sealed {
    +Spanned in syn::spanned - Rust
    syn::spanned

    Trait Spanned

    Source
    pub trait Spanned: Sealed {
         // Required method
         fn span(&self) -> Span;
     }
    Expand description

    A trait that can provide the Span of the complete contents of a syntax @@ -6,6 +6,6 @@ tree node.

    This trait is automatically implemented for all types that implement ToTokens from the quote crate, as well as for Span itself.

    See the module documentation for an example.

    -

    Required Methods§

    source

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +

    Required Methods§

    Source

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree node, or Span::call_site() if this node is empty.

    -

    Implementors§

    source§

    impl Spanned for QSelf

    source§

    impl<T: ?Sized + ToTokens> Spanned for T

    \ No newline at end of file +

    Implementors§

    Source§

    impl Spanned for QSelf

    Source§

    impl<T: ?Sized + ToTokens> Spanned for T

    \ No newline at end of file diff --git a/syn/struct.Abi.html b/syn/struct.Abi.html index 6ca91f2..53f103f 100644 --- a/syn/struct.Abi.html +++ b/syn/struct.Abi.html @@ -1,24 +1,24 @@ -Abi in syn - Rust
    syn

    Struct Abi

    source
    pub struct Abi {
    +Abi in syn - Rust
    syn

    Struct Abi

    Source
    pub struct Abi {
         pub extern_token: Extern,
    -    pub name: Option<LitStr>,
    +    pub name: Option<LitStr>,
     }
    Expand description

    The binary interface of a function: extern "C".

    -

    Fields§

    §extern_token: Extern§name: Option<LitStr>

    Trait Implementations§

    source§

    impl Clone for Abi

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Abi

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Abi

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Abi

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Abi

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Abi

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Abi

    Auto Trait Implementations§

    §

    impl Freeze for Abi

    §

    impl RefUnwindSafe for Abi

    §

    impl !Send for Abi

    §

    impl !Sync for Abi

    §

    impl Unpin for Abi

    §

    impl UnwindSafe for Abi

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §extern_token: Extern§name: Option<LitStr>

    Trait Implementations§

    Source§

    impl Clone for Abi

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Abi

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Abi

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Abi

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Abi

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Abi

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Abi

    Auto Trait Implementations§

    §

    impl Freeze for Abi

    §

    impl RefUnwindSafe for Abi

    §

    impl !Send for Abi

    §

    impl !Sync for Abi

    §

    impl Unpin for Abi

    §

    impl UnwindSafe for Abi

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.AngleBracketedGenericArguments.html b/syn/struct.AngleBracketedGenericArguments.html index c571583..4d8db29 100644 --- a/syn/struct.AngleBracketedGenericArguments.html +++ b/syn/struct.AngleBracketedGenericArguments.html @@ -1,26 +1,26 @@ -AngleBracketedGenericArguments in syn - Rust
    syn

    Struct AngleBracketedGenericArguments

    source
    pub struct AngleBracketedGenericArguments {
    -    pub colon2_token: Option<PathSep>,
    +AngleBracketedGenericArguments in syn - Rust
    syn

    Struct AngleBracketedGenericArguments

    Source
    pub struct AngleBracketedGenericArguments {
    +    pub colon2_token: Option<PathSep>,
         pub lt_token: Lt,
         pub args: Punctuated<GenericArgument, Comma>,
         pub gt_token: Gt,
     }
    Expand description

    Angle bracketed arguments of a path segment: the <K, V> in HashMap<K, V>.

    -

    Fields§

    §colon2_token: Option<PathSep>§lt_token: Lt§args: Punctuated<GenericArgument, Comma>§gt_token: Gt

    Trait Implementations§

    source§

    impl Clone for AngleBracketedGenericArguments

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AngleBracketedGenericArguments

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for AngleBracketedGenericArguments

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for AngleBracketedGenericArguments

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for AngleBracketedGenericArguments

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for AngleBracketedGenericArguments

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for AngleBracketedGenericArguments

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §colon2_token: Option<PathSep>§lt_token: Lt§args: Punctuated<GenericArgument, Comma>§gt_token: Gt

    Trait Implementations§

    Source§

    impl Clone for AngleBracketedGenericArguments

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AngleBracketedGenericArguments

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for AngleBracketedGenericArguments

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for AngleBracketedGenericArguments

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for AngleBracketedGenericArguments

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for AngleBracketedGenericArguments

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for AngleBracketedGenericArguments

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.AssocConst.html b/syn/struct.AssocConst.html index af9004a..c5d42b7 100644 --- a/syn/struct.AssocConst.html +++ b/syn/struct.AssocConst.html @@ -1,27 +1,27 @@ -AssocConst in syn - Rust
    syn

    Struct AssocConst

    source
    pub struct AssocConst {
    +AssocConst in syn - Rust
    syn

    Struct AssocConst

    Source
    pub struct AssocConst {
         pub ident: Ident,
    -    pub generics: Option<AngleBracketedGenericArguments>,
    +    pub generics: Option<AngleBracketedGenericArguments>,
         pub eq_token: Eq,
         pub value: Expr,
     }
    Expand description

    An equality constraint on an associated constant: the PANIC = false in Trait<PANIC = false>.

    -

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§eq_token: Eq§value: Expr

    Trait Implementations§

    source§

    impl Clone for AssocConst

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AssocConst

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for AssocConst

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for AssocConst

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for AssocConst

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for AssocConst

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§eq_token: Eq§value: Expr

    Trait Implementations§

    Source§

    impl Clone for AssocConst

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AssocConst

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for AssocConst

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for AssocConst

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for AssocConst

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for AssocConst

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.AssocType.html b/syn/struct.AssocType.html index 3789866..26c4266 100644 --- a/syn/struct.AssocType.html +++ b/syn/struct.AssocType.html @@ -1,27 +1,27 @@ -AssocType in syn - Rust
    syn

    Struct AssocType

    source
    pub struct AssocType {
    +AssocType in syn - Rust
    syn

    Struct AssocType

    Source
    pub struct AssocType {
         pub ident: Ident,
    -    pub generics: Option<AngleBracketedGenericArguments>,
    +    pub generics: Option<AngleBracketedGenericArguments>,
         pub eq_token: Eq,
         pub ty: Type,
     }
    Expand description

    A binding (equality constraint) on an associated type: the Item = u8 in Iterator<Item = u8>.

    -

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§eq_token: Eq§ty: Type

    Trait Implementations§

    source§

    impl Clone for AssocType

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AssocType

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for AssocType

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for AssocType

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for AssocType

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for AssocType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§eq_token: Eq§ty: Type

    Trait Implementations§

    Source§

    impl Clone for AssocType

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AssocType

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for AssocType

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for AssocType

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for AssocType

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for AssocType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Attribute.html b/syn/struct.Attribute.html index da0292d..b1bc0f4 100644 --- a/syn/struct.Attribute.html +++ b/syn/struct.Attribute.html @@ -1,4 +1,4 @@ -Attribute in syn - Rust
    syn

    Struct Attribute

    source
    pub struct Attribute {
    +Attribute in syn - Rust
    syn

    Struct Attribute

    Source
    pub struct Attribute {
         pub pound_token: Pound,
         pub style: AttrStyle,
         pub bracket_token: Bracket,
    @@ -134,10 +134,10 @@ expanded into an attribute of the form #[doc = r"comment"].

    } }; assert_eq!(doc, attr);
    -

    Fields§

    §pound_token: Pound§style: AttrStyle§bracket_token: Bracket§meta: Meta

    Implementations§

    source§

    impl Attribute

    source

    pub fn path(&self) -> &Path

    Returns the path that identifies the interpretation of this attribute.

    +

    Fields§

    §pound_token: Pound§style: AttrStyle§bracket_token: Bracket§meta: Meta

    Implementations§

    Source§

    impl Attribute

    Source

    pub fn path(&self) -> &Path

    Returns the path that identifies the interpretation of this attribute.

    For example this would return the test in #[test], the derive in #[derive(Copy)], and the path in #[path = "sys/windows.rs"].

    -
    source

    pub fn parse_args<T: Parse>(&self) -> Result<T>

    Parse the arguments to the attribute as a syntax tree.

    +
    Source

    pub fn parse_args<T: Parse>(&self) -> Result<T>

    Parse the arguments to the attribute as a syntax tree.

    This is similar to pulling out the TokenStream from Meta::List and doing syn::parse2::<T>(meta_list.tokens), except that using parse_args the error message has a more useful span when tokens is @@ -156,7 +156,7 @@ parser.

    let precondition: Expr = attr.parse_args()?; // ... }
    -
    source

    pub fn parse_args_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Parse the arguments to the attribute using the given parser.

    +
    Source

    pub fn parse_args_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Parse the arguments to the attribute using the given parser.

    §Example
    use syn::{parse_quote, Attribute};
     
    @@ -168,10 +168,10 @@ parser.

    // Attribute does not have a Parse impl, so we couldn't directly do: // let bwom: Attribute = attr.parse_args()?;
    -
    source

    pub fn parse_nested_meta( +

    Source

    pub fn parse_nested_meta( &self, - logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>, -) -> Result<()>

    Parse the arguments to the attribute, expecting it to follow the + logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>, +) -> Result<()>

    Parse the arguments to the attribute, expecting it to follow the conventional structure used by most of Rust’s built-in attributes.

    The Meta Item Attribute Syntax section in the Rust reference explains the convention in more detail. Not all attributes follow this @@ -272,31 +272,31 @@ content, the following less flexible approach might be more convenient:

    } } }
    -
    source

    pub fn parse_outer(input: ParseStream<'_>) -> Result<Vec<Self>>

    Parses zero or more outer attributes from the stream.

    +
    Source

    pub fn parse_outer(input: ParseStream<'_>) -> Result<Vec<Self>>

    Parses zero or more outer attributes from the stream.

    §Example

    See Parsing from tokens to Attribute.

    -
    source

    pub fn parse_inner(input: ParseStream<'_>) -> Result<Vec<Self>>

    Parses zero or more inner attributes from the stream.

    +
    Source

    pub fn parse_inner(input: ParseStream<'_>) -> Result<Vec<Self>>

    Parses zero or more inner attributes from the stream.

    §Example

    See Parsing from tokens to Attribute.

    -

    Trait Implementations§

    source§

    impl Clone for Attribute

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Attribute

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Attribute

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Attribute

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Attribute

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Attribute

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Attribute

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Attribute

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Attribute

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Attribute

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Attribute

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Attribute

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.BareFnArg.html b/syn/struct.BareFnArg.html index 7273012..310a71b 100644 --- a/syn/struct.BareFnArg.html +++ b/syn/struct.BareFnArg.html @@ -1,25 +1,25 @@ -BareFnArg in syn - Rust
    syn

    Struct BareFnArg

    source
    pub struct BareFnArg {
    -    pub attrs: Vec<Attribute>,
    -    pub name: Option<(Ident, Colon)>,
    +BareFnArg in syn - Rust
    syn

    Struct BareFnArg

    Source
    pub struct BareFnArg {
    +    pub attrs: Vec<Attribute>,
    +    pub name: Option<(Ident, Colon)>,
         pub ty: Type,
     }
    Expand description

    An argument in a function type: the usize in fn(usize) -> bool.

    -

    Fields§

    §attrs: Vec<Attribute>§name: Option<(Ident, Colon)>§ty: Type

    Trait Implementations§

    source§

    impl Clone for BareFnArg

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BareFnArg

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BareFnArg

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for BareFnArg

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for BareFnArg

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for BareFnArg

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for BareFnArg

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§name: Option<(Ident, Colon)>§ty: Type

    Trait Implementations§

    Source§

    impl Clone for BareFnArg

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BareFnArg

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for BareFnArg

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for BareFnArg

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for BareFnArg

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for BareFnArg

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for BareFnArg

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.BareVariadic.html b/syn/struct.BareVariadic.html index 157c755..2e53b77 100644 --- a/syn/struct.BareVariadic.html +++ b/syn/struct.BareVariadic.html @@ -1,26 +1,26 @@ -BareVariadic in syn - Rust
    syn

    Struct BareVariadic

    source
    pub struct BareVariadic {
    -    pub attrs: Vec<Attribute>,
    -    pub name: Option<(Ident, Colon)>,
    +BareVariadic in syn - Rust
    syn

    Struct BareVariadic

    Source
    pub struct BareVariadic {
    +    pub attrs: Vec<Attribute>,
    +    pub name: Option<(Ident, Colon)>,
         pub dots: DotDotDot,
    -    pub comma: Option<Comma>,
    +    pub comma: Option<Comma>,
     }
    Expand description

    The variadic argument of a function pointer like fn(usize, ...).

    -

    Fields§

    §attrs: Vec<Attribute>§name: Option<(Ident, Colon)>§dots: DotDotDot§comma: Option<Comma>

    Trait Implementations§

    source§

    impl Clone for BareVariadic

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BareVariadic

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BareVariadic

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BareVariadic

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for BareVariadic

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for BareVariadic

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§name: Option<(Ident, Colon)>§dots: DotDotDot§comma: Option<Comma>

    Trait Implementations§

    Source§

    impl Clone for BareVariadic

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BareVariadic

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for BareVariadic

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for BareVariadic

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for BareVariadic

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for BareVariadic

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.BoundLifetimes.html b/syn/struct.BoundLifetimes.html index 5aa5759..0ad8dba 100644 --- a/syn/struct.BoundLifetimes.html +++ b/syn/struct.BoundLifetimes.html @@ -1,26 +1,26 @@ -BoundLifetimes in syn - Rust
    syn

    Struct BoundLifetimes

    source
    pub struct BoundLifetimes {
    +BoundLifetimes in syn - Rust
    syn

    Struct BoundLifetimes

    Source
    pub struct BoundLifetimes {
         pub for_token: For,
         pub lt_token: Lt,
         pub lifetimes: Punctuated<GenericParam, Comma>,
         pub gt_token: Gt,
     }
    Expand description

    A set of bound lifetimes: for<'a, 'b, 'c>.

    -

    Fields§

    §for_token: For§lt_token: Lt§lifetimes: Punctuated<GenericParam, Comma>§gt_token: Gt

    Trait Implementations§

    source§

    impl Clone for BoundLifetimes

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BoundLifetimes

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BoundLifetimes

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for BoundLifetimes

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for BoundLifetimes

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for BoundLifetimes

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for BoundLifetimes

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for BoundLifetimes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §for_token: For§lt_token: Lt§lifetimes: Punctuated<GenericParam, Comma>§gt_token: Gt

    Trait Implementations§

    Source§

    impl Clone for BoundLifetimes

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BoundLifetimes

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for BoundLifetimes

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for BoundLifetimes

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for BoundLifetimes

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for BoundLifetimes

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for BoundLifetimes

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for BoundLifetimes

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ConstParam.html b/syn/struct.ConstParam.html index 6d4d34f..aff0c2d 100644 --- a/syn/struct.ConstParam.html +++ b/syn/struct.ConstParam.html @@ -1,29 +1,29 @@ -ConstParam in syn - Rust
    syn

    Struct ConstParam

    source
    pub struct ConstParam {
    -    pub attrs: Vec<Attribute>,
    +ConstParam in syn - Rust
    syn

    Struct ConstParam

    Source
    pub struct ConstParam {
    +    pub attrs: Vec<Attribute>,
         pub const_token: Const,
         pub ident: Ident,
         pub colon_token: Colon,
         pub ty: Type,
    -    pub eq_token: Option<Eq>,
    -    pub default: Option<Expr>,
    +    pub eq_token: Option<Eq>,
    +    pub default: Option<Expr>,
     }
    Expand description

    A const generic parameter: const LENGTH: usize.

    -

    Fields§

    §attrs: Vec<Attribute>§const_token: Const§ident: Ident§colon_token: Colon§ty: Type§eq_token: Option<Eq>§default: Option<Expr>

    Trait Implementations§

    source§

    impl Clone for ConstParam

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ConstParam

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ConstParam> for GenericParam

    source§

    fn from(e: ConstParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl Hash for ConstParam

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ConstParam

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ConstParam

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ConstParam

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ConstParam

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§const_token: Const§ident: Ident§colon_token: Colon§ty: Type§eq_token: Option<Eq>§default: Option<Expr>

    Trait Implementations§

    Source§

    impl Clone for ConstParam

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ConstParam

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ConstParam> for GenericParam

    Source§

    fn from(e: ConstParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl Hash for ConstParam

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ConstParam

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ConstParam

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ConstParam

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ConstParam

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Constraint.html b/syn/struct.Constraint.html index 366471c..4708c2c 100644 --- a/syn/struct.Constraint.html +++ b/syn/struct.Constraint.html @@ -1,26 +1,26 @@ -Constraint in syn - Rust
    syn

    Struct Constraint

    source
    pub struct Constraint {
    +Constraint in syn - Rust
    syn

    Struct Constraint

    Source
    pub struct Constraint {
         pub ident: Ident,
    -    pub generics: Option<AngleBracketedGenericArguments>,
    +    pub generics: Option<AngleBracketedGenericArguments>,
         pub colon_token: Colon,
         pub bounds: Punctuated<TypeParamBound, Plus>,
     }
    Expand description

    An associated type bound: Iterator<Item: Display>.

    -

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§colon_token: Colon§bounds: Punctuated<TypeParamBound, Plus>

    Trait Implementations§

    source§

    impl Clone for Constraint

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Constraint

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Constraint

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Constraint

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Constraint

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Constraint

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §ident: Ident§generics: Option<AngleBracketedGenericArguments>§colon_token: Colon§bounds: Punctuated<TypeParamBound, Plus>

    Trait Implementations§

    Source§

    impl Clone for Constraint

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Constraint

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Constraint

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Constraint

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Constraint

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Constraint

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.DataEnum.html b/syn/struct.DataEnum.html index 8b5dd0f..6abe6e8 100644 --- a/syn/struct.DataEnum.html +++ b/syn/struct.DataEnum.html @@ -1,22 +1,22 @@ -DataEnum in syn - Rust
    syn

    Struct DataEnum

    source
    pub struct DataEnum {
    +DataEnum in syn - Rust
    syn

    Struct DataEnum

    Source
    pub struct DataEnum {
         pub enum_token: Enum,
         pub brace_token: Brace,
         pub variants: Punctuated<Variant, Comma>,
     }
    Expand description

    An enum input to a proc_macro_derive macro.

    -

    Fields§

    §enum_token: Enum§brace_token: Brace§variants: Punctuated<Variant, Comma>

    Trait Implementations§

    source§

    impl Clone for DataEnum

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DataEnum

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for DataEnum

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for DataEnum

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for DataEnum

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §enum_token: Enum§brace_token: Brace§variants: Punctuated<Variant, Comma>

    Trait Implementations§

    Source§

    impl Clone for DataEnum

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DataEnum

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DataEnum

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for DataEnum

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for DataEnum

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.DataStruct.html b/syn/struct.DataStruct.html index 135fd7c..548146e 100644 --- a/syn/struct.DataStruct.html +++ b/syn/struct.DataStruct.html @@ -1,22 +1,22 @@ -DataStruct in syn - Rust
    syn

    Struct DataStruct

    source
    pub struct DataStruct {
    +DataStruct in syn - Rust
    syn

    Struct DataStruct

    Source
    pub struct DataStruct {
         pub struct_token: Struct,
         pub fields: Fields,
    -    pub semi_token: Option<Semi>,
    +    pub semi_token: Option<Semi>,
     }
    Expand description

    A struct input to a proc_macro_derive macro.

    -

    Fields§

    §struct_token: Struct§fields: Fields§semi_token: Option<Semi>

    Trait Implementations§

    source§

    impl Clone for DataStruct

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DataStruct

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for DataStruct

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for DataStruct

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for DataStruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §struct_token: Struct§fields: Fields§semi_token: Option<Semi>

    Trait Implementations§

    Source§

    impl Clone for DataStruct

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DataStruct

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DataStruct

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for DataStruct

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for DataStruct

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.DataUnion.html b/syn/struct.DataUnion.html index c49aee4..ce94c89 100644 --- a/syn/struct.DataUnion.html +++ b/syn/struct.DataUnion.html @@ -1,21 +1,21 @@ -DataUnion in syn - Rust
    syn

    Struct DataUnion

    source
    pub struct DataUnion {
    +DataUnion in syn - Rust
    syn

    Struct DataUnion

    Source
    pub struct DataUnion {
         pub union_token: Union,
         pub fields: FieldsNamed,
     }
    Expand description

    An untagged union input to a proc_macro_derive macro.

    -

    Fields§

    §union_token: Union§fields: FieldsNamed

    Trait Implementations§

    source§

    impl Clone for DataUnion

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DataUnion

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for DataUnion

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for DataUnion

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for DataUnion

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §union_token: Union§fields: FieldsNamed

    Trait Implementations§

    Source§

    impl Clone for DataUnion

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DataUnion

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DataUnion

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for DataUnion

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Eq for DataUnion

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.DeriveInput.html b/syn/struct.DeriveInput.html index df80129..4d7fca1 100644 --- a/syn/struct.DeriveInput.html +++ b/syn/struct.DeriveInput.html @@ -1,27 +1,27 @@ -DeriveInput in syn - Rust
    syn

    Struct DeriveInput

    source
    pub struct DeriveInput {
    -    pub attrs: Vec<Attribute>,
    +DeriveInput in syn - Rust
    syn

    Struct DeriveInput

    Source
    pub struct DeriveInput {
    +    pub attrs: Vec<Attribute>,
         pub vis: Visibility,
         pub ident: Ident,
         pub generics: Generics,
         pub data: Data,
     }
    Expand description

    Data structure sent to a proc_macro_derive macro.

    -

    Fields§

    §attrs: Vec<Attribute>§vis: Visibility§ident: Ident§generics: Generics§data: Data

    Trait Implementations§

    source§

    impl Clone for DeriveInput

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DeriveInput

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for DeriveInput

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for DeriveInput

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for DeriveInput

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for DeriveInput

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for DeriveInput

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§vis: Visibility§ident: Ident§generics: Generics§data: Data

    Trait Implementations§

    Source§

    impl Clone for DeriveInput

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DeriveInput

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for DeriveInput

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for DeriveInput

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for DeriveInput

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for DeriveInput

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for DeriveInput

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Error.html b/syn/struct.Error.html index 1cc2859..51cfada 100644 --- a/syn/struct.Error.html +++ b/syn/struct.Error.html @@ -1,8 +1,8 @@ -Error in syn - Rust
    syn

    Struct Error

    source
    pub struct Error { /* private fields */ }
    Expand description

    Error returned when a Syn parser cannot parse the input tokens.

    +Error in syn - Rust
    syn

    Struct Error

    Source
    pub struct Error { /* private fields */ }
    Expand description

    Error returned when a Syn parser cannot parse the input tokens.

    §Error reporting in proc macros

    The correct way to report errors back to the compiler from a procedural macro is by emitting an appropriately spanned invocation of -compile_error! in the generated code. This produces a better diagnostic +compile_error! in the generated code. This produces a better diagnostic message than simply panicking the macro.

    When parsing macro input, the parse_macro_input! macro handles the conversion to compile_error! automatically.

    @@ -41,7 +41,7 @@ perform an explicit conversion to compile_error!.

    .unwrap_or_else(syn::Error::into_compile_error) .into() }
    -

    Implementations§

    source§

    impl Error

    source

    pub fn new<T: Display>(span: Span, message: T) -> Self

    Usually the ParseStream::error method will be used instead, which +

    Implementations§

    Source§

    impl Error

    Source

    pub fn new<T: Display>(span: Span, message: T) -> Self

    Usually the ParseStream::error method will be used instead, which automatically uses the correct span from the current position of the parse stream.

    Use Error::new when the error needs to be triggered on some span other @@ -64,7 +64,7 @@ than where the parse stream is currently positioned.

    let s: LitStr = input.parse()?; Ok(s) }
    -
    source

    pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self

    Creates an error with the specified message spanning the given syntax +

    Source

    pub fn new_spanned<T: ToTokens, U: Display>(tokens: T, message: U) -> Self

    Creates an error with the specified message spanning the given syntax tree node.

    Unlike the Error::new constructor, this constructor takes an argument tokens which is a syntax tree node. This allows the resulting Error @@ -75,14 +75,14 @@ constructor, implementation limitations today mean that stable Rust.

    When in doubt it’s recommended to stick to Error::new (or ParseStream::error)!

    -
    source

    pub fn span(&self) -> Span

    The source location of the error.

    +
    Source

    pub fn span(&self) -> Span

    The source location of the error.

    Spans are not thread-safe so this function returns Span::call_site() if called from a different thread than the one on which the Error was originally created.

    -
    source

    pub fn to_compile_error(&self) -> TokenStream

    Render the error as an invocation of compile_error!.

    +
    Source

    pub fn to_compile_error(&self) -> TokenStream

    Render the error as an invocation of compile_error!.

    The parse_macro_input! macro provides a convenient way to invoke this method correctly in a procedural macro.

    -
    source

    pub fn into_compile_error(self) -> TokenStream

    Render the error as an invocation of compile_error!.

    +
    Source

    pub fn into_compile_error(self) -> TokenStream

    Render the error as an invocation of compile_error!.

    §Example
    use proc_macro::TokenStream;
     use syn::{parse_macro_input, DeriveInput, Error};
    @@ -103,19 +103,19 @@ this method correctly in a procedural macro.

    /* ... */ } }
    -
    source

    pub fn combine(&mut self, another: Error)

    Add another error message to self such that when to_compile_error() is +

    Source

    pub fn combine(&mut self, another: Error)

    Add another error message to self such that when to_compile_error() is called, both errors will be emitted together.

    -

    Trait Implementations§

    source§

    impl Clone for Error

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Error

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl Extend<Error> for Error

    source§

    fn extend<T: IntoIterator<Item = Error>>(&mut self, iter: T)

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl From<LexError> for Error

    source§

    fn from(err: LexError) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> IntoIterator for &'a Error

    source§

    type Item = Error

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<'a>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl IntoIterator for Error

    source§

    type Item = Error

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Error

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Error

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Error

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Error for Error

    1.30.0 · Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl Extend<Error> for Error

    Source§

    fn extend<T: IntoIterator<Item = Error>>(&mut self, iter: T)

    Extends a collection with the contents of an iterator. Read more
    Source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    Source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    Source§

    impl From<LexError> for Error

    Source§

    fn from(err: LexError) -> Self

    Converts to this type from the input type.
    Source§

    impl<'a> IntoIterator for &'a Error

    Source§

    type Item = Error

    The type of the elements being iterated over.
    Source§

    type IntoIter = Iter<'a>

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    Source§

    impl IntoIterator for Error

    Source§

    type Item = Error

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter

    Which kind of iterator are we turning this into?
    Source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprArray.html b/syn/struct.ExprArray.html index bb6bc72..79bda78 100644 --- a/syn/struct.ExprArray.html +++ b/syn/struct.ExprArray.html @@ -1,15 +1,15 @@ -ExprArray in syn - Rust
    syn

    Struct ExprArray

    source
    pub struct ExprArray { /* private fields */ }
    Expand description

    A slice literal expression: [a, b, c, d].

    -

    Trait Implementations§

    source§

    impl From<ExprArray> for Expr

    source§

    fn from(e: ExprArray) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprArray

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprArray in syn - Rust
    syn

    Struct ExprArray

    Source
    pub struct ExprArray { /* private fields */ }
    Expand description

    A slice literal expression: [a, b, c, d].

    +

    Trait Implementations§

    Source§

    impl From<ExprArray> for Expr

    Source§

    fn from(e: ExprArray) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprArray

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprAssign.html b/syn/struct.ExprAssign.html index 02b4be3..02562c9 100644 --- a/syn/struct.ExprAssign.html +++ b/syn/struct.ExprAssign.html @@ -1,15 +1,15 @@ -ExprAssign in syn - Rust
    syn

    Struct ExprAssign

    source
    pub struct ExprAssign { /* private fields */ }
    Expand description

    An assignment expression: a = compute().

    -

    Trait Implementations§

    source§

    impl From<ExprAssign> for Expr

    source§

    fn from(e: ExprAssign) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprAssign

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprAssign in syn - Rust
    syn

    Struct ExprAssign

    Source
    pub struct ExprAssign { /* private fields */ }
    Expand description

    An assignment expression: a = compute().

    +

    Trait Implementations§

    Source§

    impl From<ExprAssign> for Expr

    Source§

    fn from(e: ExprAssign) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprAssign

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprAsync.html b/syn/struct.ExprAsync.html index 2f006f9..b2b6c38 100644 --- a/syn/struct.ExprAsync.html +++ b/syn/struct.ExprAsync.html @@ -1,15 +1,15 @@ -ExprAsync in syn - Rust
    syn

    Struct ExprAsync

    source
    pub struct ExprAsync { /* private fields */ }
    Expand description

    An async block: async { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprAsync> for Expr

    source§

    fn from(e: ExprAsync) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprAsync

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprAsync in syn - Rust
    syn

    Struct ExprAsync

    Source
    pub struct ExprAsync { /* private fields */ }
    Expand description

    An async block: async { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprAsync> for Expr

    Source§

    fn from(e: ExprAsync) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprAsync

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprAwait.html b/syn/struct.ExprAwait.html index 62b6a6d..bacb656 100644 --- a/syn/struct.ExprAwait.html +++ b/syn/struct.ExprAwait.html @@ -1,15 +1,15 @@ -ExprAwait in syn - Rust
    syn

    Struct ExprAwait

    source
    pub struct ExprAwait { /* private fields */ }
    Expand description

    An await expression: fut.await.

    -

    Trait Implementations§

    source§

    impl From<ExprAwait> for Expr

    source§

    fn from(e: ExprAwait) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprAwait

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprAwait in syn - Rust
    syn

    Struct ExprAwait

    Source
    pub struct ExprAwait { /* private fields */ }
    Expand description

    An await expression: fut.await.

    +

    Trait Implementations§

    Source§

    impl From<ExprAwait> for Expr

    Source§

    fn from(e: ExprAwait) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprAwait

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprBinary.html b/syn/struct.ExprBinary.html index bf497ea..ca884e7 100644 --- a/syn/struct.ExprBinary.html +++ b/syn/struct.ExprBinary.html @@ -1,26 +1,26 @@ -ExprBinary in syn - Rust
    syn

    Struct ExprBinary

    source
    pub struct ExprBinary {
    -    pub attrs: Vec<Attribute>,
    -    pub left: Box<Expr>,
    +ExprBinary in syn - Rust
    syn

    Struct ExprBinary

    Source
    pub struct ExprBinary {
    +    pub attrs: Vec<Attribute>,
    +    pub left: Box<Expr>,
         pub op: BinOp,
    -    pub right: Box<Expr>,
    +    pub right: Box<Expr>,
     }
    Expand description

    A binary operation: a + b, a += b.

    -

    Fields§

    §attrs: Vec<Attribute>§left: Box<Expr>§op: BinOp§right: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprBinary

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprBinary

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprBinary> for Expr

    source§

    fn from(e: ExprBinary) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprBinary

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprBinary

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprBinary

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprBinary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§left: Box<Expr>§op: BinOp§right: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprBinary

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprBinary

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprBinary> for Expr

    Source§

    fn from(e: ExprBinary) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprBinary

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprBinary

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprBinary

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprBinary

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprBlock.html b/syn/struct.ExprBlock.html index 2557b75..5bb1f2f 100644 --- a/syn/struct.ExprBlock.html +++ b/syn/struct.ExprBlock.html @@ -1,15 +1,15 @@ -ExprBlock in syn - Rust
    syn

    Struct ExprBlock

    source
    pub struct ExprBlock { /* private fields */ }
    Expand description

    A blocked scope: { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprBlock> for Expr

    source§

    fn from(e: ExprBlock) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprBlock

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprBlock in syn - Rust
    syn

    Struct ExprBlock

    Source
    pub struct ExprBlock { /* private fields */ }
    Expand description

    A blocked scope: { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprBlock> for Expr

    Source§

    fn from(e: ExprBlock) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprBlock

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprBreak.html b/syn/struct.ExprBreak.html index 51340e3..9840349 100644 --- a/syn/struct.ExprBreak.html +++ b/syn/struct.ExprBreak.html @@ -1,16 +1,16 @@ -ExprBreak in syn - Rust
    syn

    Struct ExprBreak

    source
    pub struct ExprBreak { /* private fields */ }
    Expand description

    A break, with an optional label to break and an optional +ExprBreak in syn - Rust

    syn

    Struct ExprBreak

    Source
    pub struct ExprBreak { /* private fields */ }
    Expand description

    A break, with an optional label to break and an optional expression.

    -

    Trait Implementations§

    source§

    impl From<ExprBreak> for Expr

    source§

    fn from(e: ExprBreak) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprBreak

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl From<ExprBreak> for Expr

    Source§

    fn from(e: ExprBreak) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprBreak

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprCall.html b/syn/struct.ExprCall.html index db5879f..34fc3d1 100644 --- a/syn/struct.ExprCall.html +++ b/syn/struct.ExprCall.html @@ -1,26 +1,26 @@ -ExprCall in syn - Rust
    syn

    Struct ExprCall

    source
    pub struct ExprCall {
    -    pub attrs: Vec<Attribute>,
    -    pub func: Box<Expr>,
    +ExprCall in syn - Rust
    syn

    Struct ExprCall

    Source
    pub struct ExprCall {
    +    pub attrs: Vec<Attribute>,
    +    pub func: Box<Expr>,
         pub paren_token: Paren,
         pub args: Punctuated<Expr, Comma>,
     }
    Expand description

    A function call expression: invoke(a, b).

    -

    Fields§

    §attrs: Vec<Attribute>§func: Box<Expr>§paren_token: Paren§args: Punctuated<Expr, Comma>

    Trait Implementations§

    source§

    impl Clone for ExprCall

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprCall

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprCall> for Expr

    source§

    fn from(e: ExprCall) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprCall

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprCall

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprCall

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprCall

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§func: Box<Expr>§paren_token: Paren§args: Punctuated<Expr, Comma>

    Trait Implementations§

    Source§

    impl Clone for ExprCall

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprCall

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprCall> for Expr

    Source§

    fn from(e: ExprCall) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprCall

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprCall

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprCall

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprCall

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprCast.html b/syn/struct.ExprCast.html index f199edb..101a78b 100644 --- a/syn/struct.ExprCast.html +++ b/syn/struct.ExprCast.html @@ -1,26 +1,26 @@ -ExprCast in syn - Rust
    syn

    Struct ExprCast

    source
    pub struct ExprCast {
    -    pub attrs: Vec<Attribute>,
    -    pub expr: Box<Expr>,
    +ExprCast in syn - Rust
    syn

    Struct ExprCast

    Source
    pub struct ExprCast {
    +    pub attrs: Vec<Attribute>,
    +    pub expr: Box<Expr>,
         pub as_token: As,
    -    pub ty: Box<Type>,
    +    pub ty: Box<Type>,
     }
    Expand description

    A cast expression: foo as f64.

    -

    Fields§

    §attrs: Vec<Attribute>§expr: Box<Expr>§as_token: As§ty: Box<Type>

    Trait Implementations§

    source§

    impl Clone for ExprCast

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprCast

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprCast> for Expr

    source§

    fn from(e: ExprCast) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprCast

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprCast

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprCast

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprCast

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§expr: Box<Expr>§as_token: As§ty: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for ExprCast

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprCast

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprCast> for Expr

    Source§

    fn from(e: ExprCast) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprCast

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprCast

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprCast

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprCast

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprClosure.html b/syn/struct.ExprClosure.html index 880bfc6..02b7244 100644 --- a/syn/struct.ExprClosure.html +++ b/syn/struct.ExprClosure.html @@ -1,15 +1,15 @@ -ExprClosure in syn - Rust
    syn

    Struct ExprClosure

    source
    pub struct ExprClosure { /* private fields */ }
    Expand description

    A closure expression: |a, b| a + b.

    -

    Trait Implementations§

    source§

    impl From<ExprClosure> for Expr

    source§

    fn from(e: ExprClosure) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprClosure

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprClosure in syn - Rust
    syn

    Struct ExprClosure

    Source
    pub struct ExprClosure { /* private fields */ }
    Expand description

    A closure expression: |a, b| a + b.

    +

    Trait Implementations§

    Source§

    impl From<ExprClosure> for Expr

    Source§

    fn from(e: ExprClosure) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprClosure

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprConst.html b/syn/struct.ExprConst.html index f388873..f0a865e 100644 --- a/syn/struct.ExprConst.html +++ b/syn/struct.ExprConst.html @@ -1,15 +1,15 @@ -ExprConst in syn - Rust
    syn

    Struct ExprConst

    source
    pub struct ExprConst { /* private fields */ }
    Expand description

    A const block: const { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprConst> for Expr

    source§

    fn from(e: ExprConst) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprConst

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprConst in syn - Rust
    syn

    Struct ExprConst

    Source
    pub struct ExprConst { /* private fields */ }
    Expand description

    A const block: const { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprConst> for Expr

    Source§

    fn from(e: ExprConst) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprConst

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprContinue.html b/syn/struct.ExprContinue.html index 538307b..85c0893 100644 --- a/syn/struct.ExprContinue.html +++ b/syn/struct.ExprContinue.html @@ -1,15 +1,15 @@ -ExprContinue in syn - Rust
    syn

    Struct ExprContinue

    source
    pub struct ExprContinue { /* private fields */ }
    Expand description

    A continue, with an optional label.

    -

    Trait Implementations§

    source§

    impl From<ExprContinue> for Expr

    source§

    fn from(e: ExprContinue) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprContinue

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprContinue in syn - Rust
    syn

    Struct ExprContinue

    Source
    pub struct ExprContinue { /* private fields */ }
    Expand description

    A continue, with an optional label.

    +

    Trait Implementations§

    Source§

    impl From<ExprContinue> for Expr

    Source§

    fn from(e: ExprContinue) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprContinue

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprField.html b/syn/struct.ExprField.html index ef65097..29bb27b 100644 --- a/syn/struct.ExprField.html +++ b/syn/struct.ExprField.html @@ -1,27 +1,27 @@ -ExprField in syn - Rust
    syn

    Struct ExprField

    source
    pub struct ExprField {
    -    pub attrs: Vec<Attribute>,
    -    pub base: Box<Expr>,
    +ExprField in syn - Rust
    syn

    Struct ExprField

    Source
    pub struct ExprField {
    +    pub attrs: Vec<Attribute>,
    +    pub base: Box<Expr>,
         pub dot_token: Dot,
         pub member: Member,
     }
    Expand description

    Access of a named struct field (obj.k) or unnamed tuple struct field (obj.0).

    -

    Fields§

    §attrs: Vec<Attribute>§base: Box<Expr>§dot_token: Dot§member: Member

    Trait Implementations§

    source§

    impl Clone for ExprField

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprField

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprField> for Expr

    source§

    fn from(e: ExprField) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprField

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprField

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprField

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprField

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§base: Box<Expr>§dot_token: Dot§member: Member

    Trait Implementations§

    Source§

    impl Clone for ExprField

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprField

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprField> for Expr

    Source§

    fn from(e: ExprField) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprField

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprField

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprField

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprField

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprForLoop.html b/syn/struct.ExprForLoop.html index b44bc18..49b26bd 100644 --- a/syn/struct.ExprForLoop.html +++ b/syn/struct.ExprForLoop.html @@ -1,15 +1,15 @@ -ExprForLoop in syn - Rust
    syn

    Struct ExprForLoop

    source
    pub struct ExprForLoop { /* private fields */ }
    Expand description

    A for loop: for pat in expr { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprForLoop> for Expr

    source§

    fn from(e: ExprForLoop) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprForLoop

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprForLoop in syn - Rust
    syn

    Struct ExprForLoop

    Source
    pub struct ExprForLoop { /* private fields */ }
    Expand description

    A for loop: for pat in expr { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprForLoop> for Expr

    Source§

    fn from(e: ExprForLoop) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprForLoop

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprGroup.html b/syn/struct.ExprGroup.html index fdadaf0..e9da60a 100644 --- a/syn/struct.ExprGroup.html +++ b/syn/struct.ExprGroup.html @@ -1,28 +1,28 @@ -ExprGroup in syn - Rust
    syn

    Struct ExprGroup

    source
    pub struct ExprGroup {
    -    pub attrs: Vec<Attribute>,
    +ExprGroup in syn - Rust
    syn

    Struct ExprGroup

    Source
    pub struct ExprGroup {
    +    pub attrs: Vec<Attribute>,
         pub group_token: Group,
    -    pub expr: Box<Expr>,
    +    pub expr: Box<Expr>,
     }
    Expand description

    An expression contained within invisible delimiters.

    This variant is important for faithfully representing the precedence of expressions and is related to None-delimited spans in a TokenStream.

    -

    Fields§

    §attrs: Vec<Attribute>§group_token: Group§expr: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprGroup

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprGroup

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprGroup> for Expr

    source§

    fn from(e: ExprGroup) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprGroup

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprGroup

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§group_token: Group§expr: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprGroup

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprGroup

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprGroup> for Expr

    Source§

    fn from(e: ExprGroup) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprGroup

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprGroup

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprGroup

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprGroup

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprIf.html b/syn/struct.ExprIf.html index 60d6eb2..0896226 100644 --- a/syn/struct.ExprIf.html +++ b/syn/struct.ExprIf.html @@ -1,17 +1,17 @@ -ExprIf in syn - Rust
    syn

    Struct ExprIf

    source
    pub struct ExprIf { /* private fields */ }
    Expand description

    An if expression with an optional else block: if expr { ... } else { ... }.

    +ExprIf in syn - Rust
    syn

    Struct ExprIf

    Source
    pub struct ExprIf { /* private fields */ }
    Expand description

    An if expression with an optional else block: if expr { ... } else { ... }.

    The else branch expression may only be an If or Block expression, not any of the other types of expression.

    -

    Trait Implementations§

    source§

    impl From<ExprIf> for Expr

    source§

    fn from(e: ExprIf) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprIf

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    §

    impl Freeze for ExprIf

    §

    impl RefUnwindSafe for ExprIf

    §

    impl !Send for ExprIf

    §

    impl !Sync for ExprIf

    §

    impl Unpin for ExprIf

    §

    impl UnwindSafe for ExprIf

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl From<ExprIf> for Expr

    Source§

    fn from(e: ExprIf) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprIf

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    §

    impl Freeze for ExprIf

    §

    impl RefUnwindSafe for ExprIf

    §

    impl !Send for ExprIf

    §

    impl !Sync for ExprIf

    §

    impl Unpin for ExprIf

    §

    impl UnwindSafe for ExprIf

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprIndex.html b/syn/struct.ExprIndex.html index 701e58c..091c9d4 100644 --- a/syn/struct.ExprIndex.html +++ b/syn/struct.ExprIndex.html @@ -1,26 +1,26 @@ -ExprIndex in syn - Rust
    syn

    Struct ExprIndex

    source
    pub struct ExprIndex {
    -    pub attrs: Vec<Attribute>,
    -    pub expr: Box<Expr>,
    +ExprIndex in syn - Rust
    syn

    Struct ExprIndex

    Source
    pub struct ExprIndex {
    +    pub attrs: Vec<Attribute>,
    +    pub expr: Box<Expr>,
         pub bracket_token: Bracket,
    -    pub index: Box<Expr>,
    +    pub index: Box<Expr>,
     }
    Expand description

    A square bracketed indexing expression: vector[2].

    -

    Fields§

    §attrs: Vec<Attribute>§expr: Box<Expr>§bracket_token: Bracket§index: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprIndex

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprIndex

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprIndex> for Expr

    source§

    fn from(e: ExprIndex) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprIndex

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprIndex

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprIndex

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprIndex

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§expr: Box<Expr>§bracket_token: Bracket§index: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprIndex

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprIndex

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprIndex> for Expr

    Source§

    fn from(e: ExprIndex) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprIndex

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprIndex

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprIndex

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprIndex

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprInfer.html b/syn/struct.ExprInfer.html index ea7448f..9226941 100644 --- a/syn/struct.ExprInfer.html +++ b/syn/struct.ExprInfer.html @@ -1,15 +1,15 @@ -ExprInfer in syn - Rust
    syn

    Struct ExprInfer

    source
    pub struct ExprInfer { /* private fields */ }
    Expand description

    The inferred value of a const generic argument, denoted _.

    -

    Trait Implementations§

    source§

    impl From<ExprInfer> for Expr

    source§

    fn from(e: ExprInfer) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprInfer

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprInfer in syn - Rust
    syn

    Struct ExprInfer

    Source
    pub struct ExprInfer { /* private fields */ }
    Expand description

    The inferred value of a const generic argument, denoted _.

    +

    Trait Implementations§

    Source§

    impl From<ExprInfer> for Expr

    Source§

    fn from(e: ExprInfer) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprInfer

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprLet.html b/syn/struct.ExprLet.html index dcac92f..53708dc 100644 --- a/syn/struct.ExprLet.html +++ b/syn/struct.ExprLet.html @@ -1,15 +1,15 @@ -ExprLet in syn - Rust
    syn

    Struct ExprLet

    source
    pub struct ExprLet { /* private fields */ }
    Expand description

    A let guard: let Some(x) = opt.

    -

    Trait Implementations§

    source§

    impl From<ExprLet> for Expr

    source§

    fn from(e: ExprLet) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprLet

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprLet in syn - Rust
    syn

    Struct ExprLet

    Source
    pub struct ExprLet { /* private fields */ }
    Expand description

    A let guard: let Some(x) = opt.

    +

    Trait Implementations§

    Source§

    impl From<ExprLet> for Expr

    Source§

    fn from(e: ExprLet) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprLet

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprLit.html b/syn/struct.ExprLit.html index 64352c3..76bd531 100644 --- a/syn/struct.ExprLit.html +++ b/syn/struct.ExprLit.html @@ -1,24 +1,24 @@ -ExprLit in syn - Rust
    syn

    Struct ExprLit

    source
    pub struct ExprLit {
    -    pub attrs: Vec<Attribute>,
    +ExprLit in syn - Rust
    syn

    Struct ExprLit

    Source
    pub struct ExprLit {
    +    pub attrs: Vec<Attribute>,
         pub lit: Lit,
     }
    Expand description

    A literal in place of an expression: 1, "foo".

    -

    Fields§

    §attrs: Vec<Attribute>§lit: Lit

    Trait Implementations§

    source§

    impl Clone for ExprLit

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprLit

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprLit> for Expr

    source§

    fn from(e: ExprLit) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprLit

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ExprLit

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ExprLit

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprLit

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprLit

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§lit: Lit

    Trait Implementations§

    Source§

    impl Clone for ExprLit

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprLit

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprLit> for Expr

    Source§

    fn from(e: ExprLit) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprLit

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ExprLit

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ExprLit

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprLit

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprLit

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprLoop.html b/syn/struct.ExprLoop.html index cb1ceec..e2c7b99 100644 --- a/syn/struct.ExprLoop.html +++ b/syn/struct.ExprLoop.html @@ -1,15 +1,15 @@ -ExprLoop in syn - Rust
    syn

    Struct ExprLoop

    source
    pub struct ExprLoop { /* private fields */ }
    Expand description

    Conditionless loop: loop { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprLoop> for Expr

    source§

    fn from(e: ExprLoop) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprLoop

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprLoop in syn - Rust
    syn

    Struct ExprLoop

    Source
    pub struct ExprLoop { /* private fields */ }
    Expand description

    Conditionless loop: loop { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprLoop> for Expr

    Source§

    fn from(e: ExprLoop) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprLoop

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprMacro.html b/syn/struct.ExprMacro.html index 3de7286..d78b75e 100644 --- a/syn/struct.ExprMacro.html +++ b/syn/struct.ExprMacro.html @@ -1,24 +1,24 @@ -ExprMacro in syn - Rust
    syn

    Struct ExprMacro

    source
    pub struct ExprMacro {
    -    pub attrs: Vec<Attribute>,
    +ExprMacro in syn - Rust
    syn

    Struct ExprMacro

    Source
    pub struct ExprMacro {
    +    pub attrs: Vec<Attribute>,
         pub mac: Macro,
     }
    Expand description

    A macro invocation expression: format!("{}", q).

    -

    Fields§

    §attrs: Vec<Attribute>§mac: Macro

    Trait Implementations§

    source§

    impl Clone for ExprMacro

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprMacro

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprMacro> for Expr

    source§

    fn from(e: ExprMacro) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprMacro

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ExprMacro

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ExprMacro

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprMacro

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprMacro

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§mac: Macro

    Trait Implementations§

    Source§

    impl Clone for ExprMacro

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprMacro

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprMacro> for Expr

    Source§

    fn from(e: ExprMacro) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprMacro

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ExprMacro

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ExprMacro

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprMacro

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprMacro

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprMatch.html b/syn/struct.ExprMatch.html index 6d05290..7b6d656 100644 --- a/syn/struct.ExprMatch.html +++ b/syn/struct.ExprMatch.html @@ -1,15 +1,15 @@ -ExprMatch in syn - Rust
    syn

    Struct ExprMatch

    source
    pub struct ExprMatch { /* private fields */ }
    Expand description

    A match expression: match n { Some(n) => {}, None => {} }.

    -

    Trait Implementations§

    source§

    impl From<ExprMatch> for Expr

    source§

    fn from(e: ExprMatch) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprMatch

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprMatch in syn - Rust
    syn

    Struct ExprMatch

    Source
    pub struct ExprMatch { /* private fields */ }
    Expand description

    A match expression: match n { Some(n) => {}, None => {} }.

    +

    Trait Implementations§

    Source§

    impl From<ExprMatch> for Expr

    Source§

    fn from(e: ExprMatch) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprMatch

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprMethodCall.html b/syn/struct.ExprMethodCall.html index 38cc798..61e91c9 100644 --- a/syn/struct.ExprMethodCall.html +++ b/syn/struct.ExprMethodCall.html @@ -1,29 +1,29 @@ -ExprMethodCall in syn - Rust
    syn

    Struct ExprMethodCall

    source
    pub struct ExprMethodCall {
    -    pub attrs: Vec<Attribute>,
    -    pub receiver: Box<Expr>,
    +ExprMethodCall in syn - Rust
    syn

    Struct ExprMethodCall

    Source
    pub struct ExprMethodCall {
    +    pub attrs: Vec<Attribute>,
    +    pub receiver: Box<Expr>,
         pub dot_token: Dot,
         pub method: Ident,
    -    pub turbofish: Option<AngleBracketedGenericArguments>,
    +    pub turbofish: Option<AngleBracketedGenericArguments>,
         pub paren_token: Paren,
         pub args: Punctuated<Expr, Comma>,
     }
    Expand description

    A method call expression: x.foo::<T>(a, b).

    -

    Fields§

    §attrs: Vec<Attribute>§receiver: Box<Expr>§dot_token: Dot§method: Ident§turbofish: Option<AngleBracketedGenericArguments>§paren_token: Paren§args: Punctuated<Expr, Comma>

    Trait Implementations§

    source§

    impl Clone for ExprMethodCall

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprMethodCall

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprMethodCall> for Expr

    source§

    fn from(e: ExprMethodCall) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprMethodCall

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprMethodCall

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprMethodCall

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprMethodCall

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§receiver: Box<Expr>§dot_token: Dot§method: Ident§turbofish: Option<AngleBracketedGenericArguments>§paren_token: Paren§args: Punctuated<Expr, Comma>

    Trait Implementations§

    Source§

    impl Clone for ExprMethodCall

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprMethodCall

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprMethodCall> for Expr

    Source§

    fn from(e: ExprMethodCall) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprMethodCall

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprMethodCall

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprMethodCall

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprMethodCall

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprParen.html b/syn/struct.ExprParen.html index ff141a9..60f35af 100644 --- a/syn/struct.ExprParen.html +++ b/syn/struct.ExprParen.html @@ -1,25 +1,25 @@ -ExprParen in syn - Rust
    syn

    Struct ExprParen

    source
    pub struct ExprParen {
    -    pub attrs: Vec<Attribute>,
    +ExprParen in syn - Rust
    syn

    Struct ExprParen

    Source
    pub struct ExprParen {
    +    pub attrs: Vec<Attribute>,
         pub paren_token: Paren,
    -    pub expr: Box<Expr>,
    +    pub expr: Box<Expr>,
     }
    Expand description

    A parenthesized expression: (a + b).

    -

    Fields§

    §attrs: Vec<Attribute>§paren_token: Paren§expr: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprParen

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprParen

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprParen> for Expr

    source§

    fn from(e: ExprParen) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprParen

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprParen

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprParen

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprParen

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§paren_token: Paren§expr: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprParen

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprParen

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprParen> for Expr

    Source§

    fn from(e: ExprParen) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprParen

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprParen

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprParen

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprParen

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprPath.html b/syn/struct.ExprPath.html index 08784f8..dcc2a48 100644 --- a/syn/struct.ExprPath.html +++ b/syn/struct.ExprPath.html @@ -1,27 +1,27 @@ -ExprPath in syn - Rust
    syn

    Struct ExprPath

    source
    pub struct ExprPath {
    -    pub attrs: Vec<Attribute>,
    -    pub qself: Option<QSelf>,
    +ExprPath in syn - Rust
    syn

    Struct ExprPath

    Source
    pub struct ExprPath {
    +    pub attrs: Vec<Attribute>,
    +    pub qself: Option<QSelf>,
         pub path: Path,
     }
    Expand description

    A path like std::mem::replace possibly containing generic parameters and a qualified self-type.

    A plain identifier like x is a path of length 1.

    -

    Fields§

    §attrs: Vec<Attribute>§qself: Option<QSelf>§path: Path

    Trait Implementations§

    source§

    impl Clone for ExprPath

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprPath

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprPath> for Expr

    source§

    fn from(e: ExprPath) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprPath

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ExprPath

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ExprPath

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprPath

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprPath

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§qself: Option<QSelf>§path: Path

    Trait Implementations§

    Source§

    impl Clone for ExprPath

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprPath

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprPath> for Expr

    Source§

    fn from(e: ExprPath) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprPath

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ExprPath

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ExprPath

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprPath

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprPath

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprRange.html b/syn/struct.ExprRange.html index 913964c..28ea072 100644 --- a/syn/struct.ExprRange.html +++ b/syn/struct.ExprRange.html @@ -1,15 +1,15 @@ -ExprRange in syn - Rust
    syn

    Struct ExprRange

    source
    pub struct ExprRange { /* private fields */ }
    Expand description

    A range expression: 1..2, 1.., ..2, 1..=2, ..=2.

    -

    Trait Implementations§

    source§

    impl From<ExprRange> for Expr

    source§

    fn from(e: ExprRange) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprRange

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprRange in syn - Rust
    syn

    Struct ExprRange

    Source
    pub struct ExprRange { /* private fields */ }
    Expand description

    A range expression: 1..2, 1.., ..2, 1..=2, ..=2.

    +

    Trait Implementations§

    Source§

    impl From<ExprRange> for Expr

    Source§

    fn from(e: ExprRange) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprRange

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprRawAddr.html b/syn/struct.ExprRawAddr.html index 142b5ad..9a3cbec 100644 --- a/syn/struct.ExprRawAddr.html +++ b/syn/struct.ExprRawAddr.html @@ -1,15 +1,15 @@ -ExprRawAddr in syn - Rust
    syn

    Struct ExprRawAddr

    source
    pub struct ExprRawAddr { /* private fields */ }
    Expand description

    Address-of operation: &raw const place or &raw mut place.

    -

    Trait Implementations§

    source§

    impl From<ExprRawAddr> for Expr

    source§

    fn from(e: ExprRawAddr) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprRawAddr

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprRawAddr in syn - Rust
    syn

    Struct ExprRawAddr

    Source
    pub struct ExprRawAddr { /* private fields */ }
    Expand description

    Address-of operation: &raw const place or &raw mut place.

    +

    Trait Implementations§

    Source§

    impl From<ExprRawAddr> for Expr

    Source§

    fn from(e: ExprRawAddr) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprRawAddr

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprReference.html b/syn/struct.ExprReference.html index 691d60e..3d79cb3 100644 --- a/syn/struct.ExprReference.html +++ b/syn/struct.ExprReference.html @@ -1,26 +1,26 @@ -ExprReference in syn - Rust
    syn

    Struct ExprReference

    source
    pub struct ExprReference {
    -    pub attrs: Vec<Attribute>,
    +ExprReference in syn - Rust
    syn

    Struct ExprReference

    Source
    pub struct ExprReference {
    +    pub attrs: Vec<Attribute>,
         pub and_token: And,
    -    pub mutability: Option<Mut>,
    -    pub expr: Box<Expr>,
    +    pub mutability: Option<Mut>,
    +    pub expr: Box<Expr>,
     }
    Expand description

    A referencing operation: &a or &mut a.

    -

    Fields§

    §attrs: Vec<Attribute>§and_token: And§mutability: Option<Mut>§expr: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprReference

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprReference

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprReference> for Expr

    source§

    fn from(e: ExprReference) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprReference

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprReference

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprReference

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprReference

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§and_token: And§mutability: Option<Mut>§expr: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprReference

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprReference

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprReference> for Expr

    Source§

    fn from(e: ExprReference) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprReference

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprReference

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprReference

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprReference

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprRepeat.html b/syn/struct.ExprRepeat.html index b64becc..85dd66b 100644 --- a/syn/struct.ExprRepeat.html +++ b/syn/struct.ExprRepeat.html @@ -1,15 +1,15 @@ -ExprRepeat in syn - Rust
    syn

    Struct ExprRepeat

    source
    pub struct ExprRepeat { /* private fields */ }
    Expand description

    An array literal constructed from one repeated element: [0u8; N].

    -

    Trait Implementations§

    source§

    impl From<ExprRepeat> for Expr

    source§

    fn from(e: ExprRepeat) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprRepeat

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprRepeat in syn - Rust
    syn

    Struct ExprRepeat

    Source
    pub struct ExprRepeat { /* private fields */ }
    Expand description

    An array literal constructed from one repeated element: [0u8; N].

    +

    Trait Implementations§

    Source§

    impl From<ExprRepeat> for Expr

    Source§

    fn from(e: ExprRepeat) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprRepeat

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprReturn.html b/syn/struct.ExprReturn.html index edde234..38923f6 100644 --- a/syn/struct.ExprReturn.html +++ b/syn/struct.ExprReturn.html @@ -1,15 +1,15 @@ -ExprReturn in syn - Rust
    syn

    Struct ExprReturn

    source
    pub struct ExprReturn { /* private fields */ }
    Expand description

    A return, with an optional value to be returned.

    -

    Trait Implementations§

    source§

    impl From<ExprReturn> for Expr

    source§

    fn from(e: ExprReturn) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprReturn

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprReturn in syn - Rust
    syn

    Struct ExprReturn

    Source
    pub struct ExprReturn { /* private fields */ }
    Expand description

    A return, with an optional value to be returned.

    +

    Trait Implementations§

    Source§

    impl From<ExprReturn> for Expr

    Source§

    fn from(e: ExprReturn) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprReturn

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprStruct.html b/syn/struct.ExprStruct.html index 2cf2ddd..5528a82 100644 --- a/syn/struct.ExprStruct.html +++ b/syn/struct.ExprStruct.html @@ -1,30 +1,30 @@ -ExprStruct in syn - Rust
    syn

    Struct ExprStruct

    source
    pub struct ExprStruct {
    -    pub attrs: Vec<Attribute>,
    -    pub qself: Option<QSelf>,
    +ExprStruct in syn - Rust
    syn

    Struct ExprStruct

    Source
    pub struct ExprStruct {
    +    pub attrs: Vec<Attribute>,
    +    pub qself: Option<QSelf>,
         pub path: Path,
         pub brace_token: Brace,
         pub fields: Punctuated<FieldValue, Comma>,
    -    pub dot2_token: Option<DotDot>,
    -    pub rest: Option<Box<Expr>>,
    +    pub dot2_token: Option<DotDot>,
    +    pub rest: Option<Box<Expr>>,
     }
    Expand description

    A struct literal expression: Point { x: 1, y: 1 }.

    The rest provides the value of the remaining fields as in S { a: 1, b: 1, ..rest }.

    -

    Fields§

    §attrs: Vec<Attribute>§qself: Option<QSelf>§path: Path§brace_token: Brace§fields: Punctuated<FieldValue, Comma>§dot2_token: Option<DotDot>§rest: Option<Box<Expr>>

    Trait Implementations§

    source§

    impl Clone for ExprStruct

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprStruct

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprStruct> for Expr

    source§

    fn from(e: ExprStruct) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprStruct

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ExprStruct

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ExprStruct

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprStruct

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprStruct

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§qself: Option<QSelf>§path: Path§brace_token: Brace§fields: Punctuated<FieldValue, Comma>§dot2_token: Option<DotDot>§rest: Option<Box<Expr>>

    Trait Implementations§

    Source§

    impl Clone for ExprStruct

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprStruct

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprStruct> for Expr

    Source§

    fn from(e: ExprStruct) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprStruct

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ExprStruct

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ExprStruct

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprStruct

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprStruct

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprTry.html b/syn/struct.ExprTry.html index 5d93aa1..084985e 100644 --- a/syn/struct.ExprTry.html +++ b/syn/struct.ExprTry.html @@ -1,15 +1,15 @@ -ExprTry in syn - Rust
    syn

    Struct ExprTry

    source
    pub struct ExprTry { /* private fields */ }
    Expand description

    A try-expression: expr?.

    -

    Trait Implementations§

    source§

    impl From<ExprTry> for Expr

    source§

    fn from(e: ExprTry) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprTry

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprTry in syn - Rust
    syn

    Struct ExprTry

    Source
    pub struct ExprTry { /* private fields */ }
    Expand description

    A try-expression: expr?.

    +

    Trait Implementations§

    Source§

    impl From<ExprTry> for Expr

    Source§

    fn from(e: ExprTry) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprTry

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprTryBlock.html b/syn/struct.ExprTryBlock.html index 12c5ce5..9d93e2b 100644 --- a/syn/struct.ExprTryBlock.html +++ b/syn/struct.ExprTryBlock.html @@ -1,15 +1,15 @@ -ExprTryBlock in syn - Rust
    syn

    Struct ExprTryBlock

    source
    pub struct ExprTryBlock { /* private fields */ }
    Expand description

    A try block: try { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprTryBlock> for Expr

    source§

    fn from(e: ExprTryBlock) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprTryBlock

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprTryBlock in syn - Rust
    syn

    Struct ExprTryBlock

    Source
    pub struct ExprTryBlock { /* private fields */ }
    Expand description

    A try block: try { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprTryBlock> for Expr

    Source§

    fn from(e: ExprTryBlock) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprTryBlock

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprTuple.html b/syn/struct.ExprTuple.html index 3d192fc..66f07e0 100644 --- a/syn/struct.ExprTuple.html +++ b/syn/struct.ExprTuple.html @@ -1,25 +1,25 @@ -ExprTuple in syn - Rust
    syn

    Struct ExprTuple

    source
    pub struct ExprTuple {
    -    pub attrs: Vec<Attribute>,
    +ExprTuple in syn - Rust
    syn

    Struct ExprTuple

    Source
    pub struct ExprTuple {
    +    pub attrs: Vec<Attribute>,
         pub paren_token: Paren,
         pub elems: Punctuated<Expr, Comma>,
     }
    Expand description

    A tuple expression: (a, b, c, d).

    -

    Fields§

    §attrs: Vec<Attribute>§paren_token: Paren§elems: Punctuated<Expr, Comma>

    Trait Implementations§

    source§

    impl Clone for ExprTuple

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprTuple

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprTuple> for Expr

    source§

    fn from(e: ExprTuple) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprTuple

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprTuple

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprTuple

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprTuple

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§paren_token: Paren§elems: Punctuated<Expr, Comma>

    Trait Implementations§

    Source§

    impl Clone for ExprTuple

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprTuple

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprTuple> for Expr

    Source§

    fn from(e: ExprTuple) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprTuple

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprTuple

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprTuple

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprTuple

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprUnary.html b/syn/struct.ExprUnary.html index df27255..4e3d98c 100644 --- a/syn/struct.ExprUnary.html +++ b/syn/struct.ExprUnary.html @@ -1,25 +1,25 @@ -ExprUnary in syn - Rust
    syn

    Struct ExprUnary

    source
    pub struct ExprUnary {
    -    pub attrs: Vec<Attribute>,
    +ExprUnary in syn - Rust
    syn

    Struct ExprUnary

    Source
    pub struct ExprUnary {
    +    pub attrs: Vec<Attribute>,
         pub op: UnOp,
    -    pub expr: Box<Expr>,
    +    pub expr: Box<Expr>,
     }
    Expand description

    A unary operation: !x, *x.

    -

    Fields§

    §attrs: Vec<Attribute>§op: UnOp§expr: Box<Expr>

    Trait Implementations§

    source§

    impl Clone for ExprUnary

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ExprUnary

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<ExprUnary> for Expr

    source§

    fn from(e: ExprUnary) -> Expr

    Converts to this type from the input type.
    source§

    impl Hash for ExprUnary

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ExprUnary

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ExprUnary

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ExprUnary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§op: UnOp§expr: Box<Expr>

    Trait Implementations§

    Source§

    impl Clone for ExprUnary

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ExprUnary

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<ExprUnary> for Expr

    Source§

    fn from(e: ExprUnary) -> Expr

    Converts to this type from the input type.
    Source§

    impl Hash for ExprUnary

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ExprUnary

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ExprUnary

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ExprUnary

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprUnsafe.html b/syn/struct.ExprUnsafe.html index 23a8c71..f0350bc 100644 --- a/syn/struct.ExprUnsafe.html +++ b/syn/struct.ExprUnsafe.html @@ -1,15 +1,15 @@ -ExprUnsafe in syn - Rust
    syn

    Struct ExprUnsafe

    source
    pub struct ExprUnsafe { /* private fields */ }
    Expand description

    An unsafe block: unsafe { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprUnsafe> for Expr

    source§

    fn from(e: ExprUnsafe) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprUnsafe

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprUnsafe in syn - Rust
    syn

    Struct ExprUnsafe

    Source
    pub struct ExprUnsafe { /* private fields */ }
    Expand description

    An unsafe block: unsafe { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprUnsafe> for Expr

    Source§

    fn from(e: ExprUnsafe) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprUnsafe

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprWhile.html b/syn/struct.ExprWhile.html index 6cb9aab..0db529d 100644 --- a/syn/struct.ExprWhile.html +++ b/syn/struct.ExprWhile.html @@ -1,15 +1,15 @@ -ExprWhile in syn - Rust
    syn

    Struct ExprWhile

    source
    pub struct ExprWhile { /* private fields */ }
    Expand description

    A while loop: while expr { ... }.

    -

    Trait Implementations§

    source§

    impl From<ExprWhile> for Expr

    source§

    fn from(e: ExprWhile) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprWhile

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprWhile in syn - Rust
    syn

    Struct ExprWhile

    Source
    pub struct ExprWhile { /* private fields */ }
    Expand description

    A while loop: while expr { ... }.

    +

    Trait Implementations§

    Source§

    impl From<ExprWhile> for Expr

    Source§

    fn from(e: ExprWhile) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprWhile

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ExprYield.html b/syn/struct.ExprYield.html index ed37017..4ee321a 100644 --- a/syn/struct.ExprYield.html +++ b/syn/struct.ExprYield.html @@ -1,15 +1,15 @@ -ExprYield in syn - Rust
    syn

    Struct ExprYield

    source
    pub struct ExprYield { /* private fields */ }
    Expand description

    A yield expression: yield expr.

    -

    Trait Implementations§

    source§

    impl From<ExprYield> for Expr

    source§

    fn from(e: ExprYield) -> Expr

    Converts to this type from the input type.
    source§

    impl ToTokens for ExprYield

    source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ExprYield in syn - Rust
    syn

    Struct ExprYield

    Source
    pub struct ExprYield { /* private fields */ }
    Expand description

    A yield expression: yield expr.

    +

    Trait Implementations§

    Source§

    impl From<ExprYield> for Expr

    Source§

    fn from(e: ExprYield) -> Expr

    Converts to this type from the input type.
    Source§

    impl ToTokens for ExprYield

    Source§

    fn to_tokens(&self, _: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Field.html b/syn/struct.Field.html index 2d7fd2b..b72b5d1 100644 --- a/syn/struct.Field.html +++ b/syn/struct.Field.html @@ -1,32 +1,32 @@ -Field in syn - Rust
    syn

    Struct Field

    source
    pub struct Field {
    -    pub attrs: Vec<Attribute>,
    +Field in syn - Rust
    syn

    Struct Field

    Source
    pub struct Field {
    +    pub attrs: Vec<Attribute>,
         pub vis: Visibility,
         pub mutability: FieldMutability,
    -    pub ident: Option<Ident>,
    -    pub colon_token: Option<Colon>,
    +    pub ident: Option<Ident>,
    +    pub colon_token: Option<Colon>,
         pub ty: Type,
     }
    Expand description

    A field of a struct or enum variant.

    -

    Fields§

    §attrs: Vec<Attribute>§vis: Visibility§mutability: FieldMutability§ident: Option<Ident>

    Name of the field, if any.

    +

    Fields§

    §attrs: Vec<Attribute>§vis: Visibility§mutability: FieldMutability§ident: Option<Ident>

    Name of the field, if any.

    Fields of tuple structs have no names.

    -
    §colon_token: Option<Colon>§ty: Type

    Implementations§

    source§

    impl Field

    source

    pub fn parse_named(input: ParseStream<'_>) -> Result<Self>

    Parses a named (braced struct) field.

    -
    source

    pub fn parse_unnamed(input: ParseStream<'_>) -> Result<Self>

    Parses an unnamed (tuple struct) field.

    -

    Trait Implementations§

    source§

    impl Clone for Field

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Field

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Field

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Field

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Field

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Field

    Auto Trait Implementations§

    §

    impl Freeze for Field

    §

    impl RefUnwindSafe for Field

    §

    impl !Send for Field

    §

    impl !Sync for Field

    §

    impl Unpin for Field

    §

    impl UnwindSafe for Field

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    §colon_token: Option<Colon>§ty: Type

    Implementations§

    Source§

    impl Field

    Source

    pub fn parse_named(input: ParseStream<'_>) -> Result<Self>

    Parses a named (braced struct) field.

    +
    Source

    pub fn parse_unnamed(input: ParseStream<'_>) -> Result<Self>

    Parses an unnamed (tuple struct) field.

    +

    Trait Implementations§

    Source§

    impl Clone for Field

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Field

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Field

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Field

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Field

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Field

    Auto Trait Implementations§

    §

    impl Freeze for Field

    §

    impl RefUnwindSafe for Field

    §

    impl !Send for Field

    §

    impl !Sync for Field

    §

    impl Unpin for Field

    §

    impl UnwindSafe for Field

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.FieldValue.html b/syn/struct.FieldValue.html index 0b4259b..072fcb3 100644 --- a/syn/struct.FieldValue.html +++ b/syn/struct.FieldValue.html @@ -1,28 +1,28 @@ -FieldValue in syn - Rust
    syn

    Struct FieldValue

    source
    pub struct FieldValue {
    -    pub attrs: Vec<Attribute>,
    +FieldValue in syn - Rust
    syn

    Struct FieldValue

    Source
    pub struct FieldValue {
    +    pub attrs: Vec<Attribute>,
         pub member: Member,
    -    pub colon_token: Option<Colon>,
    +    pub colon_token: Option<Colon>,
         pub expr: Expr,
     }
    Expand description

    A field-value pair in a struct literal.

    -

    Fields§

    §attrs: Vec<Attribute>§member: Member§colon_token: Option<Colon>

    The colon in Struct { x: x }. If written in shorthand like +

    Fields§

    §attrs: Vec<Attribute>§member: Member§colon_token: Option<Colon>

    The colon in Struct { x: x }. If written in shorthand like Struct { x }, there is no colon.

    -
    §expr: Expr

    Trait Implementations§

    source§

    impl Clone for FieldValue

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FieldValue

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for FieldValue

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for FieldValue

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for FieldValue

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for FieldValue

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for FieldValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    §expr: Expr

    Trait Implementations§

    Source§

    impl Clone for FieldValue

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FieldValue

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for FieldValue

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for FieldValue

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for FieldValue

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for FieldValue

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for FieldValue

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.FieldsNamed.html b/syn/struct.FieldsNamed.html index 57f3025..165df7b 100644 --- a/syn/struct.FieldsNamed.html +++ b/syn/struct.FieldsNamed.html @@ -1,24 +1,24 @@ -FieldsNamed in syn - Rust
    syn

    Struct FieldsNamed

    source
    pub struct FieldsNamed {
    +FieldsNamed in syn - Rust
    syn

    Struct FieldsNamed

    Source
    pub struct FieldsNamed {
         pub brace_token: Brace,
         pub named: Punctuated<Field, Comma>,
     }
    Expand description

    Named fields of a struct or struct variant such as Point { x: f64, y: f64 }.

    -

    Fields§

    §brace_token: Brace§named: Punctuated<Field, Comma>

    Trait Implementations§

    source§

    impl Clone for FieldsNamed

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FieldsNamed

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<FieldsNamed> for Fields

    source§

    fn from(e: FieldsNamed) -> Fields

    Converts to this type from the input type.
    source§

    impl Hash for FieldsNamed

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for FieldsNamed

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for FieldsNamed

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for FieldsNamed

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for FieldsNamed

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §brace_token: Brace§named: Punctuated<Field, Comma>

    Trait Implementations§

    Source§

    impl Clone for FieldsNamed

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FieldsNamed

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<FieldsNamed> for Fields

    Source§

    fn from(e: FieldsNamed) -> Fields

    Converts to this type from the input type.
    Source§

    impl Hash for FieldsNamed

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for FieldsNamed

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for FieldsNamed

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for FieldsNamed

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for FieldsNamed

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.FieldsUnnamed.html b/syn/struct.FieldsUnnamed.html index dc2feca..1e52d2e 100644 --- a/syn/struct.FieldsUnnamed.html +++ b/syn/struct.FieldsUnnamed.html @@ -1,24 +1,24 @@ -FieldsUnnamed in syn - Rust
    syn

    Struct FieldsUnnamed

    source
    pub struct FieldsUnnamed {
    +FieldsUnnamed in syn - Rust
    syn

    Struct FieldsUnnamed

    Source
    pub struct FieldsUnnamed {
         pub paren_token: Paren,
         pub unnamed: Punctuated<Field, Comma>,
     }
    Expand description

    Unnamed fields of a tuple struct or tuple variant such as Some(T).

    -

    Fields§

    §paren_token: Paren§unnamed: Punctuated<Field, Comma>

    Trait Implementations§

    source§

    impl Clone for FieldsUnnamed

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FieldsUnnamed

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<FieldsUnnamed> for Fields

    source§

    fn from(e: FieldsUnnamed) -> Fields

    Converts to this type from the input type.
    source§

    impl Hash for FieldsUnnamed

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for FieldsUnnamed

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for FieldsUnnamed

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for FieldsUnnamed

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for FieldsUnnamed

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §paren_token: Paren§unnamed: Punctuated<Field, Comma>

    Trait Implementations§

    Source§

    impl Clone for FieldsUnnamed

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FieldsUnnamed

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<FieldsUnnamed> for Fields

    Source§

    fn from(e: FieldsUnnamed) -> Fields

    Converts to this type from the input type.
    Source§

    impl Hash for FieldsUnnamed

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for FieldsUnnamed

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for FieldsUnnamed

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for FieldsUnnamed

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for FieldsUnnamed

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Generics.html b/syn/struct.Generics.html index d906ae7..0d98688 100644 --- a/syn/struct.Generics.html +++ b/syn/struct.Generics.html @@ -1,23 +1,23 @@ -Generics in syn - Rust
    syn

    Struct Generics

    source
    pub struct Generics {
    -    pub lt_token: Option<Lt>,
    +Generics in syn - Rust
    syn

    Struct Generics

    Source
    pub struct Generics {
    +    pub lt_token: Option<Lt>,
         pub params: Punctuated<GenericParam, Comma>,
    -    pub gt_token: Option<Gt>,
    -    pub where_clause: Option<WhereClause>,
    +    pub gt_token: Option<Gt>,
    +    pub where_clause: Option<WhereClause>,
     }
    Expand description

    Lifetimes and type parameters attached to a declaration of a function, enum, trait, etc.

    This struct represents two distinct optional syntactic elements, generic parameters and where clause. In some locations of the grammar, there may be other tokens in between these two things.

    -

    Fields§

    §lt_token: Option<Lt>§params: Punctuated<GenericParam, Comma>§gt_token: Option<Gt>§where_clause: Option<WhereClause>

    Implementations§

    source§

    impl Generics

    source

    pub fn lifetimes(&self) -> Lifetimes<'_>

    Iterator over the lifetime parameters in self.params.

    -
    source

    pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_>

    Iterator over the lifetime parameters in self.params.

    -
    source

    pub fn type_params(&self) -> TypeParams<'_>

    Iterator over the type parameters in self.params.

    -
    source

    pub fn type_params_mut(&mut self) -> TypeParamsMut<'_>

    Iterator over the type parameters in self.params.

    -
    source

    pub fn const_params(&self) -> ConstParams<'_>

    Iterator over the constant parameters in self.params.

    -
    source

    pub fn const_params_mut(&mut self) -> ConstParamsMut<'_>

    Iterator over the constant parameters in self.params.

    -
    source

    pub fn make_where_clause(&mut self) -> &mut WhereClause

    Initializes an empty where-clause if there is not one present already.

    -
    source

    pub fn split_for_impl( +

    Fields§

    §lt_token: Option<Lt>§params: Punctuated<GenericParam, Comma>§gt_token: Option<Gt>§where_clause: Option<WhereClause>

    Implementations§

    Source§

    impl Generics

    Source

    pub fn lifetimes(&self) -> Lifetimes<'_>

    Iterator over the lifetime parameters in self.params.

    +
    Source

    pub fn lifetimes_mut(&mut self) -> LifetimesMut<'_>

    Iterator over the lifetime parameters in self.params.

    +
    Source

    pub fn type_params(&self) -> TypeParams<'_>

    Iterator over the type parameters in self.params.

    +
    Source

    pub fn type_params_mut(&mut self) -> TypeParamsMut<'_>

    Iterator over the type parameters in self.params.

    +
    Source

    pub fn const_params(&self) -> ConstParams<'_>

    Iterator over the constant parameters in self.params.

    +
    Source

    pub fn const_params_mut(&mut self) -> ConstParamsMut<'_>

    Iterator over the constant parameters in self.params.

    +
    Source

    pub fn make_where_clause(&mut self) -> &mut WhereClause

    Initializes an empty where-clause if there is not one present already.

    +
    Source

    pub fn split_for_impl( &self, -) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>)

    Split a type’s generics into the pieces required for impl’ing a trait +) -> (ImplGenerics<'_>, TypeGenerics<'_>, Option<&WhereClause>)

    Split a type’s generics into the pieces required for impl’ing a trait for that type.

    let (impl_generics, ty_generics, where_clause) = generics.split_for_impl();
    @@ -26,23 +26,23 @@ for that type.

    // ... } }
    -

    Trait Implementations§

    source§

    impl Clone for Generics

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Generics

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Generics

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Generics

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Generics

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Generics

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Generics

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Generics

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Generics

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Generics

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Generics

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Generics

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Generics

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Generics

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Generics

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Generics

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Ident.html b/syn/struct.Ident.html index 46925f7..da0e963 100644 --- a/syn/struct.Ident.html +++ b/syn/struct.Ident.html @@ -1,4 +1,4 @@ -Ident in syn - Rust
    syn

    Struct Ident

    source
    pub struct Ident { /* private fields */ }
    Expand description

    A word of Rust code, which may be a keyword or legal variable name.

    +Ident in syn - Rust
    syn

    Struct Ident

    Source
    pub struct Ident { /* private fields */ }
    Expand description

    A word of Rust code, which may be a keyword or legal variable name.

    An identifier consists of at least one Unicode code point, the first of which has the XID_Start property and the rest of which have the XID_Continue property.

    @@ -45,7 +45,7 @@ method.

    if ident_string.len() > 60 { println!("Very long identifier: {}", ident_string) }
    -

    Implementations§

    source§

    impl Ident

    source

    pub fn new(string: &str, span: Span) -> Ident

    Creates a new Ident with the given string as well as the specified +

    Implementations§

    Source§

    impl Ident

    Source

    pub fn new(string: &str, span: Span) -> Ident

    Creates a new Ident with the given string as well as the specified span.

    The string argument must be a valid identifier permitted by the language, otherwise the function will panic.

    @@ -69,43 +69,43 @@ need to handle an error case, use style="padding-right:0;">syn::parse_str
    ::<Ident> rather than Ident::new.

    -
    source

    pub fn new_raw(string: &str, span: Span) -> Ident

    Same as Ident::new, but creates a raw identifier (r#ident). The +

    Source

    pub fn new_raw(string: &str, span: Span) -> Ident

    Same as Ident::new, but creates a raw identifier (r#ident). The string argument must be a valid identifier permitted by the language (including keywords, e.g. fn). Keywords which are usable in path segments (e.g. self, super) are not supported, and will cause a panic.

    -
    source

    pub fn span(&self) -> Span

    Returns the span of this Ident.

    -
    source

    pub fn set_span(&mut self, span: Span)

    Configures the span of this Ident, possibly changing its hygiene +

    Source

    pub fn span(&self) -> Span

    Returns the span of this Ident.

    +
    Source

    pub fn set_span(&mut self, span: Span)

    Configures the span of this Ident, possibly changing its hygiene context.

    -

    Trait Implementations§

    source§

    impl Clone for Ident

    source§

    fn clone(&self) -> Ident

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ident

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Display for Ident

    Prints the identifier as a string that should be losslessly convertible back +

    Trait Implementations§

    Source§

    impl Clone for Ident

    Source§

    fn clone(&self) -> Ident

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Ident

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Ident

    Prints the identifier as a string that should be losslessly convertible back into the same identifier.

    -
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl From<Crate> for Ident

    source§

    fn from(token: Crate) -> Ident

    Converts to this type from the input type.
    source§

    impl From<Extern> for Ident

    source§

    fn from(token: Extern) -> Ident

    Converts to this type from the input type.
    source§

    impl From<Ident> for Member

    source§

    fn from(ident: Ident) -> Member

    Converts to this type from the input type.
    source§

    impl From<Ident> for TypeParam

    source§

    fn from(ident: Ident) -> Self

    Converts to this type from the input type.
    source§

    impl From<SelfType> for Ident

    source§

    fn from(token: SelfType) -> Ident

    Converts to this type from the input type.
    source§

    impl From<SelfValue> for Ident

    source§

    fn from(token: SelfValue) -> Ident

    Converts to this type from the input type.
    source§

    impl From<Super> for Ident

    source§

    fn from(token: Super) -> Ident

    Converts to this type from the input type.
    source§

    impl From<Underscore> for Ident

    source§

    fn from(token: Underscore) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for Ident

    source§

    fn hash<H>(&self, hasher: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IdentExt for Ident

    source§

    fn parse_any(input: ParseStream<'_>) -> Result<Self>

    Parses any identifier including keywords. Read more
    source§

    fn unraw(&self) -> Ident

    Strips the raw marker r#, if any, from the beginning of an ident. Read more
    source§

    const peek_any: PeekFn = private::PeekFn

    Peeks any identifier including keywords. Usage: -input.peek(Ident::peek_any) Read more
    source§

    impl IdentFragment for Ident

    source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Format this value as an identifier fragment.
    source§

    impl Ord for Ident

    source§

    fn cmp(&self, other: &Ident) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl Parse for Ident

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl<T> PartialEq<T> for Ident
    where - T: AsRef<str> + ?Sized,

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialEq for Ident

    source§

    fn eq(&self, other: &Ident) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Ident

    source§

    fn partial_cmp(&self, other: &Ident) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl ToTokens for Ident

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Ident

    source§

    impl Token for Ident

    Auto Trait Implementations§

    §

    impl Freeze for Ident

    §

    impl RefUnwindSafe for Ident

    §

    impl !Send for Ident

    §

    impl !Sync for Ident

    §

    impl Unpin for Ident

    §

    impl UnwindSafe for Ident

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl From<Crate> for Ident

    Source§

    fn from(token: Crate) -> Ident

    Converts to this type from the input type.
    Source§

    impl From<Extern> for Ident

    Source§

    fn from(token: Extern) -> Ident

    Converts to this type from the input type.
    Source§

    impl From<Ident> for Member

    Source§

    fn from(ident: Ident) -> Member

    Converts to this type from the input type.
    Source§

    impl From<Ident> for TypeParam

    Source§

    fn from(ident: Ident) -> Self

    Converts to this type from the input type.
    Source§

    impl From<SelfType> for Ident

    Source§

    fn from(token: SelfType) -> Ident

    Converts to this type from the input type.
    Source§

    impl From<SelfValue> for Ident

    Source§

    fn from(token: SelfValue) -> Ident

    Converts to this type from the input type.
    Source§

    impl From<Super> for Ident

    Source§

    fn from(token: Super) -> Ident

    Converts to this type from the input type.
    Source§

    impl From<Underscore> for Ident

    Source§

    fn from(token: Underscore) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for Ident

    Source§

    fn hash<H>(&self, hasher: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl IdentExt for Ident

    Source§

    fn parse_any(input: ParseStream<'_>) -> Result<Self>

    Parses any identifier including keywords. Read more
    Source§

    fn unraw(&self) -> Ident

    Strips the raw marker r#, if any, from the beginning of an ident. Read more
    Source§

    const peek_any: PeekFn = private::PeekFn

    Peeks any identifier including keywords. Usage: +input.peek(Ident::peek_any) Read more
    Source§

    impl IdentFragment for Ident

    Source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Format this value as an identifier fragment.
    Source§

    impl Ord for Ident

    Source§

    fn cmp(&self, other: &Ident) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl Parse for Ident

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl<T> PartialEq<T> for Ident
    where + T: AsRef<str> + ?Sized,

    Source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialEq for Ident

    Source§

    fn eq(&self, other: &Ident) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for Ident

    Source§

    fn partial_cmp(&self, other: &Ident) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl ToTokens for Ident

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Ident

    Source§

    impl Token for Ident

    Auto Trait Implementations§

    §

    impl Freeze for Ident

    §

    impl RefUnwindSafe for Ident

    §

    impl !Send for Ident

    §

    impl !Sync for Ident

    §

    impl Unpin for Ident

    §

    impl UnwindSafe for Ident

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ImplGenerics.html b/syn/struct.ImplGenerics.html index 5dc8d7b..efca2a8 100644 --- a/syn/struct.ImplGenerics.html +++ b/syn/struct.ImplGenerics.html @@ -1,20 +1,20 @@ -ImplGenerics in syn - Rust
    syn

    Struct ImplGenerics

    source
    pub struct ImplGenerics<'a>(/* private fields */);
    Expand description

    Returned by Generics::split_for_impl.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for ImplGenerics<'a>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for ImplGenerics<'a>

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for ImplGenerics<'a>

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for ImplGenerics<'a>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> ToTokens for ImplGenerics<'a>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<'a> Eq for ImplGenerics<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for ImplGenerics<'a>

    §

    impl<'a> RefUnwindSafe for ImplGenerics<'a>

    §

    impl<'a> !Send for ImplGenerics<'a>

    §

    impl<'a> !Sync for ImplGenerics<'a>

    §

    impl<'a> Unpin for ImplGenerics<'a>

    §

    impl<'a> UnwindSafe for ImplGenerics<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +ImplGenerics in syn - Rust
    syn

    Struct ImplGenerics

    Source
    pub struct ImplGenerics<'a>(/* private fields */);
    Expand description

    Returned by Generics::split_for_impl.

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for ImplGenerics<'a>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for ImplGenerics<'a>

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for ImplGenerics<'a>

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for ImplGenerics<'a>

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> ToTokens for ImplGenerics<'a>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<'a> Eq for ImplGenerics<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for ImplGenerics<'a>

    §

    impl<'a> RefUnwindSafe for ImplGenerics<'a>

    §

    impl<'a> !Send for ImplGenerics<'a>

    §

    impl<'a> !Sync for ImplGenerics<'a>

    §

    impl<'a> Unpin for ImplGenerics<'a>

    §

    impl<'a> UnwindSafe for ImplGenerics<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Index.html b/syn/struct.Index.html index 9ca50c8..4e35d7c 100644 --- a/syn/struct.Index.html +++ b/syn/struct.Index.html @@ -1,23 +1,23 @@ -Index in syn - Rust
    syn

    Struct Index

    source
    pub struct Index {
    -    pub index: u32,
    +Index in syn - Rust
    syn

    Struct Index

    Source
    pub struct Index {
    +    pub index: u32,
         pub span: Span,
     }
    Expand description

    The index of an unnamed tuple struct field.

    -

    Fields§

    §index: u32§span: Span

    Trait Implementations§

    source§

    impl Clone for Index

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Index

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Index> for Member

    source§

    fn from(index: Index) -> Member

    Converts to this type from the input type.
    source§

    impl From<usize> for Index

    source§

    fn from(index: usize) -> Index

    Converts to this type from the input type.
    source§

    impl Hash for Index

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IdentFragment for Index

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.
    source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    source§

    impl Parse for Index

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Index

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Index

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Index

    Auto Trait Implementations§

    §

    impl Freeze for Index

    §

    impl RefUnwindSafe for Index

    §

    impl !Send for Index

    §

    impl !Sync for Index

    §

    impl Unpin for Index

    §

    impl UnwindSafe for Index

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §index: u32§span: Span

    Trait Implementations§

    Source§

    impl Clone for Index

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Index

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Index> for Member

    Source§

    fn from(index: Index) -> Member

    Converts to this type from the input type.
    Source§

    impl From<usize> for Index

    Source§

    fn from(index: usize) -> Index

    Converts to this type from the input type.
    Source§

    impl Hash for Index

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl IdentFragment for Index

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Format this value as an identifier fragment.
    Source§

    fn span(&self) -> Option<Span>

    Span associated with this IdentFragment. Read more
    Source§

    impl Parse for Index

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Index

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Index

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Index

    Auto Trait Implementations§

    §

    impl Freeze for Index

    §

    impl RefUnwindSafe for Index

    §

    impl !Send for Index

    §

    impl !Sync for Index

    §

    impl Unpin for Index

    §

    impl UnwindSafe for Index

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Lifetime.html b/syn/struct.Lifetime.html index 70b8944..c9c16cd 100644 --- a/syn/struct.Lifetime.html +++ b/syn/struct.Lifetime.html @@ -1,4 +1,4 @@ -Lifetime in syn - Rust
    syn

    Struct Lifetime

    source
    pub struct Lifetime {
    +Lifetime in syn - Rust
    syn

    Struct Lifetime

    Source
    pub struct Lifetime {
         pub apostrophe: Span,
         pub ident: Ident,
     }
    Expand description

    A Rust lifetime: 'a.

    @@ -11,33 +11,33 @@ the XID_Start property.
  • All following characters must be Unicode code points with the XID_Continue property.
  • -

    Fields§

    §apostrophe: Span§ident: Ident

    Implementations§

    source§

    impl Lifetime

    source

    pub fn new(symbol: &str, span: Span) -> Self

    §Panics
    +

    Fields§

    §apostrophe: Span§ident: Ident

    Implementations§

    Source§

    impl Lifetime

    Source

    pub fn new(symbol: &str, span: Span) -> Self

    §Panics

    Panics if the lifetime does not conform to the bulleted rules above.

    §Invocation
    Lifetime::new("'a", Span::call_site())
    -
    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    Trait Implementations§

    source§

    impl Clone for Lifetime

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Lifetime

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Lifetime

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Lifetime> for TypeParamBound

    source§

    fn from(e: Lifetime) -> TypeParamBound

    Converts to this type from the input type.
    source§

    impl Hash for Lifetime

    source§

    fn hash<H: Hasher>(&self, h: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Lifetime

    source§

    fn cmp(&self, other: &Lifetime) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl Parse for Lifetime

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Lifetime

    source§

    fn eq(&self, other: &Lifetime) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Lifetime

    source§

    fn partial_cmp(&self, other: &Lifetime) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl ToTokens for Lifetime

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Lifetime

    source§

    impl Token for Lifetime

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Trait Implementations§

    Source§

    impl Clone for Lifetime

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Lifetime

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for Lifetime

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Lifetime> for TypeParamBound

    Source§

    fn from(e: Lifetime) -> TypeParamBound

    Converts to this type from the input type.
    Source§

    impl Hash for Lifetime

    Source§

    fn hash<H: Hasher>(&self, h: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Ord for Lifetime

    Source§

    fn cmp(&self, other: &Lifetime) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    Source§

    impl Parse for Lifetime

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Lifetime

    Source§

    fn eq(&self, other: &Lifetime) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl PartialOrd for Lifetime

    Source§

    fn partial_cmp(&self, other: &Lifetime) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    Source§

    impl ToTokens for Lifetime

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Lifetime

    Source§

    impl Token for Lifetime

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LifetimeParam.html b/syn/struct.LifetimeParam.html index b0ae74f..c27c9b9 100644 --- a/syn/struct.LifetimeParam.html +++ b/syn/struct.LifetimeParam.html @@ -1,26 +1,26 @@ -LifetimeParam in syn - Rust
    syn

    Struct LifetimeParam

    source
    pub struct LifetimeParam {
    -    pub attrs: Vec<Attribute>,
    +LifetimeParam in syn - Rust
    syn

    Struct LifetimeParam

    Source
    pub struct LifetimeParam {
    +    pub attrs: Vec<Attribute>,
         pub lifetime: Lifetime,
    -    pub colon_token: Option<Colon>,
    +    pub colon_token: Option<Colon>,
         pub bounds: Punctuated<Lifetime, Plus>,
     }
    Expand description

    A lifetime definition: 'a: 'b + 'c + 'd.

    -

    Fields§

    §attrs: Vec<Attribute>§lifetime: Lifetime§colon_token: Option<Colon>§bounds: Punctuated<Lifetime, Plus>

    Implementations§

    source§

    impl LifetimeParam

    source

    pub fn new(lifetime: Lifetime) -> Self

    Trait Implementations§

    source§

    impl Clone for LifetimeParam

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LifetimeParam

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LifetimeParam> for GenericParam

    source§

    fn from(e: LifetimeParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl Hash for LifetimeParam

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LifetimeParam

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LifetimeParam

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LifetimeParam

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LifetimeParam

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§lifetime: Lifetime§colon_token: Option<Colon>§bounds: Punctuated<Lifetime, Plus>

    Implementations§

    Source§

    impl LifetimeParam

    Source

    pub fn new(lifetime: Lifetime) -> Self

    Trait Implementations§

    Source§

    impl Clone for LifetimeParam

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LifetimeParam

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LifetimeParam> for GenericParam

    Source§

    fn from(e: LifetimeParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl Hash for LifetimeParam

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LifetimeParam

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LifetimeParam

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LifetimeParam

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LifetimeParam

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitBool.html b/syn/struct.LitBool.html index e757cac..a6741a7 100644 --- a/syn/struct.LitBool.html +++ b/syn/struct.LitBool.html @@ -1,24 +1,24 @@ -LitBool in syn - Rust
    syn

    Struct LitBool

    source
    pub struct LitBool {
    -    pub value: bool,
    +LitBool in syn - Rust
    syn

    Struct LitBool

    Source
    pub struct LitBool {
    +    pub value: bool,
         pub span: Span,
     }
    Expand description

    A boolean literal: true or false.

    -

    Fields§

    §value: bool§span: Span

    Implementations§

    source§

    impl LitBool

    source

    pub fn new(value: bool, span: Span) -> Self

    source

    pub fn value(&self) -> bool

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn token(&self) -> Ident

    Trait Implementations§

    source§

    impl Clone for LitBool

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitBool

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitBool> for Lit

    source§

    fn from(e: LitBool) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitBool

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitBool

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitBool

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitBool

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitBool

    source§

    impl Token for LitBool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §value: bool§span: Span

    Implementations§

    Source§

    impl LitBool

    Source

    pub fn new(value: bool, span: Span) -> Self

    Source

    pub fn value(&self) -> bool

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn token(&self) -> Ident

    Trait Implementations§

    Source§

    impl Clone for LitBool

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitBool

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitBool> for Lit

    Source§

    fn from(e: LitBool) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitBool

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitBool

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitBool

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitBool

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitBool

    Source§

    impl Token for LitBool

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitByte.html b/syn/struct.LitByte.html index 9340d8f..8332bf3 100644 --- a/syn/struct.LitByte.html +++ b/syn/struct.LitByte.html @@ -1,21 +1,21 @@ -LitByte in syn - Rust
    syn

    Struct LitByte

    source
    pub struct LitByte { /* private fields */ }
    Expand description

    A byte literal: b'f'.

    -

    Implementations§

    source§

    impl LitByte

    source

    pub fn new(value: u8, span: Span) -> Self

    source

    pub fn value(&self) -> u8

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn suffix(&self) -> &str

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitByte

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitByte

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitByte> for Lit

    source§

    fn from(e: LitByte) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitByte

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitByte

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitByte

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitByte

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitByte

    source§

    impl Token for LitByte

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +LitByte in syn - Rust
    syn

    Struct LitByte

    Source
    pub struct LitByte { /* private fields */ }
    Expand description

    A byte literal: b'f'.

    +

    Implementations§

    Source§

    impl LitByte

    Source

    pub fn new(value: u8, span: Span) -> Self

    Source

    pub fn value(&self) -> u8

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitByte

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitByte

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitByte> for Lit

    Source§

    fn from(e: LitByte) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitByte

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitByte

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitByte

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitByte

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitByte

    Source§

    impl Token for LitByte

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitByteStr.html b/syn/struct.LitByteStr.html index 0babaa9..bf8a3f8 100644 --- a/syn/struct.LitByteStr.html +++ b/syn/struct.LitByteStr.html @@ -1,21 +1,21 @@ -LitByteStr in syn - Rust
    syn

    Struct LitByteStr

    source
    pub struct LitByteStr { /* private fields */ }
    Expand description

    A byte string literal: b"foo".

    -

    Implementations§

    source§

    impl LitByteStr

    source

    pub fn new(value: &[u8], span: Span) -> Self

    source

    pub fn value(&self) -> Vec<u8>

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn suffix(&self) -> &str

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitByteStr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitByteStr

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitByteStr> for Lit

    source§

    fn from(e: LitByteStr) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitByteStr

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitByteStr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitByteStr

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitByteStr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitByteStr

    source§

    impl Token for LitByteStr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +LitByteStr in syn - Rust
    syn

    Struct LitByteStr

    Source
    pub struct LitByteStr { /* private fields */ }
    Expand description

    A byte string literal: b"foo".

    +

    Implementations§

    Source§

    impl LitByteStr

    Source

    pub fn new(value: &[u8], span: Span) -> Self

    Source

    pub fn value(&self) -> Vec<u8>

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitByteStr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitByteStr

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitByteStr> for Lit

    Source§

    fn from(e: LitByteStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitByteStr

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitByteStr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitByteStr

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitByteStr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitByteStr

    Source§

    impl Token for LitByteStr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitCStr.html b/syn/struct.LitCStr.html index ff048e9..0c4c425 100644 --- a/syn/struct.LitCStr.html +++ b/syn/struct.LitCStr.html @@ -1,21 +1,21 @@ -LitCStr in syn - Rust
    syn

    Struct LitCStr

    source
    pub struct LitCStr { /* private fields */ }
    Expand description

    A nul-terminated C-string literal: c"foo".

    -

    Implementations§

    source§

    impl LitCStr

    source

    pub fn new(value: &CStr, span: Span) -> Self

    source

    pub fn value(&self) -> CString

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn suffix(&self) -> &str

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitCStr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitCStr

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitCStr> for Lit

    source§

    fn from(e: LitCStr) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitCStr

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitCStr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitCStr

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitCStr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitCStr

    source§

    impl Token for LitCStr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +LitCStr in syn - Rust
    syn

    Struct LitCStr

    Source
    pub struct LitCStr { /* private fields */ }
    Expand description

    A nul-terminated C-string literal: c"foo".

    +

    Implementations§

    Source§

    impl LitCStr

    Source

    pub fn new(value: &CStr, span: Span) -> Self

    Source

    pub fn value(&self) -> CString

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitCStr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitCStr

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitCStr> for Lit

    Source§

    fn from(e: LitCStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitCStr

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitCStr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitCStr

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitCStr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitCStr

    Source§

    impl Token for LitCStr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitChar.html b/syn/struct.LitChar.html index 60b98fb..8c71f2b 100644 --- a/syn/struct.LitChar.html +++ b/syn/struct.LitChar.html @@ -1,21 +1,21 @@ -LitChar in syn - Rust
    syn

    Struct LitChar

    source
    pub struct LitChar { /* private fields */ }
    Expand description

    A character literal: 'a'.

    -

    Implementations§

    source§

    impl LitChar

    source

    pub fn new(value: char, span: Span) -> Self

    source

    pub fn value(&self) -> char

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn suffix(&self) -> &str

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitChar

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitChar

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitChar> for Lit

    source§

    fn from(e: LitChar) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitChar

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitChar

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitChar

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitChar

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitChar

    source§

    impl Token for LitChar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +LitChar in syn - Rust
    syn

    Struct LitChar

    Source
    pub struct LitChar { /* private fields */ }
    Expand description

    A character literal: 'a'.

    +

    Implementations§

    Source§

    impl LitChar

    Source

    pub fn new(value: char, span: Span) -> Self

    Source

    pub fn value(&self) -> char

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitChar

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitChar

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitChar> for Lit

    Source§

    fn from(e: LitChar) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitChar

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitChar

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitChar

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitChar

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitChar

    Source§

    impl Token for LitChar

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitFloat.html b/syn/struct.LitFloat.html index d940819..dca096e 100644 --- a/syn/struct.LitFloat.html +++ b/syn/struct.LitFloat.html @@ -1,25 +1,25 @@ -LitFloat in syn - Rust
    syn

    Struct LitFloat

    source
    pub struct LitFloat { /* private fields */ }
    Expand description

    A floating point literal: 1f64 or 1.0e10f64.

    +LitFloat in syn - Rust
    syn

    Struct LitFloat

    Source
    pub struct LitFloat { /* private fields */ }
    Expand description

    A floating point literal: 1f64 or 1.0e10f64.

    Must be finite. May not be infinite or NaN.

    -

    Implementations§

    source§

    impl LitFloat

    source

    pub fn new(repr: &str, span: Span) -> Self

    source

    pub fn base10_digits(&self) -> &str

    source

    pub fn base10_parse<N>(&self) -> Result<N>
    where - N: FromStr, - N::Err: Display,

    source

    pub fn suffix(&self) -> &str

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitFloat

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitFloat

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for LitFloat

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitFloat> for Lit

    source§

    fn from(e: LitFloat) -> Lit

    Converts to this type from the input type.
    source§

    impl From<Literal> for LitFloat

    source§

    fn from(token: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for LitFloat

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitFloat

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitFloat

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitFloat

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitFloat

    source§

    impl Token for LitFloat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Implementations§

    Source§

    impl LitFloat

    Source

    pub fn new(repr: &str, span: Span) -> Self

    Source

    pub fn base10_digits(&self) -> &str

    Source

    pub fn base10_parse<N>(&self) -> Result<N>
    where + N: FromStr, + N::Err: Display,

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitFloat

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitFloat

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for LitFloat

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitFloat> for Lit

    Source§

    fn from(e: LitFloat) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<Literal> for LitFloat

    Source§

    fn from(token: Literal) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for LitFloat

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitFloat

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitFloat

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitFloat

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitFloat

    Source§

    impl Token for LitFloat

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitInt.html b/syn/struct.LitInt.html index cea210b..53c86c4 100644 --- a/syn/struct.LitInt.html +++ b/syn/struct.LitInt.html @@ -1,7 +1,7 @@ -LitInt in syn - Rust
    syn

    Struct LitInt

    source
    pub struct LitInt { /* private fields */ }
    Expand description

    An integer literal: 1 or 1u16.

    -

    Implementations§

    source§

    impl LitInt

    source

    pub fn new(repr: &str, span: Span) -> Self

    source

    pub fn base10_digits(&self) -> &str

    source

    pub fn base10_parse<N>(&self) -> Result<N>
    where - N: FromStr, - N::Err: Display,

    Parses the literal into a selected number type.

    +LitInt in syn - Rust
    syn

    Struct LitInt

    Source
    pub struct LitInt { /* private fields */ }
    Expand description

    An integer literal: 1 or 1u16.

    +

    Implementations§

    Source§

    impl LitInt

    Source

    pub fn new(repr: &str, span: Span) -> Self

    Source

    pub fn base10_digits(&self) -> &str

    Source

    pub fn base10_parse<N>(&self) -> Result<N>
    where + N: FromStr, + N::Err: Display,

    Parses the literal into a selected number type.

    This is equivalent to lit.base10_digits().parse() except that the resulting errors will be correctly spanned to point to the literal token in the macro input.

    @@ -20,24 +20,24 @@ in the macro input.

    Ok(Port { value }) } }
    -
    source

    pub fn suffix(&self) -> &str

    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitInt

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitInt

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for LitInt

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitInt> for Lit

    source§

    fn from(e: LitInt) -> Lit

    Converts to this type from the input type.
    source§

    impl From<Literal> for LitInt

    source§

    fn from(token: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for LitInt

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitInt

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitInt

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitInt

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitInt

    source§

    impl Token for LitInt

    Auto Trait Implementations§

    §

    impl Freeze for LitInt

    §

    impl RefUnwindSafe for LitInt

    §

    impl !Send for LitInt

    §

    impl !Sync for LitInt

    §

    impl Unpin for LitInt

    §

    impl UnwindSafe for LitInt

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitInt

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitInt

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for LitInt

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitInt> for Lit

    Source§

    fn from(e: LitInt) -> Lit

    Converts to this type from the input type.
    Source§

    impl From<Literal> for LitInt

    Source§

    fn from(token: Literal) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for LitInt

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitInt

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitInt

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitInt

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitInt

    Source§

    impl Token for LitInt

    Auto Trait Implementations§

    §

    impl Freeze for LitInt

    §

    impl RefUnwindSafe for LitInt

    §

    impl !Send for LitInt

    §

    impl !Sync for LitInt

    §

    impl Unpin for LitInt

    §

    impl UnwindSafe for LitInt

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.LitStr.html b/syn/struct.LitStr.html index 7f602c2..facca37 100644 --- a/syn/struct.LitStr.html +++ b/syn/struct.LitStr.html @@ -1,5 +1,5 @@ -LitStr in syn - Rust
    syn

    Struct LitStr

    source
    pub struct LitStr { /* private fields */ }
    Expand description

    A UTF-8 string literal: "foo".

    -

    Implementations§

    source§

    impl LitStr

    source

    pub fn new(value: &str, span: Span) -> Self

    source

    pub fn value(&self) -> String

    source

    pub fn parse<T: Parse>(&self) -> Result<T>

    Parse a syntax tree node from the content of this string literal.

    +LitStr in syn - Rust
    syn

    Struct LitStr

    Source
    pub struct LitStr { /* private fields */ }
    Expand description

    A UTF-8 string literal: "foo".

    +

    Implementations§

    Source§

    impl LitStr

    Source

    pub fn new(value: &str, span: Span) -> Self

    Source

    pub fn value(&self) -> String

    Source

    pub fn parse<T: Parse>(&self) -> Result<T>

    Parse a syntax tree node from the content of this string literal.

    All spans in the syntax tree will point to the span of this LitStr.

    §Example
    use syn::{Attribute, Error, Expr, Lit, Meta, Path, Result};
    @@ -25,7 +25,7 @@
         let message = "expected #[path = \"...\"]";
         Err(Error::new_spanned(attr, message))
     }
    -
    source

    pub fn parse_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Invoke parser on the content of this string literal.

    +
    Source

    pub fn parse_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Invoke parser on the content of this string literal.

    All spans in the syntax tree will point to the span of this LitStr.

    §Example
    let lit_str: LitStr = /* ... */;
    @@ -33,23 +33,23 @@
     // Parse a string literal like "a::b::c" into a Path, not allowing
     // generic arguments on any of the path segments.
     let basic_path = lit_str.parse_with(syn::Path::parse_mod_style)?;
    -
    source

    pub fn span(&self) -> Span

    source

    pub fn set_span(&mut self, span: Span)

    source

    pub fn suffix(&self) -> &str

    source

    pub fn token(&self) -> Literal

    Trait Implementations§

    source§

    impl Clone for LitStr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LitStr

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<LitStr> for Lit

    source§

    fn from(e: LitStr) -> Lit

    Converts to this type from the input type.
    source§

    impl Hash for LitStr

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LitStr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LitStr

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LitStr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for LitStr

    source§

    impl Token for LitStr

    Auto Trait Implementations§

    §

    impl Freeze for LitStr

    §

    impl RefUnwindSafe for LitStr

    §

    impl !Send for LitStr

    §

    impl !Sync for LitStr

    §

    impl Unpin for LitStr

    §

    impl UnwindSafe for LitStr

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn span(&self) -> Span

    Source

    pub fn set_span(&mut self, span: Span)

    Source

    pub fn suffix(&self) -> &str

    Source

    pub fn token(&self) -> Literal

    Trait Implementations§

    Source§

    impl Clone for LitStr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LitStr

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<LitStr> for Lit

    Source§

    fn from(e: LitStr) -> Lit

    Converts to this type from the input type.
    Source§

    impl Hash for LitStr

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LitStr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LitStr

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LitStr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for LitStr

    Source§

    impl Token for LitStr

    Auto Trait Implementations§

    §

    impl Freeze for LitStr

    §

    impl RefUnwindSafe for LitStr

    §

    impl !Send for LitStr

    §

    impl !Sync for LitStr

    §

    impl Unpin for LitStr

    §

    impl UnwindSafe for LitStr

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Macro.html b/syn/struct.Macro.html index 7645b71..bc32eca 100644 --- a/syn/struct.Macro.html +++ b/syn/struct.Macro.html @@ -1,10 +1,10 @@ -Macro in syn - Rust
    syn

    Struct Macro

    source
    pub struct Macro {
    +Macro in syn - Rust
    syn

    Struct Macro

    Source
    pub struct Macro {
         pub path: Path,
         pub bang_token: Not,
         pub delimiter: MacroDelimiter,
         pub tokens: TokenStream,
     }
    Expand description

    A macro invocation: println!("{}", mac).

    -

    Fields§

    §path: Path§bang_token: Not§delimiter: MacroDelimiter§tokens: TokenStream

    Implementations§

    source§

    impl Macro

    source

    pub fn parse_body<T: Parse>(&self) -> Result<T>

    Parse the tokens within the macro invocation’s delimiters into a syntax +

    Fields§

    §path: Path§bang_token: Not§delimiter: MacroDelimiter§tokens: TokenStream

    Implementations§

    Source§

    impl Macro

    Source

    pub fn parse_body<T: Parse>(&self) -> Result<T>

    Parse the tokens within the macro invocation’s delimiters into a syntax tree.

    This is equivalent to syn::parse2::<T>(mac.tokens) except that it produces a more useful span when tokens is empty.

    @@ -81,25 +81,25 @@ produces a more useful span when tokens is empty.

    let lit = get_format_string(&invocation).unwrap(); assert_eq!(lit.value(), "{:?}"); }
    -
    source

    pub fn parse_body_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Parse the tokens within the macro invocation’s delimiters using the +

    Source

    pub fn parse_body_with<F: Parser>(&self, parser: F) -> Result<F::Output>

    Parse the tokens within the macro invocation’s delimiters using the given parser.

    -

    Trait Implementations§

    source§

    impl Clone for Macro

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Macro

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Macro

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Macro

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Macro

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Macro

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Macro

    Auto Trait Implementations§

    §

    impl Freeze for Macro

    §

    impl RefUnwindSafe for Macro

    §

    impl !Send for Macro

    §

    impl !Sync for Macro

    §

    impl Unpin for Macro

    §

    impl UnwindSafe for Macro

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for Macro

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Macro

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Macro

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Macro

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Macro

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Macro

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Macro

    Auto Trait Implementations§

    §

    impl Freeze for Macro

    §

    impl RefUnwindSafe for Macro

    §

    impl !Send for Macro

    §

    impl !Sync for Macro

    §

    impl Unpin for Macro

    §

    impl UnwindSafe for Macro

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.MetaList.html b/syn/struct.MetaList.html index 05c1c03..192dd60 100644 --- a/syn/struct.MetaList.html +++ b/syn/struct.MetaList.html @@ -1,31 +1,31 @@ -MetaList in syn - Rust
    syn

    Struct MetaList

    source
    pub struct MetaList {
    +MetaList in syn - Rust
    syn

    Struct MetaList

    Source
    pub struct MetaList {
         pub path: Path,
         pub delimiter: MacroDelimiter,
         pub tokens: TokenStream,
     }
    Expand description

    A structured list within an attribute, like derive(Copy, Clone).

    -

    Fields§

    §path: Path§delimiter: MacroDelimiter§tokens: TokenStream

    Implementations§

    source§

    impl MetaList

    Fields§

    §path: Path§delimiter: MacroDelimiter§tokens: TokenStream

    Implementations§

    Trait Implementations§

    source§

    impl Clone for MetaList

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MetaList

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MetaList> for Meta

    source§

    fn from(meta: MetaList) -> Meta

    Converts to this type from the input type.
    source§

    impl Hash for MetaList

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for MetaList

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for MetaList

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for MetaList

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for MetaList

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>, +) -> Result<()>

    Trait Implementations§

    Source§

    impl Clone for MetaList

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MetaList

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<MetaList> for Meta

    Source§

    fn from(meta: MetaList) -> Meta

    Converts to this type from the input type.
    Source§

    impl Hash for MetaList

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for MetaList

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for MetaList

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for MetaList

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for MetaList

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.MetaNameValue.html b/syn/struct.MetaNameValue.html index 5092b2f..8b12b21 100644 --- a/syn/struct.MetaNameValue.html +++ b/syn/struct.MetaNameValue.html @@ -1,25 +1,25 @@ -MetaNameValue in syn - Rust
    syn

    Struct MetaNameValue

    source
    pub struct MetaNameValue {
    +MetaNameValue in syn - Rust
    syn

    Struct MetaNameValue

    Source
    pub struct MetaNameValue {
         pub path: Path,
         pub eq_token: Eq,
         pub value: Expr,
     }
    Expand description

    A name-value pair within an attribute, like feature = "nightly".

    -

    Fields§

    §path: Path§eq_token: Eq§value: Expr

    Trait Implementations§

    source§

    impl Clone for MetaNameValue

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MetaNameValue

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MetaNameValue> for Meta

    source§

    fn from(meta: MetaNameValue) -> Meta

    Converts to this type from the input type.
    source§

    impl Hash for MetaNameValue

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for MetaNameValue

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for MetaNameValue

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for MetaNameValue

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for MetaNameValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §path: Path§eq_token: Eq§value: Expr

    Trait Implementations§

    Source§

    impl Clone for MetaNameValue

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MetaNameValue

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<MetaNameValue> for Meta

    Source§

    fn from(meta: MetaNameValue) -> Meta

    Converts to this type from the input type.
    Source§

    impl Hash for MetaNameValue

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for MetaNameValue

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for MetaNameValue

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for MetaNameValue

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for MetaNameValue

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.ParenthesizedGenericArguments.html b/syn/struct.ParenthesizedGenericArguments.html index 1774994..130e089 100644 --- a/syn/struct.ParenthesizedGenericArguments.html +++ b/syn/struct.ParenthesizedGenericArguments.html @@ -1,27 +1,27 @@ -ParenthesizedGenericArguments in syn - Rust
    syn

    Struct ParenthesizedGenericArguments

    source
    pub struct ParenthesizedGenericArguments {
    +ParenthesizedGenericArguments in syn - Rust
    syn

    Struct ParenthesizedGenericArguments

    Source
    pub struct ParenthesizedGenericArguments {
         pub paren_token: Paren,
         pub inputs: Punctuated<Type, Comma>,
         pub output: ReturnType,
     }
    Expand description

    Arguments of a function path segment: the (A, B) -> C in Fn(A,B) -> C.

    Fields§

    §paren_token: Paren§inputs: Punctuated<Type, Comma>

    (A, B)

    §output: ReturnType

    C

    -

    Trait Implementations§

    source§

    impl Clone for ParenthesizedGenericArguments

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParenthesizedGenericArguments

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ParenthesizedGenericArguments

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ParenthesizedGenericArguments

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ParenthesizedGenericArguments

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ParenthesizedGenericArguments

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for ParenthesizedGenericArguments

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for ParenthesizedGenericArguments

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ParenthesizedGenericArguments

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for ParenthesizedGenericArguments

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ParenthesizedGenericArguments

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ParenthesizedGenericArguments

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ParenthesizedGenericArguments

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for ParenthesizedGenericArguments

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Path.html b/syn/struct.Path.html index 150eb46..0c9a72d 100644 --- a/syn/struct.Path.html +++ b/syn/struct.Path.html @@ -1,8 +1,8 @@ -Path in syn - Rust
    syn

    Struct Path

    source
    pub struct Path {
    -    pub leading_colon: Option<PathSep>,
    +Path in syn - Rust
    syn

    Struct Path

    Source
    pub struct Path {
    +    pub leading_colon: Option<PathSep>,
         pub segments: Punctuated<PathSegment, PathSep>,
     }
    Expand description

    A path at which a named item is exported (e.g. std::collections::HashMap).

    -

    Fields§

    §leading_colon: Option<PathSep>§segments: Punctuated<PathSegment, PathSep>

    Implementations§

    source§

    impl Path

    source

    pub fn parse_mod_style(input: ParseStream<'_>) -> Result<Self>

    Parse a Path containing no path arguments on any of its segments.

    +

    Fields§

    §leading_colon: Option<PathSep>§segments: Punctuated<PathSegment, PathSep>

    Implementations§

    Source§

    impl Path

    Source

    pub fn parse_mod_style(input: ParseStream<'_>) -> Result<Self>

    Parse a Path containing no path arguments on any of its segments.

    §Example
    use syn::{Path, Result, Token};
     use syn::parse::{Parse, ParseStream};
    @@ -28,9 +28,9 @@
             })
         }
     }
    -
    source§

    impl Path

    source

    pub fn is_ident<I>(&self, ident: &I) -> bool
    where - I: ?Sized, - Ident: PartialEq<I>,

    Determines whether this is a path of length 1 equal to the given +

    Source§

    impl Path

    Source

    pub fn is_ident<I>(&self, ident: &I) -> bool
    where + I: ?Sized, + Ident: PartialEq<I>,

    Determines whether this is a path of length 1 equal to the given ident.

    For them to compare equal, it must be the case that:

      @@ -54,7 +54,7 @@ path arguments, and Ok(None) } }
    -
    source

    pub fn get_ident(&self) -> Option<&Ident>

    If this path consists of a single ident, returns the ident.

    +
    Source

    pub fn get_ident(&self) -> Option<&Ident>

    If this path consists of a single ident, returns the ident.

    A path is considered an ident if:

    • the path has no leading colon,
    • @@ -62,25 +62,25 @@ path arguments, and
    • the first path segment has no angle bracketed or parenthesized path arguments.
    -
    source

    pub fn require_ident(&self) -> Result<&Ident>

    An error if this path is not a single ident, as defined in get_ident.

    -

    Trait Implementations§

    source§

    impl Clone for Path

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Path

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Path> for Meta

    source§

    fn from(meta: Path) -> Meta

    Converts to this type from the input type.
    source§

    impl<T> From<T> for Path
    where - T: Into<PathSegment>,

    source§

    fn from(segment: T) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Path

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Path

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Path

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Path

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Path

    Auto Trait Implementations§

    §

    impl Freeze for Path

    §

    impl RefUnwindSafe for Path

    §

    impl !Send for Path

    §

    impl !Sync for Path

    §

    impl Unpin for Path

    §

    impl UnwindSafe for Path

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    Source

    pub fn require_ident(&self) -> Result<&Ident>

    An error if this path is not a single ident, as defined in get_ident.

    +

    Trait Implementations§

    Source§

    impl Clone for Path

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Path

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Path> for Meta

    Source§

    fn from(meta: Path) -> Meta

    Converts to this type from the input type.
    Source§

    impl<T> From<T> for Path
    where + T: Into<PathSegment>,

    Source§

    fn from(segment: T) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for Path

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Path

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Path

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Path

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Path

    Auto Trait Implementations§

    §

    impl Freeze for Path

    §

    impl RefUnwindSafe for Path

    §

    impl !Send for Path

    §

    impl !Sync for Path

    §

    impl Unpin for Path

    §

    impl UnwindSafe for Path

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.PathSegment.html b/syn/struct.PathSegment.html index da6f0d3..b2c6628 100644 --- a/syn/struct.PathSegment.html +++ b/syn/struct.PathSegment.html @@ -1,25 +1,25 @@ -PathSegment in syn - Rust
    syn

    Struct PathSegment

    source
    pub struct PathSegment {
    +PathSegment in syn - Rust
    syn

    Struct PathSegment

    Source
    pub struct PathSegment {
         pub ident: Ident,
         pub arguments: PathArguments,
     }
    Expand description

    A segment of a path together with any path arguments on that segment.

    -

    Fields§

    §ident: Ident§arguments: PathArguments

    Trait Implementations§

    source§

    impl Clone for PathSegment

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PathSegment

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> From<T> for PathSegment
    where - T: Into<Ident>,

    source§

    fn from(ident: T) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for PathSegment

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for PathSegment

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for PathSegment

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PathSegment

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for PathSegment

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §ident: Ident§arguments: PathArguments

    Trait Implementations§

    Source§

    impl Clone for PathSegment

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PathSegment

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<T> From<T> for PathSegment
    where + T: Into<Ident>,

    Source§

    fn from(ident: T) -> Self

    Converts to this type from the input type.
    Source§

    impl Hash for PathSegment

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for PathSegment

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for PathSegment

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PathSegment

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for PathSegment

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.PredicateLifetime.html b/syn/struct.PredicateLifetime.html index 1f93fed..450c441 100644 --- a/syn/struct.PredicateLifetime.html +++ b/syn/struct.PredicateLifetime.html @@ -1,25 +1,25 @@ -PredicateLifetime in syn - Rust
    syn

    Struct PredicateLifetime

    source
    pub struct PredicateLifetime {
    +PredicateLifetime in syn - Rust
    syn

    Struct PredicateLifetime

    Source
    pub struct PredicateLifetime {
         pub lifetime: Lifetime,
         pub colon_token: Colon,
         pub bounds: Punctuated<Lifetime, Plus>,
     }
    Expand description

    A lifetime predicate in a where clause: 'a: 'b + 'c.

    -

    Fields§

    §lifetime: Lifetime§colon_token: Colon§bounds: Punctuated<Lifetime, Plus>

    Trait Implementations§

    source§

    impl Clone for PredicateLifetime

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PredicateLifetime

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<PredicateLifetime> for WherePredicate

    source§

    fn from(e: PredicateLifetime) -> WherePredicate

    Converts to this type from the input type.
    source§

    impl Hash for PredicateLifetime

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for PredicateLifetime

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PredicateLifetime

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for PredicateLifetime

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §lifetime: Lifetime§colon_token: Colon§bounds: Punctuated<Lifetime, Plus>

    Trait Implementations§

    Source§

    impl Clone for PredicateLifetime

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PredicateLifetime

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<PredicateLifetime> for WherePredicate

    Source§

    fn from(e: PredicateLifetime) -> WherePredicate

    Converts to this type from the input type.
    Source§

    impl Hash for PredicateLifetime

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for PredicateLifetime

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PredicateLifetime

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for PredicateLifetime

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.PredicateType.html b/syn/struct.PredicateType.html index 2304cb9..f9993a2 100644 --- a/syn/struct.PredicateType.html +++ b/syn/struct.PredicateType.html @@ -1,29 +1,29 @@ -PredicateType in syn - Rust
    syn

    Struct PredicateType

    source
    pub struct PredicateType {
    -    pub lifetimes: Option<BoundLifetimes>,
    +PredicateType in syn - Rust
    syn

    Struct PredicateType

    Source
    pub struct PredicateType {
    +    pub lifetimes: Option<BoundLifetimes>,
         pub bounded_ty: Type,
         pub colon_token: Colon,
         pub bounds: Punctuated<TypeParamBound, Plus>,
     }
    Expand description

    A type predicate in a where clause: for<'c> Foo<'c>: Trait<'c>.

    -

    Fields§

    §lifetimes: Option<BoundLifetimes>

    Any lifetimes from a for binding

    +

    Fields§

    §lifetimes: Option<BoundLifetimes>

    Any lifetimes from a for binding

    §bounded_ty: Type

    The type being bounded

    §colon_token: Colon§bounds: Punctuated<TypeParamBound, Plus>

    Trait and lifetime bounds (Clone+Send+'static)

    -

    Trait Implementations§

    source§

    impl Clone for PredicateType

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PredicateType

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<PredicateType> for WherePredicate

    source§

    fn from(e: PredicateType) -> WherePredicate

    Converts to this type from the input type.
    source§

    impl Hash for PredicateType

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for PredicateType

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PredicateType

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for PredicateType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for PredicateType

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PredicateType

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<PredicateType> for WherePredicate

    Source§

    fn from(e: PredicateType) -> WherePredicate

    Converts to this type from the input type.
    Source§

    impl Hash for PredicateType

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for PredicateType

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PredicateType

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for PredicateType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.QSelf.html b/syn/struct.QSelf.html index b892d69..913f60d 100644 --- a/syn/struct.QSelf.html +++ b/syn/struct.QSelf.html @@ -1,8 +1,8 @@ -QSelf in syn - Rust
    syn

    Struct QSelf

    source
    pub struct QSelf {
    +QSelf in syn - Rust
    syn

    Struct QSelf

    Source
    pub struct QSelf {
         pub lt_token: Lt,
    -    pub ty: Box<Type>,
    -    pub position: usize,
    -    pub as_token: Option<As>,
    +    pub ty: Box<Type>,
    +    pub position: usize,
    +    pub as_token: Option<As>,
         pub gt_token: Gt,
     }
    Expand description

    The explicit Self type in a qualified path: the T in <T as Display>::fmt.

    The actual path, including the trait and the associated item, is stored @@ -14,21 +14,21 @@ item qualified with this Self type.

    <Vec<T>>::AssociatedItem ^~~~~~ ^ - ty position = 0

    Fields§

    §lt_token: Lt§ty: Box<Type>§position: usize§as_token: Option<As>§gt_token: Gt

    Trait Implementations§

    source§

    impl Clone for QSelf

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for QSelf

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for QSelf

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for QSelf

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Spanned for QSelf

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl Eq for QSelf

    Auto Trait Implementations§

    §

    impl Freeze for QSelf

    §

    impl RefUnwindSafe for QSelf

    §

    impl !Send for QSelf

    §

    impl !Sync for QSelf

    §

    impl Unpin for QSelf

    §

    impl UnwindSafe for QSelf

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    + ty position = 0

    Fields§

    §lt_token: Lt§ty: Box<Type>§position: usize§as_token: Option<As>§gt_token: Gt

    Trait Implementations§

    Source§

    impl Clone for QSelf

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for QSelf

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for QSelf

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for QSelf

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Spanned for QSelf

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl Eq for QSelf

    Auto Trait Implementations§

    §

    impl Freeze for QSelf

    §

    impl RefUnwindSafe for QSelf

    §

    impl !Send for QSelf

    §

    impl !Sync for QSelf

    §

    impl Unpin for QSelf

    §

    impl UnwindSafe for QSelf

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TraitBound.html b/syn/struct.TraitBound.html index 1b8a52f..a45a09a 100644 --- a/syn/struct.TraitBound.html +++ b/syn/struct.TraitBound.html @@ -1,28 +1,28 @@ -TraitBound in syn - Rust
    syn

    Struct TraitBound

    source
    pub struct TraitBound {
    -    pub paren_token: Option<Paren>,
    +TraitBound in syn - Rust
    syn

    Struct TraitBound

    Source
    pub struct TraitBound {
    +    pub paren_token: Option<Paren>,
         pub modifier: TraitBoundModifier,
    -    pub lifetimes: Option<BoundLifetimes>,
    +    pub lifetimes: Option<BoundLifetimes>,
         pub path: Path,
     }
    Expand description

    A trait used as a bound on a type parameter.

    -

    Fields§

    §paren_token: Option<Paren>§modifier: TraitBoundModifier§lifetimes: Option<BoundLifetimes>

    The for<'a> in for<'a> Foo<&'a T>

    +

    Fields§

    §paren_token: Option<Paren>§modifier: TraitBoundModifier§lifetimes: Option<BoundLifetimes>

    The for<'a> in for<'a> Foo<&'a T>

    §path: Path

    The Foo<&'a T> in for<'a> Foo<&'a T>

    -

    Trait Implementations§

    source§

    impl Clone for TraitBound

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraitBound

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TraitBound> for TypeParamBound

    source§

    fn from(e: TraitBound) -> TypeParamBound

    Converts to this type from the input type.
    source§

    impl Hash for TraitBound

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TraitBound

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TraitBound

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TraitBound

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TraitBound

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for TraitBound

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TraitBound

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TraitBound> for TypeParamBound

    Source§

    fn from(e: TraitBound) -> TypeParamBound

    Converts to this type from the input type.
    Source§

    impl Hash for TraitBound

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TraitBound

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TraitBound

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TraitBound

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TraitBound

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Turbofish.html b/syn/struct.Turbofish.html index f4b32a3..aaa1a57 100644 --- a/syn/struct.Turbofish.html +++ b/syn/struct.Turbofish.html @@ -1,20 +1,20 @@ -Turbofish in syn - Rust
    syn

    Struct Turbofish

    source
    pub struct Turbofish<'a>(/* private fields */);
    Expand description

    Returned by TypeGenerics::as_turbofish.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Turbofish<'a>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Turbofish<'a>

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for Turbofish<'a>

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for Turbofish<'a>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> ToTokens for Turbofish<'a>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<'a> Eq for Turbofish<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Turbofish<'a>

    §

    impl<'a> RefUnwindSafe for Turbofish<'a>

    §

    impl<'a> !Send for Turbofish<'a>

    §

    impl<'a> !Sync for Turbofish<'a>

    §

    impl<'a> Unpin for Turbofish<'a>

    §

    impl<'a> UnwindSafe for Turbofish<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Turbofish in syn - Rust
    syn

    Struct Turbofish

    Source
    pub struct Turbofish<'a>(/* private fields */);
    Expand description

    Returned by TypeGenerics::as_turbofish.

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for Turbofish<'a>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for Turbofish<'a>

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for Turbofish<'a>

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for Turbofish<'a>

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> ToTokens for Turbofish<'a>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<'a> Eq for Turbofish<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Turbofish<'a>

    §

    impl<'a> RefUnwindSafe for Turbofish<'a>

    §

    impl<'a> !Send for Turbofish<'a>

    §

    impl<'a> !Sync for Turbofish<'a>

    §

    impl<'a> Unpin for Turbofish<'a>

    §

    impl<'a> UnwindSafe for Turbofish<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeArray.html b/syn/struct.TypeArray.html index ef2c558..96ef4d5 100644 --- a/syn/struct.TypeArray.html +++ b/syn/struct.TypeArray.html @@ -1,26 +1,26 @@ -TypeArray in syn - Rust
    syn

    Struct TypeArray

    source
    pub struct TypeArray {
    +TypeArray in syn - Rust
    syn

    Struct TypeArray

    Source
    pub struct TypeArray {
         pub bracket_token: Bracket,
    -    pub elem: Box<Type>,
    +    pub elem: Box<Type>,
         pub semi_token: Semi,
         pub len: Expr,
     }
    Expand description

    A fixed size array type: [T; n].

    -

    Fields§

    §bracket_token: Bracket§elem: Box<Type>§semi_token: Semi§len: Expr

    Trait Implementations§

    source§

    impl Clone for TypeArray

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeArray

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeArray> for Type

    source§

    fn from(e: TypeArray) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeArray

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeArray

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeArray

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeArray

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §bracket_token: Bracket§elem: Box<Type>§semi_token: Semi§len: Expr

    Trait Implementations§

    Source§

    impl Clone for TypeArray

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeArray

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeArray> for Type

    Source§

    fn from(e: TypeArray) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeArray

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeArray

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeArray

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeArray

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeArray

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeBareFn.html b/syn/struct.TypeBareFn.html index e574647..0a30589 100644 --- a/syn/struct.TypeBareFn.html +++ b/syn/struct.TypeBareFn.html @@ -1,30 +1,30 @@ -TypeBareFn in syn - Rust
    syn

    Struct TypeBareFn

    source
    pub struct TypeBareFn {
    -    pub lifetimes: Option<BoundLifetimes>,
    -    pub unsafety: Option<Unsafe>,
    -    pub abi: Option<Abi>,
    +TypeBareFn in syn - Rust
    syn

    Struct TypeBareFn

    Source
    pub struct TypeBareFn {
    +    pub lifetimes: Option<BoundLifetimes>,
    +    pub unsafety: Option<Unsafe>,
    +    pub abi: Option<Abi>,
         pub fn_token: Fn,
         pub paren_token: Paren,
         pub inputs: Punctuated<BareFnArg, Comma>,
    -    pub variadic: Option<BareVariadic>,
    +    pub variadic: Option<BareVariadic>,
         pub output: ReturnType,
     }
    Expand description

    A bare function type: fn(usize) -> bool.

    -

    Fields§

    §lifetimes: Option<BoundLifetimes>§unsafety: Option<Unsafe>§abi: Option<Abi>§fn_token: Fn§paren_token: Paren§inputs: Punctuated<BareFnArg, Comma>§variadic: Option<BareVariadic>§output: ReturnType

    Trait Implementations§

    source§

    impl Clone for TypeBareFn

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeBareFn

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeBareFn> for Type

    source§

    fn from(e: TypeBareFn) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeBareFn

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeBareFn

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeBareFn

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeBareFn

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeBareFn

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §lifetimes: Option<BoundLifetimes>§unsafety: Option<Unsafe>§abi: Option<Abi>§fn_token: Fn§paren_token: Paren§inputs: Punctuated<BareFnArg, Comma>§variadic: Option<BareVariadic>§output: ReturnType

    Trait Implementations§

    Source§

    impl Clone for TypeBareFn

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeBareFn

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeBareFn> for Type

    Source§

    fn from(e: TypeBareFn) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeBareFn

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeBareFn

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeBareFn

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeBareFn

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeBareFn

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeGenerics.html b/syn/struct.TypeGenerics.html index c6c85b7..c17da3b 100644 --- a/syn/struct.TypeGenerics.html +++ b/syn/struct.TypeGenerics.html @@ -1,21 +1,21 @@ -TypeGenerics in syn - Rust
    syn

    Struct TypeGenerics

    source
    pub struct TypeGenerics<'a>(/* private fields */);
    Expand description

    Returned by Generics::split_for_impl.

    -

    Implementations§

    source§

    impl<'a> TypeGenerics<'a>

    source

    pub fn as_turbofish(&self) -> Turbofish<'_>

    Turn a type’s generics like <X, Y> into a turbofish like ::<X, Y>.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for TypeGenerics<'a>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for TypeGenerics<'a>

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for TypeGenerics<'a>

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for TypeGenerics<'a>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> ToTokens for TypeGenerics<'a>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<'a> Eq for TypeGenerics<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for TypeGenerics<'a>

    §

    impl<'a> RefUnwindSafe for TypeGenerics<'a>

    §

    impl<'a> !Send for TypeGenerics<'a>

    §

    impl<'a> !Sync for TypeGenerics<'a>

    §

    impl<'a> Unpin for TypeGenerics<'a>

    §

    impl<'a> UnwindSafe for TypeGenerics<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +TypeGenerics in syn - Rust
    syn

    Struct TypeGenerics

    Source
    pub struct TypeGenerics<'a>(/* private fields */);
    Expand description

    Returned by Generics::split_for_impl.

    +

    Implementations§

    Source§

    impl<'a> TypeGenerics<'a>

    Source

    pub fn as_turbofish(&self) -> Turbofish<'_>

    Turn a type’s generics like <X, Y> into a turbofish like ::<X, Y>.

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for TypeGenerics<'a>

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for TypeGenerics<'a>

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for TypeGenerics<'a>

    Source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for TypeGenerics<'a>

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> ToTokens for TypeGenerics<'a>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<'a> Eq for TypeGenerics<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for TypeGenerics<'a>

    §

    impl<'a> RefUnwindSafe for TypeGenerics<'a>

    §

    impl<'a> !Send for TypeGenerics<'a>

    §

    impl<'a> !Sync for TypeGenerics<'a>

    §

    impl<'a> Unpin for TypeGenerics<'a>

    §

    impl<'a> UnwindSafe for TypeGenerics<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeGroup.html b/syn/struct.TypeGroup.html index b898dc9..7106b73 100644 --- a/syn/struct.TypeGroup.html +++ b/syn/struct.TypeGroup.html @@ -1,24 +1,24 @@ -TypeGroup in syn - Rust
    syn

    Struct TypeGroup

    source
    pub struct TypeGroup {
    +TypeGroup in syn - Rust
    syn

    Struct TypeGroup

    Source
    pub struct TypeGroup {
         pub group_token: Group,
    -    pub elem: Box<Type>,
    +    pub elem: Box<Type>,
     }
    Expand description

    A type contained within invisible delimiters.

    -

    Fields§

    §group_token: Group§elem: Box<Type>

    Trait Implementations§

    source§

    impl Clone for TypeGroup

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeGroup

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeGroup> for Type

    source§

    fn from(e: TypeGroup) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeGroup

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeGroup

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeGroup

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §group_token: Group§elem: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for TypeGroup

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeGroup

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeGroup> for Type

    Source§

    fn from(e: TypeGroup) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeGroup

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeGroup

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeGroup

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeGroup

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeGroup

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeImplTrait.html b/syn/struct.TypeImplTrait.html index a458b24..a77d096 100644 --- a/syn/struct.TypeImplTrait.html +++ b/syn/struct.TypeImplTrait.html @@ -1,25 +1,25 @@ -TypeImplTrait in syn - Rust
    syn

    Struct TypeImplTrait

    source
    pub struct TypeImplTrait {
    +TypeImplTrait in syn - Rust
    syn

    Struct TypeImplTrait

    Source
    pub struct TypeImplTrait {
         pub impl_token: Impl,
         pub bounds: Punctuated<TypeParamBound, Plus>,
     }
    Expand description

    An impl Bound1 + Bound2 + Bound3 type where Bound is a trait or a lifetime.

    -

    Fields§

    §impl_token: Impl§bounds: Punctuated<TypeParamBound, Plus>

    Implementations§

    Trait Implementations§

    source§

    impl Clone for TypeImplTrait

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeImplTrait

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeImplTrait> for Type

    source§

    fn from(e: TypeImplTrait) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeImplTrait

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeImplTrait

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeImplTrait

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeImplTrait

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeImplTrait

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §impl_token: Impl§bounds: Punctuated<TypeParamBound, Plus>

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for TypeImplTrait

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeImplTrait

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeImplTrait> for Type

    Source§

    fn from(e: TypeImplTrait) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeImplTrait

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeImplTrait

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeImplTrait

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeImplTrait

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeImplTrait

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeInfer.html b/syn/struct.TypeInfer.html index 7423694..f39da77 100644 --- a/syn/struct.TypeInfer.html +++ b/syn/struct.TypeInfer.html @@ -1,23 +1,23 @@ -TypeInfer in syn - Rust
    syn

    Struct TypeInfer

    source
    pub struct TypeInfer {
    +TypeInfer in syn - Rust
    syn

    Struct TypeInfer

    Source
    pub struct TypeInfer {
         pub underscore_token: Underscore,
     }
    Expand description

    Indication that a type should be inferred by the compiler: _.

    -

    Fields§

    §underscore_token: Underscore

    Trait Implementations§

    source§

    impl Clone for TypeInfer

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeInfer

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeInfer> for Type

    source§

    fn from(e: TypeInfer) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeInfer

    source§

    fn hash<H>(&self, _state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeInfer

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeInfer

    source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeInfer

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeInfer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §underscore_token: Underscore

    Trait Implementations§

    Source§

    impl Clone for TypeInfer

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeInfer

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeInfer> for Type

    Source§

    fn from(e: TypeInfer) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeInfer

    Source§

    fn hash<H>(&self, _state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeInfer

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeInfer

    Source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeInfer

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeInfer

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeMacro.html b/syn/struct.TypeMacro.html index d32dda8..61e9980 100644 --- a/syn/struct.TypeMacro.html +++ b/syn/struct.TypeMacro.html @@ -1,23 +1,23 @@ -TypeMacro in syn - Rust
    syn

    Struct TypeMacro

    source
    pub struct TypeMacro {
    +TypeMacro in syn - Rust
    syn

    Struct TypeMacro

    Source
    pub struct TypeMacro {
         pub mac: Macro,
     }
    Expand description

    A macro in the type position.

    -

    Fields§

    §mac: Macro

    Trait Implementations§

    source§

    impl Clone for TypeMacro

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeMacro

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeMacro> for Type

    source§

    fn from(e: TypeMacro) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeMacro

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeMacro

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeMacro

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeMacro

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeMacro

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §mac: Macro

    Trait Implementations§

    Source§

    impl Clone for TypeMacro

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeMacro

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeMacro> for Type

    Source§

    fn from(e: TypeMacro) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeMacro

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeMacro

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeMacro

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeMacro

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeMacro

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeNever.html b/syn/struct.TypeNever.html index abf323f..99111a3 100644 --- a/syn/struct.TypeNever.html +++ b/syn/struct.TypeNever.html @@ -1,23 +1,23 @@ -TypeNever in syn - Rust
    syn

    Struct TypeNever

    source
    pub struct TypeNever {
    +TypeNever in syn - Rust
    syn

    Struct TypeNever

    Source
    pub struct TypeNever {
         pub bang_token: Not,
     }
    Expand description

    The never type: !.

    -

    Fields§

    §bang_token: Not

    Trait Implementations§

    source§

    impl Clone for TypeNever

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeNever

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeNever> for Type

    source§

    fn from(e: TypeNever) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeNever

    source§

    fn hash<H>(&self, _state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeNever

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeNever

    source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeNever

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeNever

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §bang_token: Not

    Trait Implementations§

    Source§

    impl Clone for TypeNever

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeNever

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeNever> for Type

    Source§

    fn from(e: TypeNever) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeNever

    Source§

    fn hash<H>(&self, _state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeNever

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeNever

    Source§

    fn eq(&self, _other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeNever

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeNever

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeParam.html b/syn/struct.TypeParam.html index 5757ad0..5ebbec5 100644 --- a/syn/struct.TypeParam.html +++ b/syn/struct.TypeParam.html @@ -1,28 +1,28 @@ -TypeParam in syn - Rust
    syn

    Struct TypeParam

    source
    pub struct TypeParam {
    -    pub attrs: Vec<Attribute>,
    +TypeParam in syn - Rust
    syn

    Struct TypeParam

    Source
    pub struct TypeParam {
    +    pub attrs: Vec<Attribute>,
         pub ident: Ident,
    -    pub colon_token: Option<Colon>,
    +    pub colon_token: Option<Colon>,
         pub bounds: Punctuated<TypeParamBound, Plus>,
    -    pub eq_token: Option<Eq>,
    -    pub default: Option<Type>,
    +    pub eq_token: Option<Eq>,
    +    pub default: Option<Type>,
     }
    Expand description

    A generic type parameter: T: Into<String>.

    -

    Fields§

    §attrs: Vec<Attribute>§ident: Ident§colon_token: Option<Colon>§bounds: Punctuated<TypeParamBound, Plus>§eq_token: Option<Eq>§default: Option<Type>

    Trait Implementations§

    source§

    impl Clone for TypeParam

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeParam

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Ident> for TypeParam

    source§

    fn from(ident: Ident) -> Self

    Converts to this type from the input type.
    source§

    impl From<TypeParam> for GenericParam

    source§

    fn from(e: TypeParam) -> GenericParam

    Converts to this type from the input type.
    source§

    impl Hash for TypeParam

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeParam

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeParam

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeParam

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeParam

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: Vec<Attribute>§ident: Ident§colon_token: Option<Colon>§bounds: Punctuated<TypeParamBound, Plus>§eq_token: Option<Eq>§default: Option<Type>

    Trait Implementations§

    Source§

    impl Clone for TypeParam

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeParam

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<Ident> for TypeParam

    Source§

    fn from(ident: Ident) -> Self

    Converts to this type from the input type.
    Source§

    impl From<TypeParam> for GenericParam

    Source§

    fn from(e: TypeParam) -> GenericParam

    Converts to this type from the input type.
    Source§

    impl Hash for TypeParam

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeParam

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeParam

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeParam

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeParam

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeParen.html b/syn/struct.TypeParen.html index 3cba2e2..1028597 100644 --- a/syn/struct.TypeParen.html +++ b/syn/struct.TypeParen.html @@ -1,24 +1,24 @@ -TypeParen in syn - Rust
    syn

    Struct TypeParen

    source
    pub struct TypeParen {
    +TypeParen in syn - Rust
    syn

    Struct TypeParen

    Source
    pub struct TypeParen {
         pub paren_token: Paren,
    -    pub elem: Box<Type>,
    +    pub elem: Box<Type>,
     }
    Expand description

    A parenthesized type equivalent to the inner type.

    -

    Fields§

    §paren_token: Paren§elem: Box<Type>

    Trait Implementations§

    source§

    impl Clone for TypeParen

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeParen

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeParen> for Type

    source§

    fn from(e: TypeParen) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeParen

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeParen

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeParen

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeParen

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeParen

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §paren_token: Paren§elem: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for TypeParen

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeParen

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeParen> for Type

    Source§

    fn from(e: TypeParen) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeParen

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeParen

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeParen

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeParen

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeParen

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypePath.html b/syn/struct.TypePath.html index fb299f4..7c34128 100644 --- a/syn/struct.TypePath.html +++ b/syn/struct.TypePath.html @@ -1,25 +1,25 @@ -TypePath in syn - Rust
    syn

    Struct TypePath

    source
    pub struct TypePath {
    -    pub qself: Option<QSelf>,
    +TypePath in syn - Rust
    syn

    Struct TypePath

    Source
    pub struct TypePath {
    +    pub qself: Option<QSelf>,
         pub path: Path,
     }
    Expand description

    A path like std::slice::Iter, optionally qualified with a self-type as in <Vec<T> as SomeTrait>::Associated.

    -

    Fields§

    §qself: Option<QSelf>§path: Path

    Trait Implementations§

    source§

    impl Clone for TypePath

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypePath

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypePath> for Type

    source§

    fn from(e: TypePath) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypePath

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypePath

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypePath

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypePath

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypePath

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §qself: Option<QSelf>§path: Path

    Trait Implementations§

    Source§

    impl Clone for TypePath

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypePath

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypePath> for Type

    Source§

    fn from(e: TypePath) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypePath

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypePath

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypePath

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypePath

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypePath

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypePtr.html b/syn/struct.TypePtr.html index aa2afe9..b1b0e4e 100644 --- a/syn/struct.TypePtr.html +++ b/syn/struct.TypePtr.html @@ -1,26 +1,26 @@ -TypePtr in syn - Rust
    syn

    Struct TypePtr

    source
    pub struct TypePtr {
    +TypePtr in syn - Rust
    syn

    Struct TypePtr

    Source
    pub struct TypePtr {
         pub star_token: Star,
    -    pub const_token: Option<Const>,
    -    pub mutability: Option<Mut>,
    -    pub elem: Box<Type>,
    +    pub const_token: Option<Const>,
    +    pub mutability: Option<Mut>,
    +    pub elem: Box<Type>,
     }
    Expand description

    A raw pointer type: *const T or *mut T.

    -

    Fields§

    §star_token: Star§const_token: Option<Const>§mutability: Option<Mut>§elem: Box<Type>

    Trait Implementations§

    source§

    impl Clone for TypePtr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypePtr

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypePtr> for Type

    source§

    fn from(e: TypePtr) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypePtr

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypePtr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypePtr

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypePtr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypePtr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §star_token: Star§const_token: Option<Const>§mutability: Option<Mut>§elem: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for TypePtr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypePtr

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypePtr> for Type

    Source§

    fn from(e: TypePtr) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypePtr

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypePtr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypePtr

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypePtr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypePtr

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeReference.html b/syn/struct.TypeReference.html index 7860065..a1fe97a 100644 --- a/syn/struct.TypeReference.html +++ b/syn/struct.TypeReference.html @@ -1,26 +1,26 @@ -TypeReference in syn - Rust
    syn

    Struct TypeReference

    source
    pub struct TypeReference {
    +TypeReference in syn - Rust
    syn

    Struct TypeReference

    Source
    pub struct TypeReference {
         pub and_token: And,
    -    pub lifetime: Option<Lifetime>,
    -    pub mutability: Option<Mut>,
    -    pub elem: Box<Type>,
    +    pub lifetime: Option<Lifetime>,
    +    pub mutability: Option<Mut>,
    +    pub elem: Box<Type>,
     }
    Expand description

    A reference type: &'a T or &'a mut T.

    -

    Fields§

    §and_token: And§lifetime: Option<Lifetime>§mutability: Option<Mut>§elem: Box<Type>

    Trait Implementations§

    source§

    impl Clone for TypeReference

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeReference

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeReference> for Type

    source§

    fn from(e: TypeReference) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeReference

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeReference

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeReference

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeReference

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeReference

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §and_token: And§lifetime: Option<Lifetime>§mutability: Option<Mut>§elem: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for TypeReference

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeReference

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeReference> for Type

    Source§

    fn from(e: TypeReference) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeReference

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeReference

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeReference

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeReference

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeReference

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeSlice.html b/syn/struct.TypeSlice.html index c333a33..4710a33 100644 --- a/syn/struct.TypeSlice.html +++ b/syn/struct.TypeSlice.html @@ -1,24 +1,24 @@ -TypeSlice in syn - Rust
    syn

    Struct TypeSlice

    source
    pub struct TypeSlice {
    +TypeSlice in syn - Rust
    syn

    Struct TypeSlice

    Source
    pub struct TypeSlice {
         pub bracket_token: Bracket,
    -    pub elem: Box<Type>,
    +    pub elem: Box<Type>,
     }
    Expand description

    A dynamically sized slice type: [T].

    -

    Fields§

    §bracket_token: Bracket§elem: Box<Type>

    Trait Implementations§

    source§

    impl Clone for TypeSlice

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeSlice

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeSlice> for Type

    source§

    fn from(e: TypeSlice) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeSlice

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeSlice

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeSlice

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeSlice

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeSlice

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §bracket_token: Bracket§elem: Box<Type>

    Trait Implementations§

    Source§

    impl Clone for TypeSlice

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeSlice

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeSlice> for Type

    Source§

    fn from(e: TypeSlice) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeSlice

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeSlice

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeSlice

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeSlice

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeSlice

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeTraitObject.html b/syn/struct.TypeTraitObject.html index c93e986..de3e64f 100644 --- a/syn/struct.TypeTraitObject.html +++ b/syn/struct.TypeTraitObject.html @@ -1,25 +1,25 @@ -TypeTraitObject in syn - Rust
    syn

    Struct TypeTraitObject

    source
    pub struct TypeTraitObject {
    -    pub dyn_token: Option<Dyn>,
    +TypeTraitObject in syn - Rust
    syn

    Struct TypeTraitObject

    Source
    pub struct TypeTraitObject {
    +    pub dyn_token: Option<Dyn>,
         pub bounds: Punctuated<TypeParamBound, Plus>,
     }
    Expand description

    A trait object type dyn Bound1 + Bound2 + Bound3 where Bound is a trait or a lifetime.

    -

    Fields§

    §dyn_token: Option<Dyn>§bounds: Punctuated<TypeParamBound, Plus>

    Implementations§

    Trait Implementations§

    source§

    impl Clone for TypeTraitObject

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeTraitObject

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeTraitObject> for Type

    source§

    fn from(e: TypeTraitObject) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeTraitObject

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeTraitObject

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeTraitObject

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeTraitObject

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeTraitObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §dyn_token: Option<Dyn>§bounds: Punctuated<TypeParamBound, Plus>

    Implementations§

    Trait Implementations§

    Source§

    impl Clone for TypeTraitObject

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeTraitObject

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeTraitObject> for Type

    Source§

    fn from(e: TypeTraitObject) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeTraitObject

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeTraitObject

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeTraitObject

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeTraitObject

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeTraitObject

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.TypeTuple.html b/syn/struct.TypeTuple.html index f1f498a..8221441 100644 --- a/syn/struct.TypeTuple.html +++ b/syn/struct.TypeTuple.html @@ -1,24 +1,24 @@ -TypeTuple in syn - Rust
    syn

    Struct TypeTuple

    source
    pub struct TypeTuple {
    +TypeTuple in syn - Rust
    syn

    Struct TypeTuple

    Source
    pub struct TypeTuple {
         pub paren_token: Paren,
         pub elems: Punctuated<Type, Comma>,
     }
    Expand description

    A tuple type: (A, B, C, String).

    -

    Fields§

    §paren_token: Paren§elems: Punctuated<Type, Comma>

    Trait Implementations§

    source§

    impl Clone for TypeTuple

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeTuple

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TypeTuple> for Type

    source§

    fn from(e: TypeTuple) -> Type

    Converts to this type from the input type.
    source§

    impl Hash for TypeTuple

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for TypeTuple

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for TypeTuple

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for TypeTuple

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for TypeTuple

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §paren_token: Paren§elems: Punctuated<Type, Comma>

    Trait Implementations§

    Source§

    impl Clone for TypeTuple

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TypeTuple

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl From<TypeTuple> for Type

    Source§

    fn from(e: TypeTuple) -> Type

    Converts to this type from the input type.
    Source§

    impl Hash for TypeTuple

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for TypeTuple

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for TypeTuple

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for TypeTuple

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for TypeTuple

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.Variant.html b/syn/struct.Variant.html index 9791461..044cfcb 100644 --- a/syn/struct.Variant.html +++ b/syn/struct.Variant.html @@ -1,29 +1,29 @@ -Variant in syn - Rust
    syn

    Struct Variant

    source
    pub struct Variant {
    -    pub attrs: Vec<Attribute>,
    +Variant in syn - Rust
    syn

    Struct Variant

    Source
    pub struct Variant {
    +    pub attrs: Vec<Attribute>,
         pub ident: Ident,
         pub fields: Fields,
    -    pub discriminant: Option<(Eq, Expr)>,
    +    pub discriminant: Option<(Eq, Expr)>,
     }
    Expand description

    An enum variant.

    -

    Fields§

    §attrs: Vec<Attribute>§ident: Ident

    Name of the variant.

    +

    Fields§

    §attrs: Vec<Attribute>§ident: Ident

    Name of the variant.

    §fields: Fields

    Content stored in the variant.

    -
    §discriminant: Option<(Eq, Expr)>

    Explicit discriminant: Variant = 1

    -

    Trait Implementations§

    source§

    impl Clone for Variant

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Variant

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Variant

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Variant

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Variant

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Variant

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for Variant

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +
    §discriminant: Option<(Eq, Expr)>

    Explicit discriminant: Variant = 1

    +

    Trait Implementations§

    Source§

    impl Clone for Variant

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Variant

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for Variant

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Variant

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Variant

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Variant

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for Variant

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.VisRestricted.html b/syn/struct.VisRestricted.html index 2445cbe..7dbb57e 100644 --- a/syn/struct.VisRestricted.html +++ b/syn/struct.VisRestricted.html @@ -1,27 +1,27 @@ -VisRestricted in syn - Rust
    syn

    Struct VisRestricted

    source
    pub struct VisRestricted {
    +VisRestricted in syn - Rust
    syn

    Struct VisRestricted

    Source
    pub struct VisRestricted {
         pub pub_token: Pub,
         pub paren_token: Paren,
    -    pub in_token: Option<In>,
    -    pub path: Box<Path>,
    +    pub in_token: Option<In>,
    +    pub path: Box<Path>,
     }
    Expand description

    A visibility level restricted to some path: pub(self) or pub(super) or pub(crate) or pub(in some::module).

    -

    Fields§

    §pub_token: Pub§paren_token: Paren§in_token: Option<In>§path: Box<Path>

    Trait Implementations§

    source§

    impl Clone for VisRestricted

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for VisRestricted

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for VisRestricted

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for VisRestricted

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for VisRestricted

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for VisRestricted

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §pub_token: Pub§paren_token: Paren§in_token: Option<In>§path: Box<Path>

    Trait Implementations§

    Source§

    impl Clone for VisRestricted

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for VisRestricted

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for VisRestricted

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for VisRestricted

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for VisRestricted

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for VisRestricted

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/struct.WhereClause.html b/syn/struct.WhereClause.html index 1742ddf..ad570ed 100644 --- a/syn/struct.WhereClause.html +++ b/syn/struct.WhereClause.html @@ -1,24 +1,24 @@ -WhereClause in syn - Rust
    syn

    Struct WhereClause

    source
    pub struct WhereClause {
    +WhereClause in syn - Rust
    syn

    Struct WhereClause

    Source
    pub struct WhereClause {
         pub where_token: Where,
         pub predicates: Punctuated<WherePredicate, Comma>,
     }
    Expand description

    A where clause in a definition: where T: Deserialize<'de>, D: 'static.

    -

    Fields§

    §where_token: Where§predicates: Punctuated<WherePredicate, Comma>

    Trait Implementations§

    source§

    impl Clone for WhereClause

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WhereClause

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for WhereClause

    source§

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for WhereClause

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for WhereClause

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for WhereClause

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Eq for WhereClause

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §where_token: Where§predicates: Punctuated<WherePredicate, Comma>

    Trait Implementations§

    Source§

    impl Clone for WhereClause

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for WhereClause

    Source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for WhereClause

    Source§

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for WhereClause

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for WhereClause

    Source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for WhereClause

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Eq for WhereClause

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/index.html b/syn/token/index.html index 2a0e1ef..e2fe8af 100644 --- a/syn/token/index.html +++ b/syn/token/index.html @@ -1,4 +1,4 @@ -syn::token - Rust
    syn

    Module token

    source
    Expand description

    Tokens representing Rust punctuation, keywords, and delimiters.

    +syn::token - Rust
    syn

    Module token

    Source
    Expand description

    Tokens representing Rust punctuation, keywords, and delimiters.

    The type names in this module can be difficult to keep straight, so we prefer to use the Token! macro instead. This is a type-macro that expands to the token type of the given token.

    diff --git a/syn/token/struct.Abstract.html b/syn/token/struct.Abstract.html index 7831388..4d29d1f 100644 --- a/syn/token/struct.Abstract.html +++ b/syn/token/struct.Abstract.html @@ -1,24 +1,24 @@ -Abstract in syn::token - Rust
    syn::token

    Struct Abstract

    source
    pub struct Abstract {
    +Abstract in syn::token - Rust
    syn::token

    Struct Abstract

    Source
    pub struct Abstract {
         pub span: Span,
     }
    Expand description

    abstract

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Abstract

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Abstract

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Abstract

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Abstract

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Abstract

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Abstract

    source§

    fn eq(&self, _other: &Abstract) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Abstract

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Abstract

    source§

    impl Eq for Abstract

    source§

    impl Token for Abstract

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Abstract

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Abstract

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Abstract

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Abstract

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Abstract

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Abstract

    Source§

    fn eq(&self, _other: &Abstract) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Abstract

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Abstract

    Source§

    impl Eq for Abstract

    Source§

    impl Token for Abstract

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.And.html b/syn/token/struct.And.html index 1dbc279..f3b52b0 100644 --- a/syn/token/struct.And.html +++ b/syn/token/struct.And.html @@ -1,26 +1,28 @@ -And in syn::token - Rust
    syn::token

    Struct And

    source
    pub struct And {
    -    pub spans: [Span; 1],
    +And in syn::token - Rust
    syn::token

    Struct And

    Source
    pub struct And {
    +    pub spans: [Span; 1],
     }
    Expand description

    &

    Usage: bitwise and logical AND, borrow, references, reference patterns.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for And

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for And

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for And

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for And

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for And

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for And

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for And

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for And

    source§

    fn eq(&self, _other: &And) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for And

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for And

    source§

    impl Eq for And

    source§

    impl Token for And

    Auto Trait Implementations§

    §

    impl Freeze for And

    §

    impl RefUnwindSafe for And

    §

    impl !Send for And

    §

    impl !Sync for And

    §

    impl Unpin for And

    §

    impl UnwindSafe for And

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for And

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for And

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for And

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for And

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for And

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for And

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for And

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for And

    Source§

    fn eq(&self, _other: &And) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for And

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for And

    Source§

    impl Eq for And

    Source§

    impl Token for And

    Auto Trait Implementations§

    §

    impl Freeze for And

    §

    impl RefUnwindSafe for And

    §

    impl !Send for And

    §

    impl !Sync for And

    §

    impl Unpin for And

    §

    impl UnwindSafe for And

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.AndAnd.html b/syn/token/struct.AndAnd.html index 6ccf452..98bacaf 100644 --- a/syn/token/struct.AndAnd.html +++ b/syn/token/struct.AndAnd.html @@ -1,26 +1,26 @@ -AndAnd in syn::token - Rust
    syn::token

    Struct AndAnd

    source
    pub struct AndAnd {
    -    pub spans: [Span; 2],
    +AndAnd in syn::token - Rust
    syn::token

    Struct AndAnd

    Source
    pub struct AndAnd {
    +    pub spans: [Span; 2],
     }
    Expand description

    &&

    Usage: lazy AND, borrow, references, reference patterns.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for AndAnd

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AndAnd

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AndAnd

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for AndAnd

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for AndAnd

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for AndAnd

    source§

    fn eq(&self, _other: &AndAnd) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for AndAnd

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for AndAnd

    source§

    impl Eq for AndAnd

    source§

    impl Token for AndAnd

    Auto Trait Implementations§

    §

    impl Freeze for AndAnd

    §

    impl RefUnwindSafe for AndAnd

    §

    impl !Send for AndAnd

    §

    impl !Sync for AndAnd

    §

    impl Unpin for AndAnd

    §

    impl UnwindSafe for AndAnd

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for AndAnd

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AndAnd

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for AndAnd

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for AndAnd

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for AndAnd

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for AndAnd

    Source§

    fn eq(&self, _other: &AndAnd) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for AndAnd

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for AndAnd

    Source§

    impl Eq for AndAnd

    Source§

    impl Token for AndAnd

    Auto Trait Implementations§

    §

    impl Freeze for AndAnd

    §

    impl RefUnwindSafe for AndAnd

    §

    impl !Send for AndAnd

    §

    impl !Sync for AndAnd

    §

    impl Unpin for AndAnd

    §

    impl UnwindSafe for AndAnd

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.AndEq.html b/syn/token/struct.AndEq.html index 1ee0857..35cd5b1 100644 --- a/syn/token/struct.AndEq.html +++ b/syn/token/struct.AndEq.html @@ -1,26 +1,26 @@ -AndEq in syn::token - Rust
    syn::token

    Struct AndEq

    source
    pub struct AndEq {
    -    pub spans: [Span; 2],
    +AndEq in syn::token - Rust
    syn::token

    Struct AndEq

    Source
    pub struct AndEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    &=

    Usage: bitwise AND assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for AndEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AndEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AndEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for AndEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for AndEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for AndEq

    source§

    fn eq(&self, _other: &AndEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for AndEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for AndEq

    source§

    impl Eq for AndEq

    source§

    impl Token for AndEq

    Auto Trait Implementations§

    §

    impl Freeze for AndEq

    §

    impl RefUnwindSafe for AndEq

    §

    impl !Send for AndEq

    §

    impl !Sync for AndEq

    §

    impl Unpin for AndEq

    §

    impl UnwindSafe for AndEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for AndEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AndEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for AndEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for AndEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for AndEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for AndEq

    Source§

    fn eq(&self, _other: &AndEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for AndEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for AndEq

    Source§

    impl Eq for AndEq

    Source§

    impl Token for AndEq

    Auto Trait Implementations§

    §

    impl Freeze for AndEq

    §

    impl RefUnwindSafe for AndEq

    §

    impl !Send for AndEq

    §

    impl !Sync for AndEq

    §

    impl Unpin for AndEq

    §

    impl UnwindSafe for AndEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.As.html b/syn/token/struct.As.html index e60cc14..e2d315e 100644 --- a/syn/token/struct.As.html +++ b/syn/token/struct.As.html @@ -1,24 +1,24 @@ -As in syn::token - Rust
    syn::token

    Struct As

    source
    pub struct As {
    +As in syn::token - Rust
    syn::token

    Struct As

    Source
    pub struct As {
         pub span: Span,
     }
    Expand description

    as

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for As

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for As

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for As

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for As

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for As

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for As

    source§

    fn eq(&self, _other: &As) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for As

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for As

    source§

    impl Eq for As

    source§

    impl Token for As

    Auto Trait Implementations§

    §

    impl Freeze for As

    §

    impl RefUnwindSafe for As

    §

    impl !Send for As

    §

    impl !Sync for As

    §

    impl Unpin for As

    §

    impl UnwindSafe for As

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for As

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for As

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for As

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for As

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for As

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for As

    Source§

    fn eq(&self, _other: &As) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for As

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for As

    Source§

    impl Eq for As

    Source§

    impl Token for As

    Auto Trait Implementations§

    §

    impl Freeze for As

    §

    impl RefUnwindSafe for As

    §

    impl !Send for As

    §

    impl !Sync for As

    §

    impl Unpin for As

    §

    impl UnwindSafe for As

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Async.html b/syn/token/struct.Async.html index c7edadb..c6d6c7a 100644 --- a/syn/token/struct.Async.html +++ b/syn/token/struct.Async.html @@ -1,24 +1,24 @@ -Async in syn::token - Rust
    syn::token

    Struct Async

    source
    pub struct Async {
    +Async in syn::token - Rust
    syn::token

    Struct Async

    Source
    pub struct Async {
         pub span: Span,
     }
    Expand description

    async

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Async

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Async

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Async

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Async

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Async

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Async

    source§

    fn eq(&self, _other: &Async) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Async

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Async

    source§

    impl Eq for Async

    source§

    impl Token for Async

    Auto Trait Implementations§

    §

    impl Freeze for Async

    §

    impl RefUnwindSafe for Async

    §

    impl !Send for Async

    §

    impl !Sync for Async

    §

    impl Unpin for Async

    §

    impl UnwindSafe for Async

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Async

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Async

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Async

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Async

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Async

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Async

    Source§

    fn eq(&self, _other: &Async) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Async

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Async

    Source§

    impl Eq for Async

    Source§

    impl Token for Async

    Auto Trait Implementations§

    §

    impl Freeze for Async

    §

    impl RefUnwindSafe for Async

    §

    impl !Send for Async

    §

    impl !Sync for Async

    §

    impl Unpin for Async

    §

    impl UnwindSafe for Async

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.At.html b/syn/token/struct.At.html index 66a447a..12aa446 100644 --- a/syn/token/struct.At.html +++ b/syn/token/struct.At.html @@ -1,26 +1,28 @@ -At in syn::token - Rust
    syn::token

    Struct At

    source
    pub struct At {
    -    pub spans: [Span; 1],
    +At in syn::token - Rust
    syn::token

    Struct At

    Source
    pub struct At {
    +    pub spans: [Span; 1],
     }
    Expand description

    @

    Usage: subpattern binding.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for At

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for At

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for At

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for At

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for At

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for At

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for At

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for At

    source§

    fn eq(&self, _other: &At) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for At

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for At

    source§

    impl Eq for At

    source§

    impl Token for At

    Auto Trait Implementations§

    §

    impl Freeze for At

    §

    impl RefUnwindSafe for At

    §

    impl !Send for At

    §

    impl !Sync for At

    §

    impl Unpin for At

    §

    impl UnwindSafe for At

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for At

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for At

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for At

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for At

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for At

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for At

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for At

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for At

    Source§

    fn eq(&self, _other: &At) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for At

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for At

    Source§

    impl Eq for At

    Source§

    impl Token for At

    Auto Trait Implementations§

    §

    impl Freeze for At

    §

    impl RefUnwindSafe for At

    §

    impl !Send for At

    §

    impl !Sync for At

    §

    impl Unpin for At

    §

    impl UnwindSafe for At

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Auto.html b/syn/token/struct.Auto.html index 70cadc1..dd7b361 100644 --- a/syn/token/struct.Auto.html +++ b/syn/token/struct.Auto.html @@ -1,24 +1,24 @@ -Auto in syn::token - Rust
    syn::token

    Struct Auto

    source
    pub struct Auto {
    +Auto in syn::token - Rust
    syn::token

    Struct Auto

    Source
    pub struct Auto {
         pub span: Span,
     }
    Expand description

    auto

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Auto

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Auto

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Auto

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Auto

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Auto

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Auto

    source§

    fn eq(&self, _other: &Auto) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Auto

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Auto

    source§

    impl Eq for Auto

    source§

    impl Token for Auto

    Auto Trait Implementations§

    §

    impl Freeze for Auto

    §

    impl RefUnwindSafe for Auto

    §

    impl !Send for Auto

    §

    impl !Sync for Auto

    §

    impl Unpin for Auto

    §

    impl UnwindSafe for Auto

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Auto

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Auto

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Auto

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Auto

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Auto

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Auto

    Source§

    fn eq(&self, _other: &Auto) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Auto

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Auto

    Source§

    impl Eq for Auto

    Source§

    impl Token for Auto

    Auto Trait Implementations§

    §

    impl Freeze for Auto

    §

    impl RefUnwindSafe for Auto

    §

    impl !Send for Auto

    §

    impl !Sync for Auto

    §

    impl Unpin for Auto

    §

    impl UnwindSafe for Auto

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Await.html b/syn/token/struct.Await.html index c952038..1549fed 100644 --- a/syn/token/struct.Await.html +++ b/syn/token/struct.Await.html @@ -1,24 +1,24 @@ -Await in syn::token - Rust
    syn::token

    Struct Await

    source
    pub struct Await {
    +Await in syn::token - Rust
    syn::token

    Struct Await

    Source
    pub struct Await {
         pub span: Span,
     }
    Expand description

    await

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Await

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Await

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Await

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Await

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Await

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Await

    source§

    fn eq(&self, _other: &Await) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Await

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Await

    source§

    impl Eq for Await

    source§

    impl Token for Await

    Auto Trait Implementations§

    §

    impl Freeze for Await

    §

    impl RefUnwindSafe for Await

    §

    impl !Send for Await

    §

    impl !Sync for Await

    §

    impl Unpin for Await

    §

    impl UnwindSafe for Await

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Await

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Await

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Await

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Await

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Await

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Await

    Source§

    fn eq(&self, _other: &Await) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Await

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Await

    Source§

    impl Eq for Await

    Source§

    impl Token for Await

    Auto Trait Implementations§

    §

    impl Freeze for Await

    §

    impl RefUnwindSafe for Await

    §

    impl !Send for Await

    §

    impl !Sync for Await

    §

    impl Unpin for Await

    §

    impl UnwindSafe for Await

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Become.html b/syn/token/struct.Become.html index 3a18232..ae87741 100644 --- a/syn/token/struct.Become.html +++ b/syn/token/struct.Become.html @@ -1,24 +1,24 @@ -Become in syn::token - Rust
    syn::token

    Struct Become

    source
    pub struct Become {
    +Become in syn::token - Rust
    syn::token

    Struct Become

    Source
    pub struct Become {
         pub span: Span,
     }
    Expand description

    become

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Become

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Become

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Become

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Become

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Become

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Become

    source§

    fn eq(&self, _other: &Become) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Become

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Become

    source§

    impl Eq for Become

    source§

    impl Token for Become

    Auto Trait Implementations§

    §

    impl Freeze for Become

    §

    impl RefUnwindSafe for Become

    §

    impl !Send for Become

    §

    impl !Sync for Become

    §

    impl Unpin for Become

    §

    impl UnwindSafe for Become

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Become

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Become

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Become

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Become

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Become

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Become

    Source§

    fn eq(&self, _other: &Become) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Become

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Become

    Source§

    impl Eq for Become

    Source§

    impl Token for Become

    Auto Trait Implementations§

    §

    impl Freeze for Become

    §

    impl RefUnwindSafe for Become

    §

    impl !Send for Become

    §

    impl !Sync for Become

    §

    impl Unpin for Become

    §

    impl UnwindSafe for Become

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Box.html b/syn/token/struct.Box.html index 0652dc9..e22c7ed 100644 --- a/syn/token/struct.Box.html +++ b/syn/token/struct.Box.html @@ -1,24 +1,24 @@ -Box in syn::token - Rust
    syn::token

    Struct Box

    source
    pub struct Box {
    +Box in syn::token - Rust
    syn::token

    Struct Box

    Source
    pub struct Box {
         pub span: Span,
     }
    Expand description

    box

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Box

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Box

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Box

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Box

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Box

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Box

    source§

    fn eq(&self, _other: &Box) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Box

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Box

    source§

    impl Eq for Box

    source§

    impl Token for Box

    Auto Trait Implementations§

    §

    impl Freeze for Box

    §

    impl RefUnwindSafe for Box

    §

    impl !Send for Box

    §

    impl !Sync for Box

    §

    impl Unpin for Box

    §

    impl UnwindSafe for Box

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Box

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Box

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Box

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Box

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Box

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Box

    Source§

    fn eq(&self, _other: &Box) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Box

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Box

    Source§

    impl Eq for Box

    Source§

    impl Token for Box

    Auto Trait Implementations§

    §

    impl Freeze for Box

    §

    impl RefUnwindSafe for Box

    §

    impl !Send for Box

    §

    impl !Sync for Box

    §

    impl Unpin for Box

    §

    impl UnwindSafe for Box

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Brace.html b/syn/token/struct.Brace.html index 815ac42..34312e5 100644 --- a/syn/token/struct.Brace.html +++ b/syn/token/struct.Brace.html @@ -1,20 +1,20 @@ -Brace in syn::token - Rust
    syn::token

    Struct Brace

    source
    pub struct Brace {
    +Brace in syn::token - Rust
    syn::token

    Struct Brace

    Source
    pub struct Brace {
         pub span: DelimSpan,
     }
    Expand description

    {}

    -

    Fields§

    §span: DelimSpan

    Implementations§

    source§

    impl Brace

    source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where - F: FnOnce(&mut TokenStream),

    Trait Implementations§

    source§

    impl Clone for Brace

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Brace

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Brace

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Brace

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Brace

    source§

    fn eq(&self, _other: &Brace) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Brace

    source§

    impl Eq for Brace

    source§

    impl Token for Brace

    Auto Trait Implementations§

    §

    impl Freeze for Brace

    §

    impl RefUnwindSafe for Brace

    §

    impl !Send for Brace

    §

    impl !Sync for Brace

    §

    impl Unpin for Brace

    §

    impl UnwindSafe for Brace

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: DelimSpan

    Implementations§

    Source§

    impl Brace

    Source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where + F: FnOnce(&mut TokenStream),

    Trait Implementations§

    Source§

    impl Clone for Brace

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Brace

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Brace

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Brace

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Brace

    Source§

    fn eq(&self, _other: &Brace) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Brace

    Source§

    impl Eq for Brace

    Source§

    impl Token for Brace

    Auto Trait Implementations§

    §

    impl Freeze for Brace

    §

    impl RefUnwindSafe for Brace

    §

    impl !Send for Brace

    §

    impl !Sync for Brace

    §

    impl Unpin for Brace

    §

    impl UnwindSafe for Brace

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Bracket.html b/syn/token/struct.Bracket.html index 2716c1b..2b2e4a5 100644 --- a/syn/token/struct.Bracket.html +++ b/syn/token/struct.Bracket.html @@ -1,20 +1,20 @@ -Bracket in syn::token - Rust
    syn::token

    Struct Bracket

    source
    pub struct Bracket {
    +Bracket in syn::token - Rust
    syn::token

    Struct Bracket

    Source
    pub struct Bracket {
         pub span: DelimSpan,
     }
    Expand description

    []

    -

    Fields§

    §span: DelimSpan

    Implementations§

    source§

    impl Bracket

    source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where - F: FnOnce(&mut TokenStream),

    Trait Implementations§

    source§

    impl Clone for Bracket

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Bracket

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Bracket

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Bracket

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Bracket

    source§

    fn eq(&self, _other: &Bracket) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Bracket

    source§

    impl Eq for Bracket

    source§

    impl Token for Bracket

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: DelimSpan

    Implementations§

    Source§

    impl Bracket

    Source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where + F: FnOnce(&mut TokenStream),

    Trait Implementations§

    Source§

    impl Clone for Bracket

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Bracket

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Bracket

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Bracket

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Bracket

    Source§

    fn eq(&self, _other: &Bracket) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Bracket

    Source§

    impl Eq for Bracket

    Source§

    impl Token for Bracket

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Break.html b/syn/token/struct.Break.html index 70b0786..de18a34 100644 --- a/syn/token/struct.Break.html +++ b/syn/token/struct.Break.html @@ -1,24 +1,24 @@ -Break in syn::token - Rust
    syn::token

    Struct Break

    source
    pub struct Break {
    +Break in syn::token - Rust
    syn::token

    Struct Break

    Source
    pub struct Break {
         pub span: Span,
     }
    Expand description

    break

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Break

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Break

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Break

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Break

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Break

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Break

    source§

    fn eq(&self, _other: &Break) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Break

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Break

    source§

    impl Eq for Break

    source§

    impl Token for Break

    Auto Trait Implementations§

    §

    impl Freeze for Break

    §

    impl RefUnwindSafe for Break

    §

    impl !Send for Break

    §

    impl !Sync for Break

    §

    impl Unpin for Break

    §

    impl UnwindSafe for Break

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Break

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Break

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Break

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Break

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Break

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Break

    Source§

    fn eq(&self, _other: &Break) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Break

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Break

    Source§

    impl Eq for Break

    Source§

    impl Token for Break

    Auto Trait Implementations§

    §

    impl Freeze for Break

    §

    impl RefUnwindSafe for Break

    §

    impl !Send for Break

    §

    impl !Sync for Break

    §

    impl Unpin for Break

    §

    impl UnwindSafe for Break

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Caret.html b/syn/token/struct.Caret.html index e953ea2..375dd39 100644 --- a/syn/token/struct.Caret.html +++ b/syn/token/struct.Caret.html @@ -1,26 +1,28 @@ -Caret in syn::token - Rust
    syn::token

    Struct Caret

    source
    pub struct Caret {
    -    pub spans: [Span; 1],
    +Caret in syn::token - Rust
    syn::token

    Struct Caret

    Source
    pub struct Caret {
    +    pub spans: [Span; 1],
     }
    Expand description

    ^

    Usage: bitwise and logical XOR.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Caret

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Caret

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Caret

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Caret

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Caret

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Caret

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Caret

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Caret

    source§

    fn eq(&self, _other: &Caret) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Caret

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Caret

    source§

    impl Eq for Caret

    source§

    impl Token for Caret

    Auto Trait Implementations§

    §

    impl Freeze for Caret

    §

    impl RefUnwindSafe for Caret

    §

    impl !Send for Caret

    §

    impl !Sync for Caret

    §

    impl Unpin for Caret

    §

    impl UnwindSafe for Caret

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Caret

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Caret

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Caret

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Caret

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Caret

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Caret

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Caret

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Caret

    Source§

    fn eq(&self, _other: &Caret) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Caret

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Caret

    Source§

    impl Eq for Caret

    Source§

    impl Token for Caret

    Auto Trait Implementations§

    §

    impl Freeze for Caret

    §

    impl RefUnwindSafe for Caret

    §

    impl !Send for Caret

    §

    impl !Sync for Caret

    §

    impl Unpin for Caret

    §

    impl UnwindSafe for Caret

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.CaretEq.html b/syn/token/struct.CaretEq.html index e731e0a..7990b93 100644 --- a/syn/token/struct.CaretEq.html +++ b/syn/token/struct.CaretEq.html @@ -1,26 +1,26 @@ -CaretEq in syn::token - Rust
    syn::token

    Struct CaretEq

    source
    pub struct CaretEq {
    -    pub spans: [Span; 2],
    +CaretEq in syn::token - Rust
    syn::token

    Struct CaretEq

    Source
    pub struct CaretEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    ^=

    Usage: bitwise XOR assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for CaretEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CaretEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for CaretEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for CaretEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for CaretEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for CaretEq

    source§

    fn eq(&self, _other: &CaretEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for CaretEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for CaretEq

    source§

    impl Eq for CaretEq

    source§

    impl Token for CaretEq

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for CaretEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CaretEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for CaretEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for CaretEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for CaretEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for CaretEq

    Source§

    fn eq(&self, _other: &CaretEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for CaretEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for CaretEq

    Source§

    impl Eq for CaretEq

    Source§

    impl Token for CaretEq

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Colon.html b/syn/token/struct.Colon.html index 048f9d3..f750697 100644 --- a/syn/token/struct.Colon.html +++ b/syn/token/struct.Colon.html @@ -1,26 +1,28 @@ -Colon in syn::token - Rust
    syn::token

    Struct Colon

    source
    pub struct Colon {
    -    pub spans: [Span; 1],
    +Colon in syn::token - Rust
    syn::token

    Struct Colon

    Source
    pub struct Colon {
    +    pub spans: [Span; 1],
     }
    Expand description

    :

    Usage: various separators.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Colon

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Colon

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Colon

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Colon

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Colon

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Colon

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Colon

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Colon

    source§

    fn eq(&self, _other: &Colon) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Colon

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Colon

    source§

    impl Eq for Colon

    source§

    impl Token for Colon

    Auto Trait Implementations§

    §

    impl Freeze for Colon

    §

    impl RefUnwindSafe for Colon

    §

    impl !Send for Colon

    §

    impl !Sync for Colon

    §

    impl Unpin for Colon

    §

    impl UnwindSafe for Colon

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Colon

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Colon

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Colon

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Colon

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Colon

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Colon

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Colon

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Colon

    Source§

    fn eq(&self, _other: &Colon) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Colon

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Colon

    Source§

    impl Eq for Colon

    Source§

    impl Token for Colon

    Auto Trait Implementations§

    §

    impl Freeze for Colon

    §

    impl RefUnwindSafe for Colon

    §

    impl !Send for Colon

    §

    impl !Sync for Colon

    §

    impl Unpin for Colon

    §

    impl UnwindSafe for Colon

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Comma.html b/syn/token/struct.Comma.html index aabeca1..b0846b5 100644 --- a/syn/token/struct.Comma.html +++ b/syn/token/struct.Comma.html @@ -1,26 +1,28 @@ -Comma in syn::token - Rust
    syn::token

    Struct Comma

    source
    pub struct Comma {
    -    pub spans: [Span; 1],
    +Comma in syn::token - Rust
    syn::token

    Struct Comma

    Source
    pub struct Comma {
    +    pub spans: [Span; 1],
     }
    Expand description

    ,

    Usage: various separators.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Comma

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Comma

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Comma

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Comma

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Comma

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Comma

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Comma

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Comma

    source§

    fn eq(&self, _other: &Comma) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Comma

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Comma

    source§

    impl Eq for Comma

    source§

    impl Token for Comma

    Auto Trait Implementations§

    §

    impl Freeze for Comma

    §

    impl RefUnwindSafe for Comma

    §

    impl !Send for Comma

    §

    impl !Sync for Comma

    §

    impl Unpin for Comma

    §

    impl UnwindSafe for Comma

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Comma

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Comma

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Comma

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Comma

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Comma

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Comma

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Comma

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Comma

    Source§

    fn eq(&self, _other: &Comma) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Comma

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Comma

    Source§

    impl Eq for Comma

    Source§

    impl Token for Comma

    Auto Trait Implementations§

    §

    impl Freeze for Comma

    §

    impl RefUnwindSafe for Comma

    §

    impl !Send for Comma

    §

    impl !Sync for Comma

    §

    impl Unpin for Comma

    §

    impl UnwindSafe for Comma

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Const.html b/syn/token/struct.Const.html index 707787b..237366b 100644 --- a/syn/token/struct.Const.html +++ b/syn/token/struct.Const.html @@ -1,24 +1,24 @@ -Const in syn::token - Rust
    syn::token

    Struct Const

    source
    pub struct Const {
    +Const in syn::token - Rust
    syn::token

    Struct Const

    Source
    pub struct Const {
         pub span: Span,
     }
    Expand description

    const

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Const

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Const

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Const

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Const

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Const

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Const

    source§

    fn eq(&self, _other: &Const) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Const

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Const

    source§

    impl Eq for Const

    source§

    impl Token for Const

    Auto Trait Implementations§

    §

    impl Freeze for Const

    §

    impl RefUnwindSafe for Const

    §

    impl !Send for Const

    §

    impl !Sync for Const

    §

    impl Unpin for Const

    §

    impl UnwindSafe for Const

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Const

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Const

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Const

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Const

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Const

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Const

    Source§

    fn eq(&self, _other: &Const) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Const

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Const

    Source§

    impl Eq for Const

    Source§

    impl Token for Const

    Auto Trait Implementations§

    §

    impl Freeze for Const

    §

    impl RefUnwindSafe for Const

    §

    impl !Send for Const

    §

    impl !Sync for Const

    §

    impl Unpin for Const

    §

    impl UnwindSafe for Const

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Continue.html b/syn/token/struct.Continue.html index 96d7a9a..1a3d0a7 100644 --- a/syn/token/struct.Continue.html +++ b/syn/token/struct.Continue.html @@ -1,24 +1,24 @@ -Continue in syn::token - Rust
    syn::token

    Struct Continue

    source
    pub struct Continue {
    +Continue in syn::token - Rust
    syn::token

    Struct Continue

    Source
    pub struct Continue {
         pub span: Span,
     }
    Expand description

    continue

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Continue

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Continue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Continue

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Continue

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Continue

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Continue

    source§

    fn eq(&self, _other: &Continue) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Continue

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Continue

    source§

    impl Eq for Continue

    source§

    impl Token for Continue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Continue

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Continue

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Continue

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Continue

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Continue

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Continue

    Source§

    fn eq(&self, _other: &Continue) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Continue

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Continue

    Source§

    impl Eq for Continue

    Source§

    impl Token for Continue

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Crate.html b/syn/token/struct.Crate.html index 90a19d3..8af71f2 100644 --- a/syn/token/struct.Crate.html +++ b/syn/token/struct.Crate.html @@ -1,24 +1,24 @@ -Crate in syn::token - Rust
    syn::token

    Struct Crate

    source
    pub struct Crate {
    +Crate in syn::token - Rust
    syn::token

    Struct Crate

    Source
    pub struct Crate {
         pub span: Span,
     }
    Expand description

    crate

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Crate

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Crate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Crate

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<Crate> for Ident

    source§

    fn from(token: Crate) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for Crate

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Crate

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Crate

    source§

    fn eq(&self, _other: &Crate) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Crate

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Crate

    source§

    impl Eq for Crate

    source§

    impl Token for Crate

    Auto Trait Implementations§

    §

    impl Freeze for Crate

    §

    impl RefUnwindSafe for Crate

    §

    impl !Send for Crate

    §

    impl !Sync for Crate

    §

    impl Unpin for Crate

    §

    impl UnwindSafe for Crate

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Crate

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Crate

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Crate

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<Crate> for Ident

    Source§

    fn from(token: Crate) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for Crate

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Crate

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Crate

    Source§

    fn eq(&self, _other: &Crate) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Crate

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Crate

    Source§

    impl Eq for Crate

    Source§

    impl Token for Crate

    Auto Trait Implementations§

    §

    impl Freeze for Crate

    §

    impl RefUnwindSafe for Crate

    §

    impl !Send for Crate

    §

    impl !Sync for Crate

    §

    impl Unpin for Crate

    §

    impl UnwindSafe for Crate

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Default.html b/syn/token/struct.Default.html index e74c60a..f3f9320 100644 --- a/syn/token/struct.Default.html +++ b/syn/token/struct.Default.html @@ -1,24 +1,24 @@ -Default in syn::token - Rust
    syn::token

    Struct Default

    source
    pub struct Default {
    +Default in syn::token - Rust
    syn::token

    Struct Default

    Source
    pub struct Default {
         pub span: Span,
     }
    Expand description

    default

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Default

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Default

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Default

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Default

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Default

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Default

    source§

    fn eq(&self, _other: &Default) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Default

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Default

    source§

    impl Eq for Default

    source§

    impl Token for Default

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Default

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Default

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Default

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Default

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Default

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Default

    Source§

    fn eq(&self, _other: &Default) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Default

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Default

    Source§

    impl Eq for Default

    Source§

    impl Token for Default

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Do.html b/syn/token/struct.Do.html index df0dc68..0d8e250 100644 --- a/syn/token/struct.Do.html +++ b/syn/token/struct.Do.html @@ -1,24 +1,24 @@ -Do in syn::token - Rust
    syn::token

    Struct Do

    source
    pub struct Do {
    +Do in syn::token - Rust
    syn::token

    Struct Do

    Source
    pub struct Do {
         pub span: Span,
     }
    Expand description

    do

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Do

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Do

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Do

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Do

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Do

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Do

    source§

    fn eq(&self, _other: &Do) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Do

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Do

    source§

    impl Eq for Do

    source§

    impl Token for Do

    Auto Trait Implementations§

    §

    impl Freeze for Do

    §

    impl RefUnwindSafe for Do

    §

    impl !Send for Do

    §

    impl !Sync for Do

    §

    impl Unpin for Do

    §

    impl UnwindSafe for Do

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Do

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Do

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Do

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Do

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Do

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Do

    Source§

    fn eq(&self, _other: &Do) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Do

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Do

    Source§

    impl Eq for Do

    Source§

    impl Token for Do

    Auto Trait Implementations§

    §

    impl Freeze for Do

    §

    impl RefUnwindSafe for Do

    §

    impl !Send for Do

    §

    impl !Sync for Do

    §

    impl Unpin for Do

    §

    impl UnwindSafe for Do

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Dollar.html b/syn/token/struct.Dollar.html index 4960866..e045d9d 100644 --- a/syn/token/struct.Dollar.html +++ b/syn/token/struct.Dollar.html @@ -1,26 +1,28 @@ -Dollar in syn::token - Rust
    syn::token

    Struct Dollar

    source
    pub struct Dollar {
    -    pub spans: [Span; 1],
    +Dollar in syn::token - Rust
    syn::token

    Struct Dollar

    Source
    pub struct Dollar {
    +    pub spans: [Span; 1],
     }
    Expand description

    $

    Usage: macros.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Dollar

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Dollar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Dollar

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Dollar

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Dollar

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Dollar

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Dollar

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Dollar

    source§

    fn eq(&self, _other: &Dollar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Dollar

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Dollar

    source§

    impl Eq for Dollar

    source§

    impl Token for Dollar

    Auto Trait Implementations§

    §

    impl Freeze for Dollar

    §

    impl RefUnwindSafe for Dollar

    §

    impl !Send for Dollar

    §

    impl !Sync for Dollar

    §

    impl Unpin for Dollar

    §

    impl UnwindSafe for Dollar

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Dollar

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Dollar

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Dollar

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Dollar

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Dollar

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Dollar

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Dollar

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Dollar

    Source§

    fn eq(&self, _other: &Dollar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Dollar

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Dollar

    Source§

    impl Eq for Dollar

    Source§

    impl Token for Dollar

    Auto Trait Implementations§

    §

    impl Freeze for Dollar

    §

    impl RefUnwindSafe for Dollar

    §

    impl !Send for Dollar

    §

    impl !Sync for Dollar

    §

    impl Unpin for Dollar

    §

    impl UnwindSafe for Dollar

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Dot.html b/syn/token/struct.Dot.html index 239bbad..db45a67 100644 --- a/syn/token/struct.Dot.html +++ b/syn/token/struct.Dot.html @@ -1,26 +1,28 @@ -Dot in syn::token - Rust
    syn::token

    Struct Dot

    source
    pub struct Dot {
    -    pub spans: [Span; 1],
    +Dot in syn::token - Rust
    syn::token

    Struct Dot

    Source
    pub struct Dot {
    +    pub spans: [Span; 1],
     }
    Expand description

    .

    Usage: field access, tuple index.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Dot

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Dot

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Dot

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Dot

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Dot

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Dot

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Dot

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Dot

    source§

    fn eq(&self, _other: &Dot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Dot

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Dot

    source§

    impl Eq for Dot

    source§

    impl Token for Dot

    Auto Trait Implementations§

    §

    impl Freeze for Dot

    §

    impl RefUnwindSafe for Dot

    §

    impl !Send for Dot

    §

    impl !Sync for Dot

    §

    impl Unpin for Dot

    §

    impl UnwindSafe for Dot

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Dot

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Dot

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Dot

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Dot

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Dot

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Dot

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Dot

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Dot

    Source§

    fn eq(&self, _other: &Dot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Dot

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Dot

    Source§

    impl Eq for Dot

    Source§

    impl Token for Dot

    Auto Trait Implementations§

    §

    impl Freeze for Dot

    §

    impl RefUnwindSafe for Dot

    §

    impl !Send for Dot

    §

    impl !Sync for Dot

    §

    impl Unpin for Dot

    §

    impl UnwindSafe for Dot

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.DotDot.html b/syn/token/struct.DotDot.html index 9b136c5..a1bd9ff 100644 --- a/syn/token/struct.DotDot.html +++ b/syn/token/struct.DotDot.html @@ -1,26 +1,26 @@ -DotDot in syn::token - Rust
    syn::token

    Struct DotDot

    source
    pub struct DotDot {
    -    pub spans: [Span; 2],
    +DotDot in syn::token - Rust
    syn::token

    Struct DotDot

    Source
    pub struct DotDot {
    +    pub spans: [Span; 2],
     }
    Expand description

    ..

    Usage: range, struct expressions, patterns, range patterns.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for DotDot

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DotDot

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for DotDot

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for DotDot

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for DotDot

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for DotDot

    source§

    fn eq(&self, _other: &DotDot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for DotDot

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for DotDot

    source§

    impl Eq for DotDot

    source§

    impl Token for DotDot

    Auto Trait Implementations§

    §

    impl Freeze for DotDot

    §

    impl RefUnwindSafe for DotDot

    §

    impl !Send for DotDot

    §

    impl !Sync for DotDot

    §

    impl Unpin for DotDot

    §

    impl UnwindSafe for DotDot

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for DotDot

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DotDot

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DotDot

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for DotDot

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for DotDot

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for DotDot

    Source§

    fn eq(&self, _other: &DotDot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for DotDot

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for DotDot

    Source§

    impl Eq for DotDot

    Source§

    impl Token for DotDot

    Auto Trait Implementations§

    §

    impl Freeze for DotDot

    §

    impl RefUnwindSafe for DotDot

    §

    impl !Send for DotDot

    §

    impl !Sync for DotDot

    §

    impl Unpin for DotDot

    §

    impl UnwindSafe for DotDot

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.DotDotDot.html b/syn/token/struct.DotDotDot.html index 366551b..3072be9 100644 --- a/syn/token/struct.DotDotDot.html +++ b/syn/token/struct.DotDotDot.html @@ -1,26 +1,26 @@ -DotDotDot in syn::token - Rust
    syn::token

    Struct DotDotDot

    source
    pub struct DotDotDot {
    -    pub spans: [Span; 3],
    +DotDotDot in syn::token - Rust
    syn::token

    Struct DotDotDot

    Source
    pub struct DotDotDot {
    +    pub spans: [Span; 3],
     }
    Expand description

    ...

    Usage: variadic functions, range patterns.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    source§

    impl Clone for DotDotDot

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DotDotDot

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for DotDotDot

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for DotDotDot

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for DotDotDot

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for DotDotDot

    source§

    fn eq(&self, _other: &DotDotDot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for DotDotDot

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for DotDotDot

    source§

    impl Eq for DotDotDot

    source§

    impl Token for DotDotDot

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    Source§

    impl Clone for DotDotDot

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DotDotDot

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DotDotDot

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for DotDotDot

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for DotDotDot

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for DotDotDot

    Source§

    fn eq(&self, _other: &DotDotDot) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for DotDotDot

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for DotDotDot

    Source§

    impl Eq for DotDotDot

    Source§

    impl Token for DotDotDot

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.DotDotEq.html b/syn/token/struct.DotDotEq.html index 5eb578b..da0067d 100644 --- a/syn/token/struct.DotDotEq.html +++ b/syn/token/struct.DotDotEq.html @@ -1,26 +1,26 @@ -DotDotEq in syn::token - Rust
    syn::token

    Struct DotDotEq

    source
    pub struct DotDotEq {
    -    pub spans: [Span; 3],
    +DotDotEq in syn::token - Rust
    syn::token

    Struct DotDotEq

    Source
    pub struct DotDotEq {
    +    pub spans: [Span; 3],
     }
    Expand description

    ..=

    Usage: inclusive range, range patterns.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    source§

    impl Clone for DotDotEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DotDotEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for DotDotEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for DotDotEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for DotDotEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for DotDotEq

    source§

    fn eq(&self, _other: &DotDotEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for DotDotEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for DotDotEq

    source§

    impl Eq for DotDotEq

    source§

    impl Token for DotDotEq

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    Source§

    impl Clone for DotDotEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DotDotEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DotDotEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for DotDotEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for DotDotEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for DotDotEq

    Source§

    fn eq(&self, _other: &DotDotEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for DotDotEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for DotDotEq

    Source§

    impl Eq for DotDotEq

    Source§

    impl Token for DotDotEq

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Dyn.html b/syn/token/struct.Dyn.html index 9de1ad1..49a826e 100644 --- a/syn/token/struct.Dyn.html +++ b/syn/token/struct.Dyn.html @@ -1,24 +1,24 @@ -Dyn in syn::token - Rust
    syn::token

    Struct Dyn

    source
    pub struct Dyn {
    +Dyn in syn::token - Rust
    syn::token

    Struct Dyn

    Source
    pub struct Dyn {
         pub span: Span,
     }
    Expand description

    dyn

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Dyn

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Dyn

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Dyn

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Dyn

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Dyn

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Dyn

    source§

    fn eq(&self, _other: &Dyn) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Dyn

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Dyn

    source§

    impl Eq for Dyn

    source§

    impl Token for Dyn

    Auto Trait Implementations§

    §

    impl Freeze for Dyn

    §

    impl RefUnwindSafe for Dyn

    §

    impl !Send for Dyn

    §

    impl !Sync for Dyn

    §

    impl Unpin for Dyn

    §

    impl UnwindSafe for Dyn

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Dyn

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Dyn

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Dyn

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Dyn

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Dyn

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Dyn

    Source§

    fn eq(&self, _other: &Dyn) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Dyn

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Dyn

    Source§

    impl Eq for Dyn

    Source§

    impl Token for Dyn

    Auto Trait Implementations§

    §

    impl Freeze for Dyn

    §

    impl RefUnwindSafe for Dyn

    §

    impl !Send for Dyn

    §

    impl !Sync for Dyn

    §

    impl Unpin for Dyn

    §

    impl UnwindSafe for Dyn

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Else.html b/syn/token/struct.Else.html index 53d9afa..a99497e 100644 --- a/syn/token/struct.Else.html +++ b/syn/token/struct.Else.html @@ -1,24 +1,24 @@ -Else in syn::token - Rust
    syn::token

    Struct Else

    source
    pub struct Else {
    +Else in syn::token - Rust
    syn::token

    Struct Else

    Source
    pub struct Else {
         pub span: Span,
     }
    Expand description

    else

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Else

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Else

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Else

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Else

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Else

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Else

    source§

    fn eq(&self, _other: &Else) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Else

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Else

    source§

    impl Eq for Else

    source§

    impl Token for Else

    Auto Trait Implementations§

    §

    impl Freeze for Else

    §

    impl RefUnwindSafe for Else

    §

    impl !Send for Else

    §

    impl !Sync for Else

    §

    impl Unpin for Else

    §

    impl UnwindSafe for Else

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Else

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Else

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Else

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Else

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Else

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Else

    Source§

    fn eq(&self, _other: &Else) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Else

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Else

    Source§

    impl Eq for Else

    Source§

    impl Token for Else

    Auto Trait Implementations§

    §

    impl Freeze for Else

    §

    impl RefUnwindSafe for Else

    §

    impl !Send for Else

    §

    impl !Sync for Else

    §

    impl Unpin for Else

    §

    impl UnwindSafe for Else

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Enum.html b/syn/token/struct.Enum.html index ae0588f..c2d7e5e 100644 --- a/syn/token/struct.Enum.html +++ b/syn/token/struct.Enum.html @@ -1,24 +1,24 @@ -Enum in syn::token - Rust
    syn::token

    Struct Enum

    source
    pub struct Enum {
    +Enum in syn::token - Rust
    syn::token

    Struct Enum

    Source
    pub struct Enum {
         pub span: Span,
     }
    Expand description

    enum

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Enum

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Enum

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Enum

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Enum

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Enum

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Enum

    source§

    fn eq(&self, _other: &Enum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Enum

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Enum

    source§

    impl Eq for Enum

    source§

    impl Token for Enum

    Auto Trait Implementations§

    §

    impl Freeze for Enum

    §

    impl RefUnwindSafe for Enum

    §

    impl !Send for Enum

    §

    impl !Sync for Enum

    §

    impl Unpin for Enum

    §

    impl UnwindSafe for Enum

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Enum

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Enum

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Enum

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Enum

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Enum

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Enum

    Source§

    fn eq(&self, _other: &Enum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Enum

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Enum

    Source§

    impl Eq for Enum

    Source§

    impl Token for Enum

    Auto Trait Implementations§

    §

    impl Freeze for Enum

    §

    impl RefUnwindSafe for Enum

    §

    impl !Send for Enum

    §

    impl !Sync for Enum

    §

    impl Unpin for Enum

    §

    impl UnwindSafe for Enum

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Eq.html b/syn/token/struct.Eq.html index 0edf01d..933f118 100644 --- a/syn/token/struct.Eq.html +++ b/syn/token/struct.Eq.html @@ -1,26 +1,28 @@ -Eq in syn::token - Rust
    syn::token

    Struct Eq

    source
    pub struct Eq {
    -    pub spans: [Span; 1],
    +Eq in syn::token - Rust
    syn::token

    Struct Eq

    Source
    pub struct Eq {
    +    pub spans: [Span; 1],
     }
    Expand description

    =

    Usage: assignment, attributes, various type definitions.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Eq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Eq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Eq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Eq

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Eq

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Eq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Eq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Eq

    source§

    fn eq(&self, _other: &Eq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Eq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Eq

    source§

    impl Eq for Eq

    source§

    impl Token for Eq

    Auto Trait Implementations§

    §

    impl Freeze for Eq

    §

    impl RefUnwindSafe for Eq

    §

    impl !Send for Eq

    §

    impl !Sync for Eq

    §

    impl Unpin for Eq

    §

    impl UnwindSafe for Eq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Eq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Eq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Eq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Eq

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Eq

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Eq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Eq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Eq

    Source§

    fn eq(&self, _other: &Eq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Eq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Eq

    Source§

    impl Eq for Eq

    Source§

    impl Token for Eq

    Auto Trait Implementations§

    §

    impl Freeze for Eq

    §

    impl RefUnwindSafe for Eq

    §

    impl !Send for Eq

    §

    impl !Sync for Eq

    §

    impl Unpin for Eq

    §

    impl UnwindSafe for Eq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.EqEq.html b/syn/token/struct.EqEq.html index a0efa7f..14842c2 100644 --- a/syn/token/struct.EqEq.html +++ b/syn/token/struct.EqEq.html @@ -1,26 +1,26 @@ -EqEq in syn::token - Rust
    syn::token

    Struct EqEq

    source
    pub struct EqEq {
    -    pub spans: [Span; 2],
    +EqEq in syn::token - Rust
    syn::token

    Struct EqEq

    Source
    pub struct EqEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    ==

    Usage: equal.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for EqEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for EqEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for EqEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for EqEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for EqEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for EqEq

    source§

    fn eq(&self, _other: &EqEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for EqEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for EqEq

    source§

    impl Eq for EqEq

    source§

    impl Token for EqEq

    Auto Trait Implementations§

    §

    impl Freeze for EqEq

    §

    impl RefUnwindSafe for EqEq

    §

    impl !Send for EqEq

    §

    impl !Sync for EqEq

    §

    impl Unpin for EqEq

    §

    impl UnwindSafe for EqEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for EqEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for EqEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for EqEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for EqEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for EqEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for EqEq

    Source§

    fn eq(&self, _other: &EqEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for EqEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for EqEq

    Source§

    impl Eq for EqEq

    Source§

    impl Token for EqEq

    Auto Trait Implementations§

    §

    impl Freeze for EqEq

    §

    impl RefUnwindSafe for EqEq

    §

    impl !Send for EqEq

    §

    impl !Sync for EqEq

    §

    impl Unpin for EqEq

    §

    impl UnwindSafe for EqEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Extern.html b/syn/token/struct.Extern.html index d811c30..b310d0a 100644 --- a/syn/token/struct.Extern.html +++ b/syn/token/struct.Extern.html @@ -1,24 +1,24 @@ -Extern in syn::token - Rust
    syn::token

    Struct Extern

    source
    pub struct Extern {
    +Extern in syn::token - Rust
    syn::token

    Struct Extern

    Source
    pub struct Extern {
         pub span: Span,
     }
    Expand description

    extern

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Extern

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Extern

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Extern

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<Extern> for Ident

    source§

    fn from(token: Extern) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for Extern

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Extern

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Extern

    source§

    fn eq(&self, _other: &Extern) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Extern

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Extern

    source§

    impl Eq for Extern

    source§

    impl Token for Extern

    Auto Trait Implementations§

    §

    impl Freeze for Extern

    §

    impl RefUnwindSafe for Extern

    §

    impl !Send for Extern

    §

    impl !Sync for Extern

    §

    impl Unpin for Extern

    §

    impl UnwindSafe for Extern

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Extern

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Extern

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Extern

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<Extern> for Ident

    Source§

    fn from(token: Extern) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for Extern

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Extern

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Extern

    Source§

    fn eq(&self, _other: &Extern) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Extern

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Extern

    Source§

    impl Eq for Extern

    Source§

    impl Token for Extern

    Auto Trait Implementations§

    §

    impl Freeze for Extern

    §

    impl RefUnwindSafe for Extern

    §

    impl !Send for Extern

    §

    impl !Sync for Extern

    §

    impl Unpin for Extern

    §

    impl UnwindSafe for Extern

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.FatArrow.html b/syn/token/struct.FatArrow.html index 4436e1a..a1ff78d 100644 --- a/syn/token/struct.FatArrow.html +++ b/syn/token/struct.FatArrow.html @@ -1,26 +1,26 @@ -FatArrow in syn::token - Rust
    syn::token

    Struct FatArrow

    source
    pub struct FatArrow {
    -    pub spans: [Span; 2],
    +FatArrow in syn::token - Rust
    syn::token

    Struct FatArrow

    Source
    pub struct FatArrow {
    +    pub spans: [Span; 2],
     }
    Expand description

    =>

    Usage: match arms, macros.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for FatArrow

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FatArrow

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for FatArrow

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for FatArrow

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for FatArrow

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for FatArrow

    source§

    fn eq(&self, _other: &FatArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for FatArrow

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for FatArrow

    source§

    impl Eq for FatArrow

    source§

    impl Token for FatArrow

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for FatArrow

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FatArrow

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for FatArrow

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for FatArrow

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for FatArrow

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for FatArrow

    Source§

    fn eq(&self, _other: &FatArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for FatArrow

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for FatArrow

    Source§

    impl Eq for FatArrow

    Source§

    impl Token for FatArrow

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Final.html b/syn/token/struct.Final.html index fd62be0..59c211f 100644 --- a/syn/token/struct.Final.html +++ b/syn/token/struct.Final.html @@ -1,24 +1,24 @@ -Final in syn::token - Rust
    syn::token

    Struct Final

    source
    pub struct Final {
    +Final in syn::token - Rust
    syn::token

    Struct Final

    Source
    pub struct Final {
         pub span: Span,
     }
    Expand description

    final

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Final

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Final

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Final

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Final

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Final

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Final

    source§

    fn eq(&self, _other: &Final) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Final

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Final

    source§

    impl Eq for Final

    source§

    impl Token for Final

    Auto Trait Implementations§

    §

    impl Freeze for Final

    §

    impl RefUnwindSafe for Final

    §

    impl !Send for Final

    §

    impl !Sync for Final

    §

    impl Unpin for Final

    §

    impl UnwindSafe for Final

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Final

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Final

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Final

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Final

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Final

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Final

    Source§

    fn eq(&self, _other: &Final) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Final

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Final

    Source§

    impl Eq for Final

    Source§

    impl Token for Final

    Auto Trait Implementations§

    §

    impl Freeze for Final

    §

    impl RefUnwindSafe for Final

    §

    impl !Send for Final

    §

    impl !Sync for Final

    §

    impl Unpin for Final

    §

    impl UnwindSafe for Final

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Fn.html b/syn/token/struct.Fn.html index afa1c37..12ae443 100644 --- a/syn/token/struct.Fn.html +++ b/syn/token/struct.Fn.html @@ -1,24 +1,24 @@ -Fn in syn::token - Rust
    syn::token

    Struct Fn

    source
    pub struct Fn {
    +Fn in syn::token - Rust
    syn::token

    Struct Fn

    Source
    pub struct Fn {
         pub span: Span,
     }
    Expand description

    fn

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Fn

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Fn

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Fn

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Fn

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Fn

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Fn

    source§

    fn eq(&self, _other: &Fn) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Fn

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Fn

    source§

    impl Eq for Fn

    source§

    impl Token for Fn

    Auto Trait Implementations§

    §

    impl Freeze for Fn

    §

    impl RefUnwindSafe for Fn

    §

    impl !Send for Fn

    §

    impl !Sync for Fn

    §

    impl Unpin for Fn

    §

    impl UnwindSafe for Fn

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Fn

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Fn

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Fn

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Fn

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Fn

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Fn

    Source§

    fn eq(&self, _other: &Fn) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Fn

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Fn

    Source§

    impl Eq for Fn

    Source§

    impl Token for Fn

    Auto Trait Implementations§

    §

    impl Freeze for Fn

    §

    impl RefUnwindSafe for Fn

    §

    impl !Send for Fn

    §

    impl !Sync for Fn

    §

    impl Unpin for Fn

    §

    impl UnwindSafe for Fn

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.For.html b/syn/token/struct.For.html index 0e2f474..004ef71 100644 --- a/syn/token/struct.For.html +++ b/syn/token/struct.For.html @@ -1,24 +1,24 @@ -For in syn::token - Rust
    syn::token

    Struct For

    source
    pub struct For {
    +For in syn::token - Rust
    syn::token

    Struct For

    Source
    pub struct For {
         pub span: Span,
     }
    Expand description

    for

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for For

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for For

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for For

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for For

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for For

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for For

    source§

    fn eq(&self, _other: &For) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for For

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for For

    source§

    impl Eq for For

    source§

    impl Token for For

    Auto Trait Implementations§

    §

    impl Freeze for For

    §

    impl RefUnwindSafe for For

    §

    impl !Send for For

    §

    impl !Sync for For

    §

    impl Unpin for For

    §

    impl UnwindSafe for For

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for For

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for For

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for For

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for For

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for For

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for For

    Source§

    fn eq(&self, _other: &For) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for For

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for For

    Source§

    impl Eq for For

    Source§

    impl Token for For

    Auto Trait Implementations§

    §

    impl Freeze for For

    §

    impl RefUnwindSafe for For

    §

    impl !Send for For

    §

    impl !Sync for For

    §

    impl Unpin for For

    §

    impl UnwindSafe for For

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Ge.html b/syn/token/struct.Ge.html index 2b0c09a..6337f61 100644 --- a/syn/token/struct.Ge.html +++ b/syn/token/struct.Ge.html @@ -1,26 +1,26 @@ -Ge in syn::token - Rust
    syn::token

    Struct Ge

    source
    pub struct Ge {
    -    pub spans: [Span; 2],
    +Ge in syn::token - Rust
    syn::token

    Struct Ge

    Source
    pub struct Ge {
    +    pub spans: [Span; 2],
     }
    Expand description

    >=

    Usage: greater than or equal to, generics.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for Ge

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ge

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Ge

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Ge

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Ge

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Ge

    source§

    fn eq(&self, _other: &Ge) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Ge

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Ge

    source§

    impl Eq for Ge

    source§

    impl Token for Ge

    Auto Trait Implementations§

    §

    impl Freeze for Ge

    §

    impl RefUnwindSafe for Ge

    §

    impl !Send for Ge

    §

    impl !Sync for Ge

    §

    impl Unpin for Ge

    §

    impl UnwindSafe for Ge

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for Ge

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Ge

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Ge

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Ge

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Ge

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Ge

    Source§

    fn eq(&self, _other: &Ge) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Ge

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Ge

    Source§

    impl Eq for Ge

    Source§

    impl Token for Ge

    Auto Trait Implementations§

    §

    impl Freeze for Ge

    §

    impl RefUnwindSafe for Ge

    §

    impl !Send for Ge

    §

    impl !Sync for Ge

    §

    impl Unpin for Ge

    §

    impl UnwindSafe for Ge

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Group.html b/syn/token/struct.Group.html index e36e7ad..61e0141 100644 --- a/syn/token/struct.Group.html +++ b/syn/token/struct.Group.html @@ -1,20 +1,20 @@ -Group in syn::token - Rust
    syn::token

    Struct Group

    source
    pub struct Group {
    +Group in syn::token - Rust
    syn::token

    Struct Group

    Source
    pub struct Group {
         pub span: Span,
     }
    Expand description

    None-delimited group

    -

    Fields§

    §span: Span

    Implementations§

    source§

    impl Group

    source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where - F: FnOnce(&mut TokenStream),

    Trait Implementations§

    source§

    impl Clone for Group

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Group

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Group

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Group

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Group

    source§

    fn eq(&self, _other: &Group) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Group

    source§

    impl Eq for Group

    source§

    impl Token for Group

    Auto Trait Implementations§

    §

    impl Freeze for Group

    §

    impl RefUnwindSafe for Group

    §

    impl !Send for Group

    §

    impl !Sync for Group

    §

    impl Unpin for Group

    §

    impl UnwindSafe for Group

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Implementations§

    Source§

    impl Group

    Source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where + F: FnOnce(&mut TokenStream),

    Trait Implementations§

    Source§

    impl Clone for Group

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Group

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Group

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Group

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Group

    Source§

    fn eq(&self, _other: &Group) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Group

    Source§

    impl Eq for Group

    Source§

    impl Token for Group

    Auto Trait Implementations§

    §

    impl Freeze for Group

    §

    impl RefUnwindSafe for Group

    §

    impl !Send for Group

    §

    impl !Sync for Group

    §

    impl Unpin for Group

    §

    impl UnwindSafe for Group

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Gt.html b/syn/token/struct.Gt.html index 4a72ba2..5bb20e1 100644 --- a/syn/token/struct.Gt.html +++ b/syn/token/struct.Gt.html @@ -1,26 +1,28 @@ -Gt in syn::token - Rust
    syn::token

    Struct Gt

    source
    pub struct Gt {
    -    pub spans: [Span; 1],
    +Gt in syn::token - Rust
    syn::token

    Struct Gt

    Source
    pub struct Gt {
    +    pub spans: [Span; 1],
     }
    Expand description

    >

    Usage: greater than, generics, paths.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Gt

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Gt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Gt

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Gt

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Gt

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Gt

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Gt

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Gt

    source§

    fn eq(&self, _other: &Gt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Gt

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Gt

    source§

    impl Eq for Gt

    source§

    impl Token for Gt

    Auto Trait Implementations§

    §

    impl Freeze for Gt

    §

    impl RefUnwindSafe for Gt

    §

    impl !Send for Gt

    §

    impl !Sync for Gt

    §

    impl Unpin for Gt

    §

    impl UnwindSafe for Gt

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Gt

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Gt

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Gt

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Gt

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Gt

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Gt

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Gt

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Gt

    Source§

    fn eq(&self, _other: &Gt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Gt

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Gt

    Source§

    impl Eq for Gt

    Source§

    impl Token for Gt

    Auto Trait Implementations§

    §

    impl Freeze for Gt

    §

    impl RefUnwindSafe for Gt

    §

    impl !Send for Gt

    §

    impl !Sync for Gt

    §

    impl Unpin for Gt

    §

    impl UnwindSafe for Gt

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.If.html b/syn/token/struct.If.html index 20e0f10..9f11b7d 100644 --- a/syn/token/struct.If.html +++ b/syn/token/struct.If.html @@ -1,24 +1,24 @@ -If in syn::token - Rust
    syn::token

    Struct If

    source
    pub struct If {
    +If in syn::token - Rust
    syn::token

    Struct If

    Source
    pub struct If {
         pub span: Span,
     }
    Expand description

    if

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for If

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for If

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for If

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for If

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for If

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for If

    source§

    fn eq(&self, _other: &If) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for If

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for If

    source§

    impl Eq for If

    source§

    impl Token for If

    Auto Trait Implementations§

    §

    impl Freeze for If

    §

    impl RefUnwindSafe for If

    §

    impl !Send for If

    §

    impl !Sync for If

    §

    impl Unpin for If

    §

    impl UnwindSafe for If

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for If

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for If

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for If

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for If

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for If

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for If

    Source§

    fn eq(&self, _other: &If) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for If

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for If

    Source§

    impl Eq for If

    Source§

    impl Token for If

    Auto Trait Implementations§

    §

    impl Freeze for If

    §

    impl RefUnwindSafe for If

    §

    impl !Send for If

    §

    impl !Sync for If

    §

    impl Unpin for If

    §

    impl UnwindSafe for If

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Impl.html b/syn/token/struct.Impl.html index 63540a8..78c5cbc 100644 --- a/syn/token/struct.Impl.html +++ b/syn/token/struct.Impl.html @@ -1,24 +1,24 @@ -Impl in syn::token - Rust
    syn::token

    Struct Impl

    source
    pub struct Impl {
    +Impl in syn::token - Rust
    syn::token

    Struct Impl

    Source
    pub struct Impl {
         pub span: Span,
     }
    Expand description

    impl

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Impl

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Impl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Impl

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Impl

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Impl

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Impl

    source§

    fn eq(&self, _other: &Impl) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Impl

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Impl

    source§

    impl Eq for Impl

    source§

    impl Token for Impl

    Auto Trait Implementations§

    §

    impl Freeze for Impl

    §

    impl RefUnwindSafe for Impl

    §

    impl !Send for Impl

    §

    impl !Sync for Impl

    §

    impl Unpin for Impl

    §

    impl UnwindSafe for Impl

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Impl

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Impl

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Impl

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Impl

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Impl

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Impl

    Source§

    fn eq(&self, _other: &Impl) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Impl

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Impl

    Source§

    impl Eq for Impl

    Source§

    impl Token for Impl

    Auto Trait Implementations§

    §

    impl Freeze for Impl

    §

    impl RefUnwindSafe for Impl

    §

    impl !Send for Impl

    §

    impl !Sync for Impl

    §

    impl Unpin for Impl

    §

    impl UnwindSafe for Impl

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.In.html b/syn/token/struct.In.html index b016317..bcc82d7 100644 --- a/syn/token/struct.In.html +++ b/syn/token/struct.In.html @@ -1,24 +1,24 @@ -In in syn::token - Rust
    syn::token

    Struct In

    source
    pub struct In {
    +In in syn::token - Rust
    syn::token

    Struct In

    Source
    pub struct In {
         pub span: Span,
     }
    Expand description

    in

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for In

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for In

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for In

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for In

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for In

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for In

    source§

    fn eq(&self, _other: &In) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for In

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for In

    source§

    impl Eq for In

    source§

    impl Token for In

    Auto Trait Implementations§

    §

    impl Freeze for In

    §

    impl RefUnwindSafe for In

    §

    impl !Send for In

    §

    impl !Sync for In

    §

    impl Unpin for In

    §

    impl UnwindSafe for In

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for In

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for In

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for In

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for In

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for In

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for In

    Source§

    fn eq(&self, _other: &In) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for In

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for In

    Source§

    impl Eq for In

    Source§

    impl Token for In

    Auto Trait Implementations§

    §

    impl Freeze for In

    §

    impl RefUnwindSafe for In

    §

    impl !Send for In

    §

    impl !Sync for In

    §

    impl Unpin for In

    §

    impl UnwindSafe for In

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.LArrow.html b/syn/token/struct.LArrow.html index 9459a15..a1b951b 100644 --- a/syn/token/struct.LArrow.html +++ b/syn/token/struct.LArrow.html @@ -1,26 +1,26 @@ -LArrow in syn::token - Rust
    syn::token

    Struct LArrow

    source
    pub struct LArrow {
    -    pub spans: [Span; 2],
    +LArrow in syn::token - Rust
    syn::token

    Struct LArrow

    Source
    pub struct LArrow {
    +    pub spans: [Span; 2],
     }
    Expand description

    <-

    Usage: unused.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for LArrow

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LArrow

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for LArrow

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for LArrow

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for LArrow

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for LArrow

    source§

    fn eq(&self, _other: &LArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for LArrow

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for LArrow

    source§

    impl Eq for LArrow

    source§

    impl Token for LArrow

    Auto Trait Implementations§

    §

    impl Freeze for LArrow

    §

    impl RefUnwindSafe for LArrow

    §

    impl !Send for LArrow

    §

    impl !Sync for LArrow

    §

    impl Unpin for LArrow

    §

    impl UnwindSafe for LArrow

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for LArrow

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for LArrow

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for LArrow

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for LArrow

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for LArrow

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for LArrow

    Source§

    fn eq(&self, _other: &LArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for LArrow

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for LArrow

    Source§

    impl Eq for LArrow

    Source§

    impl Token for LArrow

    Auto Trait Implementations§

    §

    impl Freeze for LArrow

    §

    impl RefUnwindSafe for LArrow

    §

    impl !Send for LArrow

    §

    impl !Sync for LArrow

    §

    impl Unpin for LArrow

    §

    impl UnwindSafe for LArrow

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Le.html b/syn/token/struct.Le.html index 78abee9..6f07000 100644 --- a/syn/token/struct.Le.html +++ b/syn/token/struct.Le.html @@ -1,26 +1,26 @@ -Le in syn::token - Rust
    syn::token

    Struct Le

    source
    pub struct Le {
    -    pub spans: [Span; 2],
    +Le in syn::token - Rust
    syn::token

    Struct Le

    Source
    pub struct Le {
    +    pub spans: [Span; 2],
     }
    Expand description

    <=

    Usage: less than or equal to.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for Le

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Le

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Le

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Le

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Le

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Le

    source§

    fn eq(&self, _other: &Le) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Le

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Le

    source§

    impl Eq for Le

    source§

    impl Token for Le

    Auto Trait Implementations§

    §

    impl Freeze for Le

    §

    impl RefUnwindSafe for Le

    §

    impl !Send for Le

    §

    impl !Sync for Le

    §

    impl Unpin for Le

    §

    impl UnwindSafe for Le

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for Le

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Le

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Le

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Le

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Le

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Le

    Source§

    fn eq(&self, _other: &Le) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Le

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Le

    Source§

    impl Eq for Le

    Source§

    impl Token for Le

    Auto Trait Implementations§

    §

    impl Freeze for Le

    §

    impl RefUnwindSafe for Le

    §

    impl !Send for Le

    §

    impl !Sync for Le

    §

    impl Unpin for Le

    §

    impl UnwindSafe for Le

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Let.html b/syn/token/struct.Let.html index 9a94785..d023d8a 100644 --- a/syn/token/struct.Let.html +++ b/syn/token/struct.Let.html @@ -1,24 +1,24 @@ -Let in syn::token - Rust
    syn::token

    Struct Let

    source
    pub struct Let {
    +Let in syn::token - Rust
    syn::token

    Struct Let

    Source
    pub struct Let {
         pub span: Span,
     }
    Expand description

    let

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Let

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Let

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Let

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Let

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Let

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Let

    source§

    fn eq(&self, _other: &Let) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Let

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Let

    source§

    impl Eq for Let

    source§

    impl Token for Let

    Auto Trait Implementations§

    §

    impl Freeze for Let

    §

    impl RefUnwindSafe for Let

    §

    impl !Send for Let

    §

    impl !Sync for Let

    §

    impl Unpin for Let

    §

    impl UnwindSafe for Let

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Let

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Let

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Let

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Let

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Let

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Let

    Source§

    fn eq(&self, _other: &Let) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Let

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Let

    Source§

    impl Eq for Let

    Source§

    impl Token for Let

    Auto Trait Implementations§

    §

    impl Freeze for Let

    §

    impl RefUnwindSafe for Let

    §

    impl !Send for Let

    §

    impl !Sync for Let

    §

    impl Unpin for Let

    §

    impl UnwindSafe for Let

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Loop.html b/syn/token/struct.Loop.html index 7576e2d..3b5930a 100644 --- a/syn/token/struct.Loop.html +++ b/syn/token/struct.Loop.html @@ -1,24 +1,24 @@ -Loop in syn::token - Rust
    syn::token

    Struct Loop

    source
    pub struct Loop {
    +Loop in syn::token - Rust
    syn::token

    Struct Loop

    Source
    pub struct Loop {
         pub span: Span,
     }
    Expand description

    loop

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Loop

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Loop

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Loop

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Loop

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Loop

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Loop

    source§

    fn eq(&self, _other: &Loop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Loop

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Loop

    source§

    impl Eq for Loop

    source§

    impl Token for Loop

    Auto Trait Implementations§

    §

    impl Freeze for Loop

    §

    impl RefUnwindSafe for Loop

    §

    impl !Send for Loop

    §

    impl !Sync for Loop

    §

    impl Unpin for Loop

    §

    impl UnwindSafe for Loop

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Loop

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Loop

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Loop

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Loop

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Loop

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Loop

    Source§

    fn eq(&self, _other: &Loop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Loop

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Loop

    Source§

    impl Eq for Loop

    Source§

    impl Token for Loop

    Auto Trait Implementations§

    §

    impl Freeze for Loop

    §

    impl RefUnwindSafe for Loop

    §

    impl !Send for Loop

    §

    impl !Sync for Loop

    §

    impl Unpin for Loop

    §

    impl UnwindSafe for Loop

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Lt.html b/syn/token/struct.Lt.html index d882689..a69bec0 100644 --- a/syn/token/struct.Lt.html +++ b/syn/token/struct.Lt.html @@ -1,26 +1,28 @@ -Lt in syn::token - Rust
    syn::token

    Struct Lt

    source
    pub struct Lt {
    -    pub spans: [Span; 1],
    +Lt in syn::token - Rust
    syn::token

    Struct Lt

    Source
    pub struct Lt {
    +    pub spans: [Span; 1],
     }
    Expand description

    <

    Usage: less than, generics, paths.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Lt

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Lt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Lt

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Lt

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Lt

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Lt

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Lt

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Lt

    source§

    fn eq(&self, _other: &Lt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Lt

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Lt

    source§

    impl Eq for Lt

    source§

    impl Token for Lt

    Auto Trait Implementations§

    §

    impl Freeze for Lt

    §

    impl RefUnwindSafe for Lt

    §

    impl !Send for Lt

    §

    impl !Sync for Lt

    §

    impl Unpin for Lt

    §

    impl UnwindSafe for Lt

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Lt

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Lt

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Lt

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Lt

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Lt

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Lt

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Lt

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Lt

    Source§

    fn eq(&self, _other: &Lt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Lt

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Lt

    Source§

    impl Eq for Lt

    Source§

    impl Token for Lt

    Auto Trait Implementations§

    §

    impl Freeze for Lt

    §

    impl RefUnwindSafe for Lt

    §

    impl !Send for Lt

    §

    impl !Sync for Lt

    §

    impl Unpin for Lt

    §

    impl UnwindSafe for Lt

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Macro.html b/syn/token/struct.Macro.html index a055f46..0ba54be 100644 --- a/syn/token/struct.Macro.html +++ b/syn/token/struct.Macro.html @@ -1,24 +1,24 @@ -Macro in syn::token - Rust
    syn::token

    Struct Macro

    source
    pub struct Macro {
    +Macro in syn::token - Rust
    syn::token

    Struct Macro

    Source
    pub struct Macro {
         pub span: Span,
     }
    Expand description

    macro

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Macro

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Macro

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Macro

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Macro

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Macro

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Macro

    source§

    fn eq(&self, _other: &Macro) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Macro

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Macro

    source§

    impl Eq for Macro

    source§

    impl Token for Macro

    Auto Trait Implementations§

    §

    impl Freeze for Macro

    §

    impl RefUnwindSafe for Macro

    §

    impl !Send for Macro

    §

    impl !Sync for Macro

    §

    impl Unpin for Macro

    §

    impl UnwindSafe for Macro

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Macro

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Macro

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Macro

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Macro

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Macro

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Macro

    Source§

    fn eq(&self, _other: &Macro) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Macro

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Macro

    Source§

    impl Eq for Macro

    Source§

    impl Token for Macro

    Auto Trait Implementations§

    §

    impl Freeze for Macro

    §

    impl RefUnwindSafe for Macro

    §

    impl !Send for Macro

    §

    impl !Sync for Macro

    §

    impl Unpin for Macro

    §

    impl UnwindSafe for Macro

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Match.html b/syn/token/struct.Match.html index e42fd6e..8b64042 100644 --- a/syn/token/struct.Match.html +++ b/syn/token/struct.Match.html @@ -1,24 +1,24 @@ -Match in syn::token - Rust
    syn::token

    Struct Match

    source
    pub struct Match {
    +Match in syn::token - Rust
    syn::token

    Struct Match

    Source
    pub struct Match {
         pub span: Span,
     }
    Expand description

    match

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Match

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Match

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Match

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Match

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Match

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Match

    source§

    fn eq(&self, _other: &Match) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Match

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Match

    source§

    impl Eq for Match

    source§

    impl Token for Match

    Auto Trait Implementations§

    §

    impl Freeze for Match

    §

    impl RefUnwindSafe for Match

    §

    impl !Send for Match

    §

    impl !Sync for Match

    §

    impl Unpin for Match

    §

    impl UnwindSafe for Match

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Match

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Match

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Match

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Match

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Match

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Match

    Source§

    fn eq(&self, _other: &Match) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Match

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Match

    Source§

    impl Eq for Match

    Source§

    impl Token for Match

    Auto Trait Implementations§

    §

    impl Freeze for Match

    §

    impl RefUnwindSafe for Match

    §

    impl !Send for Match

    §

    impl !Sync for Match

    §

    impl Unpin for Match

    §

    impl UnwindSafe for Match

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Minus.html b/syn/token/struct.Minus.html index 9abc4fd..f945871 100644 --- a/syn/token/struct.Minus.html +++ b/syn/token/struct.Minus.html @@ -1,26 +1,28 @@ -Minus in syn::token - Rust
    syn::token

    Struct Minus

    source
    pub struct Minus {
    -    pub spans: [Span; 1],
    +Minus in syn::token - Rust
    syn::token

    Struct Minus

    Source
    pub struct Minus {
    +    pub spans: [Span; 1],
     }
    Expand description

    -

    Usage: subtraction, negation.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Minus

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Minus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Minus

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Minus

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Minus

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Minus

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Minus

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Minus

    source§

    fn eq(&self, _other: &Minus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Minus

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Minus

    source§

    impl Eq for Minus

    source§

    impl Token for Minus

    Auto Trait Implementations§

    §

    impl Freeze for Minus

    §

    impl RefUnwindSafe for Minus

    §

    impl !Send for Minus

    §

    impl !Sync for Minus

    §

    impl Unpin for Minus

    §

    impl UnwindSafe for Minus

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Minus

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Minus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Minus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Minus

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Minus

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Minus

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Minus

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Minus

    Source§

    fn eq(&self, _other: &Minus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Minus

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Minus

    Source§

    impl Eq for Minus

    Source§

    impl Token for Minus

    Auto Trait Implementations§

    §

    impl Freeze for Minus

    §

    impl RefUnwindSafe for Minus

    §

    impl !Send for Minus

    §

    impl !Sync for Minus

    §

    impl Unpin for Minus

    §

    impl UnwindSafe for Minus

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.MinusEq.html b/syn/token/struct.MinusEq.html index 9cc0637..b0d44c9 100644 --- a/syn/token/struct.MinusEq.html +++ b/syn/token/struct.MinusEq.html @@ -1,26 +1,26 @@ -MinusEq in syn::token - Rust
    syn::token

    Struct MinusEq

    source
    pub struct MinusEq {
    -    pub spans: [Span; 2],
    +MinusEq in syn::token - Rust
    syn::token

    Struct MinusEq

    Source
    pub struct MinusEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    -=

    Usage: subtraction assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for MinusEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MinusEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MinusEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for MinusEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for MinusEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for MinusEq

    source§

    fn eq(&self, _other: &MinusEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for MinusEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for MinusEq

    source§

    impl Eq for MinusEq

    source§

    impl Token for MinusEq

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for MinusEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MinusEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for MinusEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for MinusEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for MinusEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for MinusEq

    Source§

    fn eq(&self, _other: &MinusEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for MinusEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for MinusEq

    Source§

    impl Eq for MinusEq

    Source§

    impl Token for MinusEq

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Mod.html b/syn/token/struct.Mod.html index f0b4c19..ef9a326 100644 --- a/syn/token/struct.Mod.html +++ b/syn/token/struct.Mod.html @@ -1,24 +1,24 @@ -Mod in syn::token - Rust
    syn::token

    Struct Mod

    source
    pub struct Mod {
    +Mod in syn::token - Rust
    syn::token

    Struct Mod

    Source
    pub struct Mod {
         pub span: Span,
     }
    Expand description

    mod

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Mod

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Mod

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Mod

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Mod

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Mod

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Mod

    source§

    fn eq(&self, _other: &Mod) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Mod

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Mod

    source§

    impl Eq for Mod

    source§

    impl Token for Mod

    Auto Trait Implementations§

    §

    impl Freeze for Mod

    §

    impl RefUnwindSafe for Mod

    §

    impl !Send for Mod

    §

    impl !Sync for Mod

    §

    impl Unpin for Mod

    §

    impl UnwindSafe for Mod

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Mod

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Mod

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Mod

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Mod

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Mod

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Mod

    Source§

    fn eq(&self, _other: &Mod) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Mod

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Mod

    Source§

    impl Eq for Mod

    Source§

    impl Token for Mod

    Auto Trait Implementations§

    §

    impl Freeze for Mod

    §

    impl RefUnwindSafe for Mod

    §

    impl !Send for Mod

    §

    impl !Sync for Mod

    §

    impl Unpin for Mod

    §

    impl UnwindSafe for Mod

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Move.html b/syn/token/struct.Move.html index 51132c1..7f6ff30 100644 --- a/syn/token/struct.Move.html +++ b/syn/token/struct.Move.html @@ -1,24 +1,24 @@ -Move in syn::token - Rust
    syn::token

    Struct Move

    source
    pub struct Move {
    +Move in syn::token - Rust
    syn::token

    Struct Move

    Source
    pub struct Move {
         pub span: Span,
     }
    Expand description

    move

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Move

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Move

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Move

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Move

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Move

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Move

    source§

    fn eq(&self, _other: &Move) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Move

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Move

    source§

    impl Eq for Move

    source§

    impl Token for Move

    Auto Trait Implementations§

    §

    impl Freeze for Move

    §

    impl RefUnwindSafe for Move

    §

    impl !Send for Move

    §

    impl !Sync for Move

    §

    impl Unpin for Move

    §

    impl UnwindSafe for Move

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Move

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Move

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Move

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Move

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Move

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Move

    Source§

    fn eq(&self, _other: &Move) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Move

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Move

    Source§

    impl Eq for Move

    Source§

    impl Token for Move

    Auto Trait Implementations§

    §

    impl Freeze for Move

    §

    impl RefUnwindSafe for Move

    §

    impl !Send for Move

    §

    impl !Sync for Move

    §

    impl Unpin for Move

    §

    impl UnwindSafe for Move

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Mut.html b/syn/token/struct.Mut.html index acf574d..8e8032d 100644 --- a/syn/token/struct.Mut.html +++ b/syn/token/struct.Mut.html @@ -1,24 +1,24 @@ -Mut in syn::token - Rust
    syn::token

    Struct Mut

    source
    pub struct Mut {
    +Mut in syn::token - Rust
    syn::token

    Struct Mut

    Source
    pub struct Mut {
         pub span: Span,
     }
    Expand description

    mut

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Mut

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Mut

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Mut

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Mut

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Mut

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Mut

    source§

    fn eq(&self, _other: &Mut) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Mut

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Mut

    source§

    impl Eq for Mut

    source§

    impl Token for Mut

    Auto Trait Implementations§

    §

    impl Freeze for Mut

    §

    impl RefUnwindSafe for Mut

    §

    impl !Send for Mut

    §

    impl !Sync for Mut

    §

    impl Unpin for Mut

    §

    impl UnwindSafe for Mut

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Mut

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Mut

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Mut

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Mut

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Mut

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Mut

    Source§

    fn eq(&self, _other: &Mut) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Mut

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Mut

    Source§

    impl Eq for Mut

    Source§

    impl Token for Mut

    Auto Trait Implementations§

    §

    impl Freeze for Mut

    §

    impl RefUnwindSafe for Mut

    §

    impl !Send for Mut

    §

    impl !Sync for Mut

    §

    impl Unpin for Mut

    §

    impl UnwindSafe for Mut

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Ne.html b/syn/token/struct.Ne.html index a8fd79e..60af4b7 100644 --- a/syn/token/struct.Ne.html +++ b/syn/token/struct.Ne.html @@ -1,26 +1,26 @@ -Ne in syn::token - Rust
    syn::token

    Struct Ne

    source
    pub struct Ne {
    -    pub spans: [Span; 2],
    +Ne in syn::token - Rust
    syn::token

    Struct Ne

    Source
    pub struct Ne {
    +    pub spans: [Span; 2],
     }
    Expand description

    !=

    Usage: not equal.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for Ne

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ne

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Ne

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Ne

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Ne

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Ne

    source§

    fn eq(&self, _other: &Ne) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Ne

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Ne

    source§

    impl Eq for Ne

    source§

    impl Token for Ne

    Auto Trait Implementations§

    §

    impl Freeze for Ne

    §

    impl RefUnwindSafe for Ne

    §

    impl !Send for Ne

    §

    impl !Sync for Ne

    §

    impl Unpin for Ne

    §

    impl UnwindSafe for Ne

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for Ne

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Ne

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Ne

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Ne

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Ne

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Ne

    Source§

    fn eq(&self, _other: &Ne) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Ne

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Ne

    Source§

    impl Eq for Ne

    Source§

    impl Token for Ne

    Auto Trait Implementations§

    §

    impl Freeze for Ne

    §

    impl RefUnwindSafe for Ne

    §

    impl !Send for Ne

    §

    impl !Sync for Ne

    §

    impl Unpin for Ne

    §

    impl UnwindSafe for Ne

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Not.html b/syn/token/struct.Not.html index e5166a8..2596f94 100644 --- a/syn/token/struct.Not.html +++ b/syn/token/struct.Not.html @@ -1,26 +1,28 @@ -Not in syn::token - Rust
    syn::token

    Struct Not

    source
    pub struct Not {
    -    pub spans: [Span; 1],
    +Not in syn::token - Rust
    syn::token

    Struct Not

    Source
    pub struct Not {
    +    pub spans: [Span; 1],
     }
    Expand description

    !

    Usage: bitwise and logical NOT, macro calls, inner attributes, never type, negative impls.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Not

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Not

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Not

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Not

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Not

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Not

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Not

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Not

    source§

    fn eq(&self, _other: &Not) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Not

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Not

    source§

    impl Eq for Not

    source§

    impl Token for Not

    Auto Trait Implementations§

    §

    impl Freeze for Not

    §

    impl RefUnwindSafe for Not

    §

    impl !Send for Not

    §

    impl !Sync for Not

    §

    impl Unpin for Not

    §

    impl UnwindSafe for Not

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Not

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Not

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Not

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Not

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Not

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Not

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Not

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Not

    Source§

    fn eq(&self, _other: &Not) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Not

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Not

    Source§

    impl Eq for Not

    Source§

    impl Token for Not

    Auto Trait Implementations§

    §

    impl Freeze for Not

    §

    impl RefUnwindSafe for Not

    §

    impl !Send for Not

    §

    impl !Sync for Not

    §

    impl Unpin for Not

    §

    impl UnwindSafe for Not

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Or.html b/syn/token/struct.Or.html index a3ac177..691b42f 100644 --- a/syn/token/struct.Or.html +++ b/syn/token/struct.Or.html @@ -1,26 +1,28 @@ -Or in syn::token - Rust
    syn::token

    Struct Or

    source
    pub struct Or {
    -    pub spans: [Span; 1],
    +Or in syn::token - Rust
    syn::token

    Struct Or

    Source
    pub struct Or {
    +    pub spans: [Span; 1],
     }
    Expand description

    |

    Usage: bitwise and logical OR, closures, patterns in match, if let, and while let.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Or

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Or

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Or

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Or

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Or

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Or

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Or

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Or

    source§

    fn eq(&self, _other: &Or) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Or

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Or

    source§

    impl Eq for Or

    source§

    impl Token for Or

    Auto Trait Implementations§

    §

    impl Freeze for Or

    §

    impl RefUnwindSafe for Or

    §

    impl !Send for Or

    §

    impl !Sync for Or

    §

    impl Unpin for Or

    §

    impl UnwindSafe for Or

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Or

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Or

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Or

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Or

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Or

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Or

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Or

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Or

    Source§

    fn eq(&self, _other: &Or) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Or

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Or

    Source§

    impl Eq for Or

    Source§

    impl Token for Or

    Auto Trait Implementations§

    §

    impl Freeze for Or

    §

    impl RefUnwindSafe for Or

    §

    impl !Send for Or

    §

    impl !Sync for Or

    §

    impl Unpin for Or

    §

    impl UnwindSafe for Or

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.OrEq.html b/syn/token/struct.OrEq.html index 8737986..7fd969e 100644 --- a/syn/token/struct.OrEq.html +++ b/syn/token/struct.OrEq.html @@ -1,26 +1,26 @@ -OrEq in syn::token - Rust
    syn::token

    Struct OrEq

    source
    pub struct OrEq {
    -    pub spans: [Span; 2],
    +OrEq in syn::token - Rust
    syn::token

    Struct OrEq

    Source
    pub struct OrEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    |=

    Usage: bitwise OR assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for OrEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for OrEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for OrEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for OrEq

    source§

    fn eq(&self, _other: &OrEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for OrEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for OrEq

    source§

    impl Eq for OrEq

    source§

    impl Token for OrEq

    Auto Trait Implementations§

    §

    impl Freeze for OrEq

    §

    impl RefUnwindSafe for OrEq

    §

    impl !Send for OrEq

    §

    impl !Sync for OrEq

    §

    impl Unpin for OrEq

    §

    impl UnwindSafe for OrEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for OrEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for OrEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for OrEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for OrEq

    Source§

    fn eq(&self, _other: &OrEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for OrEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for OrEq

    Source§

    impl Eq for OrEq

    Source§

    impl Token for OrEq

    Auto Trait Implementations§

    §

    impl Freeze for OrEq

    §

    impl RefUnwindSafe for OrEq

    §

    impl !Send for OrEq

    §

    impl !Sync for OrEq

    §

    impl Unpin for OrEq

    §

    impl UnwindSafe for OrEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.OrOr.html b/syn/token/struct.OrOr.html index 6bb6029..05ae006 100644 --- a/syn/token/struct.OrOr.html +++ b/syn/token/struct.OrOr.html @@ -1,26 +1,26 @@ -OrOr in syn::token - Rust
    syn::token

    Struct OrOr

    source
    pub struct OrOr {
    -    pub spans: [Span; 2],
    +OrOr in syn::token - Rust
    syn::token

    Struct OrOr

    Source
    pub struct OrOr {
    +    pub spans: [Span; 2],
     }
    Expand description

    ||

    Usage: lazy OR, closures.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for OrOr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrOr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrOr

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for OrOr

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for OrOr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for OrOr

    source§

    fn eq(&self, _other: &OrOr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for OrOr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for OrOr

    source§

    impl Eq for OrOr

    source§

    impl Token for OrOr

    Auto Trait Implementations§

    §

    impl Freeze for OrOr

    §

    impl RefUnwindSafe for OrOr

    §

    impl !Send for OrOr

    §

    impl !Sync for OrOr

    §

    impl Unpin for OrOr

    §

    impl UnwindSafe for OrOr

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for OrOr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrOr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrOr

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for OrOr

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for OrOr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for OrOr

    Source§

    fn eq(&self, _other: &OrOr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for OrOr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for OrOr

    Source§

    impl Eq for OrOr

    Source§

    impl Token for OrOr

    Auto Trait Implementations§

    §

    impl Freeze for OrOr

    §

    impl RefUnwindSafe for OrOr

    §

    impl !Send for OrOr

    §

    impl !Sync for OrOr

    §

    impl Unpin for OrOr

    §

    impl UnwindSafe for OrOr

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Override.html b/syn/token/struct.Override.html index 1b70588..8e19a0b 100644 --- a/syn/token/struct.Override.html +++ b/syn/token/struct.Override.html @@ -1,24 +1,24 @@ -Override in syn::token - Rust
    syn::token

    Struct Override

    source
    pub struct Override {
    +Override in syn::token - Rust
    syn::token

    Struct Override

    Source
    pub struct Override {
         pub span: Span,
     }
    Expand description

    override

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Override

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Override

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Override

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Override

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Override

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Override

    source§

    fn eq(&self, _other: &Override) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Override

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Override

    source§

    impl Eq for Override

    source§

    impl Token for Override

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Override

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Override

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Override

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Override

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Override

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Override

    Source§

    fn eq(&self, _other: &Override) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Override

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Override

    Source§

    impl Eq for Override

    Source§

    impl Token for Override

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Paren.html b/syn/token/struct.Paren.html index f880597..21cb1e8 100644 --- a/syn/token/struct.Paren.html +++ b/syn/token/struct.Paren.html @@ -1,20 +1,20 @@ -Paren in syn::token - Rust
    syn::token

    Struct Paren

    source
    pub struct Paren {
    +Paren in syn::token - Rust
    syn::token

    Struct Paren

    Source
    pub struct Paren {
         pub span: DelimSpan,
     }
    Expand description

    ()

    -

    Fields§

    §span: DelimSpan

    Implementations§

    source§

    impl Paren

    source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where - F: FnOnce(&mut TokenStream),

    Trait Implementations§

    source§

    impl Clone for Paren

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Paren

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Paren

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Paren

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Paren

    source§

    fn eq(&self, _other: &Paren) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Paren

    source§

    impl Eq for Paren

    source§

    impl Token for Paren

    Auto Trait Implementations§

    §

    impl Freeze for Paren

    §

    impl RefUnwindSafe for Paren

    §

    impl !Send for Paren

    §

    impl !Sync for Paren

    §

    impl Unpin for Paren

    §

    impl UnwindSafe for Paren

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: DelimSpan

    Implementations§

    Source§

    impl Paren

    Source

    pub fn surround<F>(&self, tokens: &mut TokenStream, f: F)
    where + F: FnOnce(&mut TokenStream),

    Trait Implementations§

    Source§

    impl Clone for Paren

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Paren

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Paren

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Paren

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for Paren

    Source§

    fn eq(&self, _other: &Paren) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for Paren

    Source§

    impl Eq for Paren

    Source§

    impl Token for Paren

    Auto Trait Implementations§

    §

    impl Freeze for Paren

    §

    impl RefUnwindSafe for Paren

    §

    impl !Send for Paren

    §

    impl !Sync for Paren

    §

    impl Unpin for Paren

    §

    impl UnwindSafe for Paren

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.PathSep.html b/syn/token/struct.PathSep.html index 7945dcb..efa1504 100644 --- a/syn/token/struct.PathSep.html +++ b/syn/token/struct.PathSep.html @@ -1,26 +1,26 @@ -PathSep in syn::token - Rust
    syn::token

    Struct PathSep

    source
    pub struct PathSep {
    -    pub spans: [Span; 2],
    +PathSep in syn::token - Rust
    syn::token

    Struct PathSep

    Source
    pub struct PathSep {
    +    pub spans: [Span; 2],
     }
    Expand description

    ::

    Usage: path separator.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for PathSep

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PathSep

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PathSep

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for PathSep

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for PathSep

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for PathSep

    source§

    fn eq(&self, _other: &PathSep) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PathSep

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for PathSep

    source§

    impl Eq for PathSep

    source§

    impl Token for PathSep

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for PathSep

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PathSep

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for PathSep

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for PathSep

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for PathSep

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for PathSep

    Source§

    fn eq(&self, _other: &PathSep) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PathSep

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for PathSep

    Source§

    impl Eq for PathSep

    Source§

    impl Token for PathSep

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Percent.html b/syn/token/struct.Percent.html index 1247f6a..eb605c7 100644 --- a/syn/token/struct.Percent.html +++ b/syn/token/struct.Percent.html @@ -1,26 +1,28 @@ -Percent in syn::token - Rust
    syn::token

    Struct Percent

    source
    pub struct Percent {
    -    pub spans: [Span; 1],
    +Percent in syn::token - Rust
    syn::token

    Struct Percent

    Source
    pub struct Percent {
    +    pub spans: [Span; 1],
     }
    Expand description

    %

    Usage: remainder.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Percent

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Percent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Percent

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Percent

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Percent

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Percent

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Percent

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Percent

    source§

    fn eq(&self, _other: &Percent) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Percent

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Percent

    source§

    impl Eq for Percent

    source§

    impl Token for Percent

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Percent

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Percent

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Percent

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Percent

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Percent

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Percent

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Percent

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Percent

    Source§

    fn eq(&self, _other: &Percent) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Percent

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Percent

    Source§

    impl Eq for Percent

    Source§

    impl Token for Percent

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.PercentEq.html b/syn/token/struct.PercentEq.html index 7a84623..ff7b780 100644 --- a/syn/token/struct.PercentEq.html +++ b/syn/token/struct.PercentEq.html @@ -1,26 +1,26 @@ -PercentEq in syn::token - Rust
    syn::token

    Struct PercentEq

    source
    pub struct PercentEq {
    -    pub spans: [Span; 2],
    +PercentEq in syn::token - Rust
    syn::token

    Struct PercentEq

    Source
    pub struct PercentEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    %=

    Usage: remainder assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for PercentEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PercentEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PercentEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for PercentEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for PercentEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for PercentEq

    source§

    fn eq(&self, _other: &PercentEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PercentEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for PercentEq

    source§

    impl Eq for PercentEq

    source§

    impl Token for PercentEq

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for PercentEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PercentEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for PercentEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for PercentEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for PercentEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for PercentEq

    Source§

    fn eq(&self, _other: &PercentEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PercentEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for PercentEq

    Source§

    impl Eq for PercentEq

    Source§

    impl Token for PercentEq

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Plus.html b/syn/token/struct.Plus.html index 9c5015b..f95ec9c 100644 --- a/syn/token/struct.Plus.html +++ b/syn/token/struct.Plus.html @@ -1,26 +1,28 @@ -Plus in syn::token - Rust
    syn::token

    Struct Plus

    source
    pub struct Plus {
    -    pub spans: [Span; 1],
    +Plus in syn::token - Rust
    syn::token

    Struct Plus

    Source
    pub struct Plus {
    +    pub spans: [Span; 1],
     }
    Expand description

    +

    Usage: addition, trait bounds, macro Kleene matcher.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Plus

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Plus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Plus

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Plus

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Plus

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Plus

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Plus

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Plus

    source§

    fn eq(&self, _other: &Plus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Plus

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Plus

    source§

    impl Eq for Plus

    source§

    impl Token for Plus

    Auto Trait Implementations§

    §

    impl Freeze for Plus

    §

    impl RefUnwindSafe for Plus

    §

    impl !Send for Plus

    §

    impl !Sync for Plus

    §

    impl Unpin for Plus

    §

    impl UnwindSafe for Plus

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Plus

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Plus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Plus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Plus

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Plus

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Plus

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Plus

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Plus

    Source§

    fn eq(&self, _other: &Plus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Plus

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Plus

    Source§

    impl Eq for Plus

    Source§

    impl Token for Plus

    Auto Trait Implementations§

    §

    impl Freeze for Plus

    §

    impl RefUnwindSafe for Plus

    §

    impl !Send for Plus

    §

    impl !Sync for Plus

    §

    impl Unpin for Plus

    §

    impl UnwindSafe for Plus

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.PlusEq.html b/syn/token/struct.PlusEq.html index bd51fd3..d9906b4 100644 --- a/syn/token/struct.PlusEq.html +++ b/syn/token/struct.PlusEq.html @@ -1,26 +1,26 @@ -PlusEq in syn::token - Rust
    syn::token

    Struct PlusEq

    source
    pub struct PlusEq {
    -    pub spans: [Span; 2],
    +PlusEq in syn::token - Rust
    syn::token

    Struct PlusEq

    Source
    pub struct PlusEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    +=

    Usage: addition assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for PlusEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlusEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PlusEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for PlusEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for PlusEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for PlusEq

    source§

    fn eq(&self, _other: &PlusEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for PlusEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for PlusEq

    source§

    impl Eq for PlusEq

    source§

    impl Token for PlusEq

    Auto Trait Implementations§

    §

    impl Freeze for PlusEq

    §

    impl RefUnwindSafe for PlusEq

    §

    impl !Send for PlusEq

    §

    impl !Sync for PlusEq

    §

    impl Unpin for PlusEq

    §

    impl UnwindSafe for PlusEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for PlusEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for PlusEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for PlusEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for PlusEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for PlusEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for PlusEq

    Source§

    fn eq(&self, _other: &PlusEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for PlusEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for PlusEq

    Source§

    impl Eq for PlusEq

    Source§

    impl Token for PlusEq

    Auto Trait Implementations§

    §

    impl Freeze for PlusEq

    §

    impl RefUnwindSafe for PlusEq

    §

    impl !Send for PlusEq

    §

    impl !Sync for PlusEq

    §

    impl Unpin for PlusEq

    §

    impl UnwindSafe for PlusEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Pound.html b/syn/token/struct.Pound.html index 396697f..b4f586d 100644 --- a/syn/token/struct.Pound.html +++ b/syn/token/struct.Pound.html @@ -1,26 +1,28 @@ -Pound in syn::token - Rust
    syn::token

    Struct Pound

    source
    pub struct Pound {
    -    pub spans: [Span; 1],
    +Pound in syn::token - Rust
    syn::token

    Struct Pound

    Source
    pub struct Pound {
    +    pub spans: [Span; 1],
     }
    Expand description

    #

    Usage: attributes.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Pound

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Pound

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Pound

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Pound

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Pound

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Pound

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Pound

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Pound

    source§

    fn eq(&self, _other: &Pound) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Pound

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Pound

    source§

    impl Eq for Pound

    source§

    impl Token for Pound

    Auto Trait Implementations§

    §

    impl Freeze for Pound

    §

    impl RefUnwindSafe for Pound

    §

    impl !Send for Pound

    §

    impl !Sync for Pound

    §

    impl Unpin for Pound

    §

    impl UnwindSafe for Pound

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Pound

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Pound

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Pound

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Pound

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Pound

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Pound

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Pound

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Pound

    Source§

    fn eq(&self, _other: &Pound) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Pound

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Pound

    Source§

    impl Eq for Pound

    Source§

    impl Token for Pound

    Auto Trait Implementations§

    §

    impl Freeze for Pound

    §

    impl RefUnwindSafe for Pound

    §

    impl !Send for Pound

    §

    impl !Sync for Pound

    §

    impl Unpin for Pound

    §

    impl UnwindSafe for Pound

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Priv.html b/syn/token/struct.Priv.html index b54ae02..f14b59a 100644 --- a/syn/token/struct.Priv.html +++ b/syn/token/struct.Priv.html @@ -1,24 +1,24 @@ -Priv in syn::token - Rust
    syn::token

    Struct Priv

    source
    pub struct Priv {
    +Priv in syn::token - Rust
    syn::token

    Struct Priv

    Source
    pub struct Priv {
         pub span: Span,
     }
    Expand description

    priv

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Priv

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Priv

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Priv

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Priv

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Priv

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Priv

    source§

    fn eq(&self, _other: &Priv) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Priv

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Priv

    source§

    impl Eq for Priv

    source§

    impl Token for Priv

    Auto Trait Implementations§

    §

    impl Freeze for Priv

    §

    impl RefUnwindSafe for Priv

    §

    impl !Send for Priv

    §

    impl !Sync for Priv

    §

    impl Unpin for Priv

    §

    impl UnwindSafe for Priv

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Priv

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Priv

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Priv

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Priv

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Priv

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Priv

    Source§

    fn eq(&self, _other: &Priv) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Priv

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Priv

    Source§

    impl Eq for Priv

    Source§

    impl Token for Priv

    Auto Trait Implementations§

    §

    impl Freeze for Priv

    §

    impl RefUnwindSafe for Priv

    §

    impl !Send for Priv

    §

    impl !Sync for Priv

    §

    impl Unpin for Priv

    §

    impl UnwindSafe for Priv

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Pub.html b/syn/token/struct.Pub.html index ca6dbe7..8266a45 100644 --- a/syn/token/struct.Pub.html +++ b/syn/token/struct.Pub.html @@ -1,24 +1,24 @@ -Pub in syn::token - Rust
    syn::token

    Struct Pub

    source
    pub struct Pub {
    +Pub in syn::token - Rust
    syn::token

    Struct Pub

    Source
    pub struct Pub {
         pub span: Span,
     }
    Expand description

    pub

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Pub

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Pub

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Pub

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Pub

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Pub

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Pub

    source§

    fn eq(&self, _other: &Pub) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Pub

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Pub

    source§

    impl Eq for Pub

    source§

    impl Token for Pub

    Auto Trait Implementations§

    §

    impl Freeze for Pub

    §

    impl RefUnwindSafe for Pub

    §

    impl !Send for Pub

    §

    impl !Sync for Pub

    §

    impl Unpin for Pub

    §

    impl UnwindSafe for Pub

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Pub

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Pub

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Pub

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Pub

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Pub

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Pub

    Source§

    fn eq(&self, _other: &Pub) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Pub

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Pub

    Source§

    impl Eq for Pub

    Source§

    impl Token for Pub

    Auto Trait Implementations§

    §

    impl Freeze for Pub

    §

    impl RefUnwindSafe for Pub

    §

    impl !Send for Pub

    §

    impl !Sync for Pub

    §

    impl Unpin for Pub

    §

    impl UnwindSafe for Pub

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Question.html b/syn/token/struct.Question.html index 0ea873c..12c79f8 100644 --- a/syn/token/struct.Question.html +++ b/syn/token/struct.Question.html @@ -1,26 +1,28 @@ -Question in syn::token - Rust
    syn::token

    Struct Question

    source
    pub struct Question {
    -    pub spans: [Span; 1],
    +Question in syn::token - Rust
    syn::token

    Struct Question

    Source
    pub struct Question {
    +    pub spans: [Span; 1],
     }
    Expand description

    ?

    Usage: question mark operator, questionably sized, macro Kleene matcher.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Question

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Question

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Question

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Question

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Question

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Question

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Question

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Question

    source§

    fn eq(&self, _other: &Question) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Question

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Question

    source§

    impl Eq for Question

    source§

    impl Token for Question

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Question

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Question

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Question

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Question

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Question

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Question

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Question

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Question

    Source§

    fn eq(&self, _other: &Question) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Question

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Question

    Source§

    impl Eq for Question

    Source§

    impl Token for Question

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.RArrow.html b/syn/token/struct.RArrow.html index 4406a24..4838c90 100644 --- a/syn/token/struct.RArrow.html +++ b/syn/token/struct.RArrow.html @@ -1,26 +1,26 @@ -RArrow in syn::token - Rust
    syn::token

    Struct RArrow

    source
    pub struct RArrow {
    -    pub spans: [Span; 2],
    +RArrow in syn::token - Rust
    syn::token

    Struct RArrow

    Source
    pub struct RArrow {
    +    pub spans: [Span; 2],
     }
    Expand description

    ->

    Usage: function return type, closure return type, function pointer type.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for RArrow

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RArrow

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for RArrow

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for RArrow

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for RArrow

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for RArrow

    source§

    fn eq(&self, _other: &RArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for RArrow

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for RArrow

    source§

    impl Eq for RArrow

    source§

    impl Token for RArrow

    Auto Trait Implementations§

    §

    impl Freeze for RArrow

    §

    impl RefUnwindSafe for RArrow

    §

    impl !Send for RArrow

    §

    impl !Sync for RArrow

    §

    impl Unpin for RArrow

    §

    impl UnwindSafe for RArrow

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for RArrow

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for RArrow

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for RArrow

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for RArrow

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for RArrow

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for RArrow

    Source§

    fn eq(&self, _other: &RArrow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for RArrow

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for RArrow

    Source§

    impl Eq for RArrow

    Source§

    impl Token for RArrow

    Auto Trait Implementations§

    §

    impl Freeze for RArrow

    §

    impl RefUnwindSafe for RArrow

    §

    impl !Send for RArrow

    §

    impl !Sync for RArrow

    §

    impl Unpin for RArrow

    §

    impl UnwindSafe for RArrow

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Raw.html b/syn/token/struct.Raw.html index da4df0a..7effcf5 100644 --- a/syn/token/struct.Raw.html +++ b/syn/token/struct.Raw.html @@ -1,24 +1,24 @@ -Raw in syn::token - Rust
    syn::token

    Struct Raw

    source
    pub struct Raw {
    +Raw in syn::token - Rust
    syn::token

    Struct Raw

    Source
    pub struct Raw {
         pub span: Span,
     }
    Expand description

    raw

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Raw

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Raw

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Raw

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Raw

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Raw

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Raw

    source§

    fn eq(&self, _other: &Raw) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Raw

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Raw

    source§

    impl Eq for Raw

    source§

    impl Token for Raw

    Auto Trait Implementations§

    §

    impl Freeze for Raw

    §

    impl RefUnwindSafe for Raw

    §

    impl !Send for Raw

    §

    impl !Sync for Raw

    §

    impl Unpin for Raw

    §

    impl UnwindSafe for Raw

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Raw

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Raw

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Raw

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Raw

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Raw

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Raw

    Source§

    fn eq(&self, _other: &Raw) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Raw

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Raw

    Source§

    impl Eq for Raw

    Source§

    impl Token for Raw

    Auto Trait Implementations§

    §

    impl Freeze for Raw

    §

    impl RefUnwindSafe for Raw

    §

    impl !Send for Raw

    §

    impl !Sync for Raw

    §

    impl Unpin for Raw

    §

    impl UnwindSafe for Raw

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Ref.html b/syn/token/struct.Ref.html index f91418a..6a77a49 100644 --- a/syn/token/struct.Ref.html +++ b/syn/token/struct.Ref.html @@ -1,24 +1,24 @@ -Ref in syn::token - Rust
    syn::token

    Struct Ref

    source
    pub struct Ref {
    +Ref in syn::token - Rust
    syn::token

    Struct Ref

    Source
    pub struct Ref {
         pub span: Span,
     }
    Expand description

    ref

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Ref

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ref

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Ref

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Ref

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Ref

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Ref

    source§

    fn eq(&self, _other: &Ref) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Ref

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Ref

    source§

    impl Eq for Ref

    source§

    impl Token for Ref

    Auto Trait Implementations§

    §

    impl Freeze for Ref

    §

    impl RefUnwindSafe for Ref

    §

    impl !Send for Ref

    §

    impl !Sync for Ref

    §

    impl Unpin for Ref

    §

    impl UnwindSafe for Ref

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Ref

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Ref

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Ref

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Ref

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Ref

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Ref

    Source§

    fn eq(&self, _other: &Ref) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Ref

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Ref

    Source§

    impl Eq for Ref

    Source§

    impl Token for Ref

    Auto Trait Implementations§

    §

    impl Freeze for Ref

    §

    impl RefUnwindSafe for Ref

    §

    impl !Send for Ref

    §

    impl !Sync for Ref

    §

    impl Unpin for Ref

    §

    impl UnwindSafe for Ref

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Return.html b/syn/token/struct.Return.html index 073bef8..f456584 100644 --- a/syn/token/struct.Return.html +++ b/syn/token/struct.Return.html @@ -1,24 +1,24 @@ -Return in syn::token - Rust
    syn::token

    Struct Return

    source
    pub struct Return {
    +Return in syn::token - Rust
    syn::token

    Struct Return

    Source
    pub struct Return {
         pub span: Span,
     }
    Expand description

    return

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Return

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Return

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Return

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Return

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Return

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Return

    source§

    fn eq(&self, _other: &Return) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Return

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Return

    source§

    impl Eq for Return

    source§

    impl Token for Return

    Auto Trait Implementations§

    §

    impl Freeze for Return

    §

    impl RefUnwindSafe for Return

    §

    impl !Send for Return

    §

    impl !Sync for Return

    §

    impl Unpin for Return

    §

    impl UnwindSafe for Return

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Return

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Return

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Return

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Return

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Return

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Return

    Source§

    fn eq(&self, _other: &Return) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Return

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Return

    Source§

    impl Eq for Return

    Source§

    impl Token for Return

    Auto Trait Implementations§

    §

    impl Freeze for Return

    §

    impl RefUnwindSafe for Return

    §

    impl !Send for Return

    §

    impl !Sync for Return

    §

    impl Unpin for Return

    §

    impl UnwindSafe for Return

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.SelfType.html b/syn/token/struct.SelfType.html index eda2582..ae860e3 100644 --- a/syn/token/struct.SelfType.html +++ b/syn/token/struct.SelfType.html @@ -1,24 +1,24 @@ -SelfType in syn::token - Rust
    syn::token

    Struct SelfType

    source
    pub struct SelfType {
    +SelfType in syn::token - Rust
    syn::token

    Struct SelfType

    Source
    pub struct SelfType {
         pub span: Span,
     }
    Expand description

    Self

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for SelfType

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SelfType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SelfType

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<SelfType> for Ident

    source§

    fn from(token: SelfType) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for SelfType

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for SelfType

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for SelfType

    source§

    fn eq(&self, _other: &SelfType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for SelfType

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for SelfType

    source§

    impl Eq for SelfType

    source§

    impl Token for SelfType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for SelfType

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for SelfType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for SelfType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<SelfType> for Ident

    Source§

    fn from(token: SelfType) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for SelfType

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for SelfType

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for SelfType

    Source§

    fn eq(&self, _other: &SelfType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for SelfType

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for SelfType

    Source§

    impl Eq for SelfType

    Source§

    impl Token for SelfType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.SelfValue.html b/syn/token/struct.SelfValue.html index c9cffca..0a23497 100644 --- a/syn/token/struct.SelfValue.html +++ b/syn/token/struct.SelfValue.html @@ -1,24 +1,24 @@ -SelfValue in syn::token - Rust
    syn::token

    Struct SelfValue

    source
    pub struct SelfValue {
    +SelfValue in syn::token - Rust
    syn::token

    Struct SelfValue

    Source
    pub struct SelfValue {
         pub span: Span,
     }
    Expand description

    self

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for SelfValue

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SelfValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SelfValue

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<SelfValue> for Ident

    source§

    fn from(token: SelfValue) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for SelfValue

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for SelfValue

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for SelfValue

    source§

    fn eq(&self, _other: &SelfValue) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for SelfValue

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for SelfValue

    source§

    impl Eq for SelfValue

    source§

    impl Token for SelfValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for SelfValue

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for SelfValue

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for SelfValue

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<SelfValue> for Ident

    Source§

    fn from(token: SelfValue) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for SelfValue

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for SelfValue

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for SelfValue

    Source§

    fn eq(&self, _other: &SelfValue) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for SelfValue

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for SelfValue

    Source§

    impl Eq for SelfValue

    Source§

    impl Token for SelfValue

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Semi.html b/syn/token/struct.Semi.html index 10881ba..bc1245e 100644 --- a/syn/token/struct.Semi.html +++ b/syn/token/struct.Semi.html @@ -1,26 +1,28 @@ -Semi in syn::token - Rust
    syn::token

    Struct Semi

    source
    pub struct Semi {
    -    pub spans: [Span; 1],
    +Semi in syn::token - Rust
    syn::token

    Struct Semi

    Source
    pub struct Semi {
    +    pub spans: [Span; 1],
     }
    Expand description

    ;

    Usage: terminator for various items and statements, array types.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Semi

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Semi

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Semi

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Semi

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Semi

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Semi

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Semi

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Semi

    source§

    fn eq(&self, _other: &Semi) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Semi

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Semi

    source§

    impl Eq for Semi

    source§

    impl Token for Semi

    Auto Trait Implementations§

    §

    impl Freeze for Semi

    §

    impl RefUnwindSafe for Semi

    §

    impl !Send for Semi

    §

    impl !Sync for Semi

    §

    impl Unpin for Semi

    §

    impl UnwindSafe for Semi

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Semi

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Semi

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Semi

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Semi

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Semi

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Semi

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Semi

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Semi

    Source§

    fn eq(&self, _other: &Semi) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Semi

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Semi

    Source§

    impl Eq for Semi

    Source§

    impl Token for Semi

    Auto Trait Implementations§

    §

    impl Freeze for Semi

    §

    impl RefUnwindSafe for Semi

    §

    impl !Send for Semi

    §

    impl !Sync for Semi

    §

    impl Unpin for Semi

    §

    impl UnwindSafe for Semi

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Shl.html b/syn/token/struct.Shl.html index b14af72..f54b1de 100644 --- a/syn/token/struct.Shl.html +++ b/syn/token/struct.Shl.html @@ -1,26 +1,26 @@ -Shl in syn::token - Rust
    syn::token

    Struct Shl

    source
    pub struct Shl {
    -    pub spans: [Span; 2],
    +Shl in syn::token - Rust
    syn::token

    Struct Shl

    Source
    pub struct Shl {
    +    pub spans: [Span; 2],
     }
    Expand description

    <<

    Usage: shift left, nested generics.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for Shl

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shl

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shl

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Shl

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Shl

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Shl

    source§

    fn eq(&self, _other: &Shl) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Shl

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Shl

    source§

    impl Eq for Shl

    source§

    impl Token for Shl

    Auto Trait Implementations§

    §

    impl Freeze for Shl

    §

    impl RefUnwindSafe for Shl

    §

    impl !Send for Shl

    §

    impl !Sync for Shl

    §

    impl Unpin for Shl

    §

    impl UnwindSafe for Shl

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for Shl

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Shl

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Shl

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Shl

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Shl

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Shl

    Source§

    fn eq(&self, _other: &Shl) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Shl

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Shl

    Source§

    impl Eq for Shl

    Source§

    impl Token for Shl

    Auto Trait Implementations§

    §

    impl Freeze for Shl

    §

    impl RefUnwindSafe for Shl

    §

    impl !Send for Shl

    §

    impl !Sync for Shl

    §

    impl Unpin for Shl

    §

    impl UnwindSafe for Shl

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.ShlEq.html b/syn/token/struct.ShlEq.html index 74869e8..7297772 100644 --- a/syn/token/struct.ShlEq.html +++ b/syn/token/struct.ShlEq.html @@ -1,26 +1,26 @@ -ShlEq in syn::token - Rust
    syn::token

    Struct ShlEq

    source
    pub struct ShlEq {
    -    pub spans: [Span; 3],
    +ShlEq in syn::token - Rust
    syn::token

    Struct ShlEq

    Source
    pub struct ShlEq {
    +    pub spans: [Span; 3],
     }
    Expand description

    <<=

    Usage: shift left assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    source§

    impl Clone for ShlEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ShlEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ShlEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for ShlEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ShlEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ShlEq

    source§

    fn eq(&self, _other: &ShlEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ShlEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for ShlEq

    source§

    impl Eq for ShlEq

    source§

    impl Token for ShlEq

    Auto Trait Implementations§

    §

    impl Freeze for ShlEq

    §

    impl RefUnwindSafe for ShlEq

    §

    impl !Send for ShlEq

    §

    impl !Sync for ShlEq

    §

    impl Unpin for ShlEq

    §

    impl UnwindSafe for ShlEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    Source§

    impl Clone for ShlEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ShlEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ShlEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for ShlEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ShlEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ShlEq

    Source§

    fn eq(&self, _other: &ShlEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ShlEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for ShlEq

    Source§

    impl Eq for ShlEq

    Source§

    impl Token for ShlEq

    Auto Trait Implementations§

    §

    impl Freeze for ShlEq

    §

    impl RefUnwindSafe for ShlEq

    §

    impl !Send for ShlEq

    §

    impl !Sync for ShlEq

    §

    impl Unpin for ShlEq

    §

    impl UnwindSafe for ShlEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Shr.html b/syn/token/struct.Shr.html index 892ec1a..fb9985b 100644 --- a/syn/token/struct.Shr.html +++ b/syn/token/struct.Shr.html @@ -1,26 +1,26 @@ -Shr in syn::token - Rust
    syn::token

    Struct Shr

    source
    pub struct Shr {
    -    pub spans: [Span; 2],
    +Shr in syn::token - Rust
    syn::token

    Struct Shr

    Source
    pub struct Shr {
    +    pub spans: [Span; 2],
     }
    Expand description

    >>

    Usage: shift right, nested generics.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for Shr

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shr

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Shr

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Shr

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Shr

    source§

    fn eq(&self, _other: &Shr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Shr

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Shr

    source§

    impl Eq for Shr

    source§

    impl Token for Shr

    Auto Trait Implementations§

    §

    impl Freeze for Shr

    §

    impl RefUnwindSafe for Shr

    §

    impl !Send for Shr

    §

    impl !Sync for Shr

    §

    impl Unpin for Shr

    §

    impl UnwindSafe for Shr

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for Shr

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Shr

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Shr

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Shr

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Shr

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Shr

    Source§

    fn eq(&self, _other: &Shr) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Shr

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Shr

    Source§

    impl Eq for Shr

    Source§

    impl Token for Shr

    Auto Trait Implementations§

    §

    impl Freeze for Shr

    §

    impl RefUnwindSafe for Shr

    §

    impl !Send for Shr

    §

    impl !Sync for Shr

    §

    impl Unpin for Shr

    §

    impl UnwindSafe for Shr

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.ShrEq.html b/syn/token/struct.ShrEq.html index dfc8969..cb62619 100644 --- a/syn/token/struct.ShrEq.html +++ b/syn/token/struct.ShrEq.html @@ -1,26 +1,26 @@ -ShrEq in syn::token - Rust
    syn::token

    Struct ShrEq

    source
    pub struct ShrEq {
    -    pub spans: [Span; 3],
    +ShrEq in syn::token - Rust
    syn::token

    Struct ShrEq

    Source
    pub struct ShrEq {
    +    pub spans: [Span; 3],
     }
    Expand description

    >>=

    Usage: shift right assignment, nested generics.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    source§

    impl Clone for ShrEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ShrEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ShrEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for ShrEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for ShrEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for ShrEq

    source§

    fn eq(&self, _other: &ShrEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for ShrEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for ShrEq

    source§

    impl Eq for ShrEq

    source§

    impl Token for ShrEq

    Auto Trait Implementations§

    §

    impl Freeze for ShrEq

    §

    impl RefUnwindSafe for ShrEq

    §

    impl !Send for ShrEq

    §

    impl !Sync for ShrEq

    §

    impl Unpin for ShrEq

    §

    impl UnwindSafe for ShrEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 3]

    Trait Implementations§

    Source§

    impl Clone for ShrEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ShrEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ShrEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for ShrEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for ShrEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for ShrEq

    Source§

    fn eq(&self, _other: &ShrEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for ShrEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for ShrEq

    Source§

    impl Eq for ShrEq

    Source§

    impl Token for ShrEq

    Auto Trait Implementations§

    §

    impl Freeze for ShrEq

    §

    impl RefUnwindSafe for ShrEq

    §

    impl !Send for ShrEq

    §

    impl !Sync for ShrEq

    §

    impl Unpin for ShrEq

    §

    impl UnwindSafe for ShrEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Slash.html b/syn/token/struct.Slash.html index 2cf4010..aed0efd 100644 --- a/syn/token/struct.Slash.html +++ b/syn/token/struct.Slash.html @@ -1,26 +1,28 @@ -Slash in syn::token - Rust
    syn::token

    Struct Slash

    source
    pub struct Slash {
    -    pub spans: [Span; 1],
    +Slash in syn::token - Rust
    syn::token

    Struct Slash

    Source
    pub struct Slash {
    +    pub spans: [Span; 1],
     }
    Expand description

    /

    Usage: division.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Slash

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Slash

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Slash

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Slash

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Slash

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Slash

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Slash

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Slash

    source§

    fn eq(&self, _other: &Slash) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Slash

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Slash

    source§

    impl Eq for Slash

    source§

    impl Token for Slash

    Auto Trait Implementations§

    §

    impl Freeze for Slash

    §

    impl RefUnwindSafe for Slash

    §

    impl !Send for Slash

    §

    impl !Sync for Slash

    §

    impl Unpin for Slash

    §

    impl UnwindSafe for Slash

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Slash

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Slash

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Slash

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Slash

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Slash

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Slash

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Slash

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Slash

    Source§

    fn eq(&self, _other: &Slash) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Slash

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Slash

    Source§

    impl Eq for Slash

    Source§

    impl Token for Slash

    Auto Trait Implementations§

    §

    impl Freeze for Slash

    §

    impl RefUnwindSafe for Slash

    §

    impl !Send for Slash

    §

    impl !Sync for Slash

    §

    impl Unpin for Slash

    §

    impl UnwindSafe for Slash

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.SlashEq.html b/syn/token/struct.SlashEq.html index 7fbb3e7..bf89585 100644 --- a/syn/token/struct.SlashEq.html +++ b/syn/token/struct.SlashEq.html @@ -1,26 +1,26 @@ -SlashEq in syn::token - Rust
    syn::token

    Struct SlashEq

    source
    pub struct SlashEq {
    -    pub spans: [Span; 2],
    +SlashEq in syn::token - Rust
    syn::token

    Struct SlashEq

    Source
    pub struct SlashEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    /=

    Usage: division assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for SlashEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SlashEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SlashEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for SlashEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for SlashEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for SlashEq

    source§

    fn eq(&self, _other: &SlashEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for SlashEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for SlashEq

    source§

    impl Eq for SlashEq

    source§

    impl Token for SlashEq

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for SlashEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for SlashEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for SlashEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for SlashEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for SlashEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for SlashEq

    Source§

    fn eq(&self, _other: &SlashEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for SlashEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for SlashEq

    Source§

    impl Eq for SlashEq

    Source§

    impl Token for SlashEq

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Star.html b/syn/token/struct.Star.html index b6d6c90..3d4e98e 100644 --- a/syn/token/struct.Star.html +++ b/syn/token/struct.Star.html @@ -1,26 +1,28 @@ -Star in syn::token - Rust
    syn::token

    Struct Star

    source
    pub struct Star {
    -    pub spans: [Span; 1],
    +Star in syn::token - Rust
    syn::token

    Struct Star

    Source
    pub struct Star {
    +    pub spans: [Span; 1],
     }
    Expand description

    *

    Usage: multiplication, dereference, raw pointers, macro Kleene matcher, use wildcards.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Star

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Star

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Star

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Star

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Star

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Star

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Star

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Star

    source§

    fn eq(&self, _other: &Star) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Star

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Star

    source§

    impl Eq for Star

    source§

    impl Token for Star

    Auto Trait Implementations§

    §

    impl Freeze for Star

    §

    impl RefUnwindSafe for Star

    §

    impl !Send for Star

    §

    impl !Sync for Star

    §

    impl Unpin for Star

    §

    impl UnwindSafe for Star

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Star

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Star

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Star

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Star

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Star

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Star

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Star

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Star

    Source§

    fn eq(&self, _other: &Star) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Star

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Star

    Source§

    impl Eq for Star

    Source§

    impl Token for Star

    Auto Trait Implementations§

    §

    impl Freeze for Star

    §

    impl RefUnwindSafe for Star

    §

    impl !Send for Star

    §

    impl !Sync for Star

    §

    impl Unpin for Star

    §

    impl UnwindSafe for Star

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.StarEq.html b/syn/token/struct.StarEq.html index 3081199..3f44fc8 100644 --- a/syn/token/struct.StarEq.html +++ b/syn/token/struct.StarEq.html @@ -1,26 +1,26 @@ -StarEq in syn::token - Rust
    syn::token

    Struct StarEq

    source
    pub struct StarEq {
    -    pub spans: [Span; 2],
    +StarEq in syn::token - Rust
    syn::token

    Struct StarEq

    Source
    pub struct StarEq {
    +    pub spans: [Span; 2],
     }
    Expand description

    *=

    Usage: multiplication assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    source§

    impl Clone for StarEq

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StarEq

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StarEq

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for StarEq

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for StarEq

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for StarEq

    source§

    fn eq(&self, _other: &StarEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for StarEq

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for StarEq

    source§

    impl Eq for StarEq

    source§

    impl Token for StarEq

    Auto Trait Implementations§

    §

    impl Freeze for StarEq

    §

    impl RefUnwindSafe for StarEq

    §

    impl !Send for StarEq

    §

    impl !Sync for StarEq

    §

    impl Unpin for StarEq

    §

    impl UnwindSafe for StarEq

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 2]

    Trait Implementations§

    Source§

    impl Clone for StarEq

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StarEq

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for StarEq

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for StarEq

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for StarEq

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for StarEq

    Source§

    fn eq(&self, _other: &StarEq) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for StarEq

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for StarEq

    Source§

    impl Eq for StarEq

    Source§

    impl Token for StarEq

    Auto Trait Implementations§

    §

    impl Freeze for StarEq

    §

    impl RefUnwindSafe for StarEq

    §

    impl !Send for StarEq

    §

    impl !Sync for StarEq

    §

    impl Unpin for StarEq

    §

    impl UnwindSafe for StarEq

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Static.html b/syn/token/struct.Static.html index 9f8aaa7..0a9c233 100644 --- a/syn/token/struct.Static.html +++ b/syn/token/struct.Static.html @@ -1,24 +1,24 @@ -Static in syn::token - Rust
    syn::token

    Struct Static

    source
    pub struct Static {
    +Static in syn::token - Rust
    syn::token

    Struct Static

    Source
    pub struct Static {
         pub span: Span,
     }
    Expand description

    static

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Static

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Static

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Static

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Static

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Static

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Static

    source§

    fn eq(&self, _other: &Static) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Static

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Static

    source§

    impl Eq for Static

    source§

    impl Token for Static

    Auto Trait Implementations§

    §

    impl Freeze for Static

    §

    impl RefUnwindSafe for Static

    §

    impl !Send for Static

    §

    impl !Sync for Static

    §

    impl Unpin for Static

    §

    impl UnwindSafe for Static

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Static

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Static

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Static

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Static

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Static

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Static

    Source§

    fn eq(&self, _other: &Static) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Static

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Static

    Source§

    impl Eq for Static

    Source§

    impl Token for Static

    Auto Trait Implementations§

    §

    impl Freeze for Static

    §

    impl RefUnwindSafe for Static

    §

    impl !Send for Static

    §

    impl !Sync for Static

    §

    impl Unpin for Static

    §

    impl UnwindSafe for Static

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Struct.html b/syn/token/struct.Struct.html index 8ffc984..a185dd0 100644 --- a/syn/token/struct.Struct.html +++ b/syn/token/struct.Struct.html @@ -1,24 +1,24 @@ -Struct in syn::token - Rust
    syn::token

    Struct Struct

    source
    pub struct Struct {
    +Struct in syn::token - Rust
    syn::token

    Struct Struct

    Source
    pub struct Struct {
         pub span: Span,
     }
    Expand description

    struct

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Struct

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Struct

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Struct

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Struct

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Struct

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Struct

    source§

    fn eq(&self, _other: &Struct) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Struct

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Struct

    source§

    impl Eq for Struct

    source§

    impl Token for Struct

    Auto Trait Implementations§

    §

    impl Freeze for Struct

    §

    impl RefUnwindSafe for Struct

    §

    impl !Send for Struct

    §

    impl !Sync for Struct

    §

    impl Unpin for Struct

    §

    impl UnwindSafe for Struct

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Struct

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Struct

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Struct

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Struct

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Struct

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Struct

    Source§

    fn eq(&self, _other: &Struct) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Struct

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Struct

    Source§

    impl Eq for Struct

    Source§

    impl Token for Struct

    Auto Trait Implementations§

    §

    impl Freeze for Struct

    §

    impl RefUnwindSafe for Struct

    §

    impl !Send for Struct

    §

    impl !Sync for Struct

    §

    impl Unpin for Struct

    §

    impl UnwindSafe for Struct

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Super.html b/syn/token/struct.Super.html index 9f0b46c..75f31b1 100644 --- a/syn/token/struct.Super.html +++ b/syn/token/struct.Super.html @@ -1,24 +1,24 @@ -Super in syn::token - Rust
    syn::token

    Struct Super

    source
    pub struct Super {
    +Super in syn::token - Rust
    syn::token

    Struct Super

    Source
    pub struct Super {
         pub span: Span,
     }
    Expand description

    super

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Super

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Super

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Super

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<Super> for Ident

    source§

    fn from(token: Super) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for Super

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Super

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Super

    source§

    fn eq(&self, _other: &Super) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Super

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Super

    source§

    impl Eq for Super

    source§

    impl Token for Super

    Auto Trait Implementations§

    §

    impl Freeze for Super

    §

    impl RefUnwindSafe for Super

    §

    impl !Send for Super

    §

    impl !Sync for Super

    §

    impl Unpin for Super

    §

    impl UnwindSafe for Super

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Super

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Super

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Super

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl From<Super> for Ident

    Source§

    fn from(token: Super) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for Super

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Super

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Super

    Source§

    fn eq(&self, _other: &Super) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Super

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Super

    Source§

    impl Eq for Super

    Source§

    impl Token for Super

    Auto Trait Implementations§

    §

    impl Freeze for Super

    §

    impl RefUnwindSafe for Super

    §

    impl !Send for Super

    §

    impl !Sync for Super

    §

    impl Unpin for Super

    §

    impl UnwindSafe for Super

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Tilde.html b/syn/token/struct.Tilde.html index 8ff3dcd..1a6342d 100644 --- a/syn/token/struct.Tilde.html +++ b/syn/token/struct.Tilde.html @@ -1,26 +1,28 @@ -Tilde in syn::token - Rust
    syn::token

    Struct Tilde

    source
    pub struct Tilde {
    -    pub spans: [Span; 1],
    +Tilde in syn::token - Rust
    syn::token

    Struct Tilde

    Source
    pub struct Tilde {
    +    pub spans: [Span; 1],
     }
    Expand description

    ~

    Usage: unused since before Rust 1.0.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Tilde

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Tilde

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Tilde

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Tilde

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Tilde

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Hash for Tilde

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Tilde

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Tilde

    source§

    fn eq(&self, _other: &Tilde) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Tilde

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Tilde

    source§

    impl Eq for Tilde

    source§

    impl Token for Tilde

    Auto Trait Implementations§

    §

    impl Freeze for Tilde

    §

    impl RefUnwindSafe for Tilde

    §

    impl !Send for Tilde

    §

    impl !Sync for Tilde

    §

    impl Unpin for Tilde

    §

    impl UnwindSafe for Tilde

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Tilde

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Tilde

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Tilde

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Tilde

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Tilde

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl Hash for Tilde

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Tilde

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Tilde

    Source§

    fn eq(&self, _other: &Tilde) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Tilde

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Tilde

    Source§

    impl Eq for Tilde

    Source§

    impl Token for Tilde

    Auto Trait Implementations§

    §

    impl Freeze for Tilde

    §

    impl RefUnwindSafe for Tilde

    §

    impl !Send for Tilde

    §

    impl !Sync for Tilde

    §

    impl Unpin for Tilde

    §

    impl UnwindSafe for Tilde

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Trait.html b/syn/token/struct.Trait.html index 172e828..15224e3 100644 --- a/syn/token/struct.Trait.html +++ b/syn/token/struct.Trait.html @@ -1,24 +1,24 @@ -Trait in syn::token - Rust
    syn::token

    Struct Trait

    source
    pub struct Trait {
    +Trait in syn::token - Rust
    syn::token

    Struct Trait

    Source
    pub struct Trait {
         pub span: Span,
     }
    Expand description

    trait

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Trait

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Trait

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Trait

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Trait

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Trait

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Trait

    source§

    fn eq(&self, _other: &Trait) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Trait

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Trait

    source§

    impl Eq for Trait

    source§

    impl Token for Trait

    Auto Trait Implementations§

    §

    impl Freeze for Trait

    §

    impl RefUnwindSafe for Trait

    §

    impl !Send for Trait

    §

    impl !Sync for Trait

    §

    impl Unpin for Trait

    §

    impl UnwindSafe for Trait

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Trait

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Trait

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Trait

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Trait

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Trait

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Trait

    Source§

    fn eq(&self, _other: &Trait) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Trait

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Trait

    Source§

    impl Eq for Trait

    Source§

    impl Token for Trait

    Auto Trait Implementations§

    §

    impl Freeze for Trait

    §

    impl RefUnwindSafe for Trait

    §

    impl !Send for Trait

    §

    impl !Sync for Trait

    §

    impl Unpin for Trait

    §

    impl UnwindSafe for Trait

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Try.html b/syn/token/struct.Try.html index ccef1a3..73092d7 100644 --- a/syn/token/struct.Try.html +++ b/syn/token/struct.Try.html @@ -1,24 +1,24 @@ -Try in syn::token - Rust
    syn::token

    Struct Try

    source
    pub struct Try {
    +Try in syn::token - Rust
    syn::token

    Struct Try

    Source
    pub struct Try {
         pub span: Span,
     }
    Expand description

    try

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Try

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Try

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Try

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Try

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Try

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Try

    source§

    fn eq(&self, _other: &Try) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Try

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Try

    source§

    impl Eq for Try

    source§

    impl Token for Try

    Auto Trait Implementations§

    §

    impl Freeze for Try

    §

    impl RefUnwindSafe for Try

    §

    impl !Send for Try

    §

    impl !Sync for Try

    §

    impl Unpin for Try

    §

    impl UnwindSafe for Try

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Try

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Try

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Try

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Try

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Try

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Try

    Source§

    fn eq(&self, _other: &Try) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Try

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Try

    Source§

    impl Eq for Try

    Source§

    impl Token for Try

    Auto Trait Implementations§

    §

    impl Freeze for Try

    §

    impl RefUnwindSafe for Try

    §

    impl !Send for Try

    §

    impl !Sync for Try

    §

    impl Unpin for Try

    §

    impl UnwindSafe for Try

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Type.html b/syn/token/struct.Type.html index 1e94f94..9b441f5 100644 --- a/syn/token/struct.Type.html +++ b/syn/token/struct.Type.html @@ -1,24 +1,24 @@ -Type in syn::token - Rust
    syn::token

    Struct Type

    source
    pub struct Type {
    +Type in syn::token - Rust
    syn::token

    Struct Type

    Source
    pub struct Type {
         pub span: Span,
     }
    Expand description

    type

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Type

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Type

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Type

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Type

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Type

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Type

    source§

    fn eq(&self, _other: &Type) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Type

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Type

    source§

    impl Eq for Type

    source§

    impl Token for Type

    Auto Trait Implementations§

    §

    impl Freeze for Type

    §

    impl RefUnwindSafe for Type

    §

    impl !Send for Type

    §

    impl !Sync for Type

    §

    impl Unpin for Type

    §

    impl UnwindSafe for Type

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Type

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Type

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Type

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Type

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Type

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Type

    Source§

    fn eq(&self, _other: &Type) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Type

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Type

    Source§

    impl Eq for Type

    Source§

    impl Token for Type

    Auto Trait Implementations§

    §

    impl Freeze for Type

    §

    impl RefUnwindSafe for Type

    §

    impl !Send for Type

    §

    impl !Sync for Type

    §

    impl Unpin for Type

    §

    impl UnwindSafe for Type

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Typeof.html b/syn/token/struct.Typeof.html index 4f05701..2fa96fb 100644 --- a/syn/token/struct.Typeof.html +++ b/syn/token/struct.Typeof.html @@ -1,24 +1,24 @@ -Typeof in syn::token - Rust
    syn::token

    Struct Typeof

    source
    pub struct Typeof {
    +Typeof in syn::token - Rust
    syn::token

    Struct Typeof

    Source
    pub struct Typeof {
         pub span: Span,
     }
    Expand description

    typeof

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Typeof

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Typeof

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Typeof

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Typeof

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Typeof

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Typeof

    source§

    fn eq(&self, _other: &Typeof) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Typeof

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Typeof

    source§

    impl Eq for Typeof

    source§

    impl Token for Typeof

    Auto Trait Implementations§

    §

    impl Freeze for Typeof

    §

    impl RefUnwindSafe for Typeof

    §

    impl !Send for Typeof

    §

    impl !Sync for Typeof

    §

    impl Unpin for Typeof

    §

    impl UnwindSafe for Typeof

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Typeof

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Typeof

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Typeof

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Typeof

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Typeof

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Typeof

    Source§

    fn eq(&self, _other: &Typeof) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Typeof

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Typeof

    Source§

    impl Eq for Typeof

    Source§

    impl Token for Typeof

    Auto Trait Implementations§

    §

    impl Freeze for Typeof

    §

    impl RefUnwindSafe for Typeof

    §

    impl !Send for Typeof

    §

    impl !Sync for Typeof

    §

    impl Unpin for Typeof

    §

    impl UnwindSafe for Typeof

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Underscore.html b/syn/token/struct.Underscore.html index f4e1238..715e42f 100644 --- a/syn/token/struct.Underscore.html +++ b/syn/token/struct.Underscore.html @@ -1,26 +1,28 @@ -Underscore in syn::token - Rust
    syn::token

    Struct Underscore

    source
    pub struct Underscore {
    -    pub spans: [Span; 1],
    +Underscore in syn::token - Rust
    syn::token

    Struct Underscore

    Source
    pub struct Underscore {
    +    pub spans: [Span; 1],
     }
    Expand description

    _

    Usage: wildcard patterns, inferred types, unnamed items in constants, extern crates, use declarations, and destructuring assignment.

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    source§

    impl Clone for Underscore

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Underscore

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Underscore

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Underscore

    source§

    type Target = WithSpan

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Underscore

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<Underscore> for Ident

    source§

    fn from(token: Underscore) -> Ident

    Converts to this type from the input type.
    source§

    impl Hash for Underscore

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Underscore

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Underscore

    source§

    fn eq(&self, _other: &Underscore) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Underscore

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Underscore

    source§

    impl Eq for Underscore

    source§

    impl Token for Underscore

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §spans: [Span; 1]

    Trait Implementations§

    Source§

    impl Clone for Underscore

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Underscore

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Underscore

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Deref for Underscore

    Source§

    type Target = WithSpan

    The resulting type after dereferencing.
    Source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    Source§

    impl DerefMut for Underscore

    Source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    Source§

    impl From<Underscore> for Ident

    Source§

    fn from(token: Underscore) -> Ident

    Converts to this type from the input type.
    Source§

    impl Hash for Underscore

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Underscore

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Underscore

    Source§

    fn eq(&self, _other: &Underscore) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Underscore

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Underscore

    Source§

    impl Eq for Underscore

    Source§

    impl Token for Underscore

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<P, T> Receiver for P
    where + P: Deref<Target = T> + ?Sized, + T: ?Sized,

    Source§

    type Target = T

    🔬This is a nightly-only experimental API. (arbitrary_self_types)
    The target type on which the method may be called.
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Union.html b/syn/token/struct.Union.html index b4fad80..5ad7158 100644 --- a/syn/token/struct.Union.html +++ b/syn/token/struct.Union.html @@ -1,24 +1,24 @@ -Union in syn::token - Rust
    syn::token

    Struct Union

    source
    pub struct Union {
    +Union in syn::token - Rust
    syn::token

    Struct Union

    Source
    pub struct Union {
         pub span: Span,
     }
    Expand description

    union

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Union

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Union

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Union

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Union

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Union

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Union

    source§

    fn eq(&self, _other: &Union) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Union

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Union

    source§

    impl Eq for Union

    source§

    impl Token for Union

    Auto Trait Implementations§

    §

    impl Freeze for Union

    §

    impl RefUnwindSafe for Union

    §

    impl !Send for Union

    §

    impl !Sync for Union

    §

    impl Unpin for Union

    §

    impl UnwindSafe for Union

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Union

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Union

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Union

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Union

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Union

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Union

    Source§

    fn eq(&self, _other: &Union) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Union

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Union

    Source§

    impl Eq for Union

    Source§

    impl Token for Union

    Auto Trait Implementations§

    §

    impl Freeze for Union

    §

    impl RefUnwindSafe for Union

    §

    impl !Send for Union

    §

    impl !Sync for Union

    §

    impl Unpin for Union

    §

    impl UnwindSafe for Union

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Unsafe.html b/syn/token/struct.Unsafe.html index 0d1147c..f400bd9 100644 --- a/syn/token/struct.Unsafe.html +++ b/syn/token/struct.Unsafe.html @@ -1,24 +1,24 @@ -Unsafe in syn::token - Rust
    syn::token

    Struct Unsafe

    source
    pub struct Unsafe {
    +Unsafe in syn::token - Rust
    syn::token

    Struct Unsafe

    Source
    pub struct Unsafe {
         pub span: Span,
     }
    Expand description

    unsafe

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Unsafe

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Unsafe

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Unsafe

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Unsafe

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Unsafe

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Unsafe

    source§

    fn eq(&self, _other: &Unsafe) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Unsafe

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Unsafe

    source§

    impl Eq for Unsafe

    source§

    impl Token for Unsafe

    Auto Trait Implementations§

    §

    impl Freeze for Unsafe

    §

    impl RefUnwindSafe for Unsafe

    §

    impl !Send for Unsafe

    §

    impl !Sync for Unsafe

    §

    impl Unpin for Unsafe

    §

    impl UnwindSafe for Unsafe

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Unsafe

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Unsafe

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Unsafe

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Unsafe

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Unsafe

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Unsafe

    Source§

    fn eq(&self, _other: &Unsafe) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Unsafe

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Unsafe

    Source§

    impl Eq for Unsafe

    Source§

    impl Token for Unsafe

    Auto Trait Implementations§

    §

    impl Freeze for Unsafe

    §

    impl RefUnwindSafe for Unsafe

    §

    impl !Send for Unsafe

    §

    impl !Sync for Unsafe

    §

    impl Unpin for Unsafe

    §

    impl UnwindSafe for Unsafe

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Unsized.html b/syn/token/struct.Unsized.html index aa4fad3..eff769c 100644 --- a/syn/token/struct.Unsized.html +++ b/syn/token/struct.Unsized.html @@ -1,24 +1,24 @@ -Unsized in syn::token - Rust
    syn::token

    Struct Unsized

    source
    pub struct Unsized {
    +Unsized in syn::token - Rust
    syn::token

    Struct Unsized

    Source
    pub struct Unsized {
         pub span: Span,
     }
    Expand description

    unsized

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Unsized

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Unsized

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Unsized

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Unsized

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Unsized

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Unsized

    source§

    fn eq(&self, _other: &Unsized) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Unsized

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Unsized

    source§

    impl Eq for Unsized

    source§

    impl Token for Unsized

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Unsized

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Unsized

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Unsized

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Unsized

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Unsized

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Unsized

    Source§

    fn eq(&self, _other: &Unsized) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Unsized

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Unsized

    Source§

    impl Eq for Unsized

    Source§

    impl Token for Unsized

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Use.html b/syn/token/struct.Use.html index 32d602f..6266024 100644 --- a/syn/token/struct.Use.html +++ b/syn/token/struct.Use.html @@ -1,24 +1,24 @@ -Use in syn::token - Rust
    syn::token

    Struct Use

    source
    pub struct Use {
    +Use in syn::token - Rust
    syn::token

    Struct Use

    Source
    pub struct Use {
         pub span: Span,
     }
    Expand description

    use

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Use

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Use

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Use

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Use

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Use

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Use

    source§

    fn eq(&self, _other: &Use) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Use

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Use

    source§

    impl Eq for Use

    source§

    impl Token for Use

    Auto Trait Implementations§

    §

    impl Freeze for Use

    §

    impl RefUnwindSafe for Use

    §

    impl !Send for Use

    §

    impl !Sync for Use

    §

    impl Unpin for Use

    §

    impl UnwindSafe for Use

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Use

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Use

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Use

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Use

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Use

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Use

    Source§

    fn eq(&self, _other: &Use) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Use

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Use

    Source§

    impl Eq for Use

    Source§

    impl Token for Use

    Auto Trait Implementations§

    §

    impl Freeze for Use

    §

    impl RefUnwindSafe for Use

    §

    impl !Send for Use

    §

    impl !Sync for Use

    §

    impl Unpin for Use

    §

    impl UnwindSafe for Use

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Virtual.html b/syn/token/struct.Virtual.html index 299f537..20aebde 100644 --- a/syn/token/struct.Virtual.html +++ b/syn/token/struct.Virtual.html @@ -1,24 +1,24 @@ -Virtual in syn::token - Rust
    syn::token

    Struct Virtual

    source
    pub struct Virtual {
    +Virtual in syn::token - Rust
    syn::token

    Struct Virtual

    Source
    pub struct Virtual {
         pub span: Span,
     }
    Expand description

    virtual

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Virtual

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Virtual

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Virtual

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Virtual

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Virtual

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Virtual

    source§

    fn eq(&self, _other: &Virtual) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Virtual

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Virtual

    source§

    impl Eq for Virtual

    source§

    impl Token for Virtual

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Virtual

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Virtual

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Virtual

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Virtual

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Virtual

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Virtual

    Source§

    fn eq(&self, _other: &Virtual) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Virtual

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Virtual

    Source§

    impl Eq for Virtual

    Source§

    impl Token for Virtual

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Where.html b/syn/token/struct.Where.html index bbd1921..fddf3b7 100644 --- a/syn/token/struct.Where.html +++ b/syn/token/struct.Where.html @@ -1,24 +1,24 @@ -Where in syn::token - Rust
    syn::token

    Struct Where

    source
    pub struct Where {
    +Where in syn::token - Rust
    syn::token

    Struct Where

    Source
    pub struct Where {
         pub span: Span,
     }
    Expand description

    where

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Where

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Where

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Where

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Where

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Where

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Where

    source§

    fn eq(&self, _other: &Where) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Where

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Where

    source§

    impl Eq for Where

    source§

    impl Token for Where

    Auto Trait Implementations§

    §

    impl Freeze for Where

    §

    impl RefUnwindSafe for Where

    §

    impl !Send for Where

    §

    impl !Sync for Where

    §

    impl Unpin for Where

    §

    impl UnwindSafe for Where

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Where

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Where

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Where

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Where

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Where

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Where

    Source§

    fn eq(&self, _other: &Where) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Where

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Where

    Source§

    impl Eq for Where

    Source§

    impl Token for Where

    Auto Trait Implementations§

    §

    impl Freeze for Where

    §

    impl RefUnwindSafe for Where

    §

    impl !Send for Where

    §

    impl !Sync for Where

    §

    impl Unpin for Where

    §

    impl UnwindSafe for Where

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.While.html b/syn/token/struct.While.html index 6d2236c..045dea8 100644 --- a/syn/token/struct.While.html +++ b/syn/token/struct.While.html @@ -1,24 +1,24 @@ -While in syn::token - Rust
    syn::token

    Struct While

    source
    pub struct While {
    +While in syn::token - Rust
    syn::token

    Struct While

    Source
    pub struct While {
         pub span: Span,
     }
    Expand description

    while

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for While

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for While

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for While

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for While

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for While

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for While

    source§

    fn eq(&self, _other: &While) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for While

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for While

    source§

    impl Eq for While

    source§

    impl Token for While

    Auto Trait Implementations§

    §

    impl Freeze for While

    §

    impl RefUnwindSafe for While

    §

    impl !Send for While

    §

    impl !Sync for While

    §

    impl Unpin for While

    §

    impl UnwindSafe for While

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for While

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for While

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for While

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for While

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for While

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for While

    Source§

    fn eq(&self, _other: &While) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for While

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for While

    Source§

    impl Eq for While

    Source§

    impl Token for While

    Auto Trait Implementations§

    §

    impl Freeze for While

    §

    impl RefUnwindSafe for While

    §

    impl !Send for While

    §

    impl !Sync for While

    §

    impl Unpin for While

    §

    impl UnwindSafe for While

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/struct.Yield.html b/syn/token/struct.Yield.html index 7c5b32a..873e63c 100644 --- a/syn/token/struct.Yield.html +++ b/syn/token/struct.Yield.html @@ -1,24 +1,24 @@ -Yield in syn::token - Rust
    syn::token

    Struct Yield

    source
    pub struct Yield {
    +Yield in syn::token - Rust
    syn::token

    Struct Yield

    Source
    pub struct Yield {
         pub span: Span,
     }
    Expand description

    yield

    Don’t try to remember the name of this type — use the Token! macro instead.

    -

    Fields§

    §span: Span

    Trait Implementations§

    source§

    impl Clone for Yield

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Yield

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Yield

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Yield

    source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Parse for Yield

    source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    source§

    impl PartialEq for Yield

    source§

    fn eq(&self, _other: &Yield) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for Yield

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for Yield

    source§

    impl Eq for Yield

    source§

    impl Token for Yield

    Auto Trait Implementations§

    §

    impl Freeze for Yield

    §

    impl RefUnwindSafe for Yield

    §

    impl !Send for Yield

    §

    impl !Sync for Yield

    §

    impl Unpin for Yield

    §

    impl UnwindSafe for Yield

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §span: Span

    Trait Implementations§

    Source§

    impl Clone for Yield

    Source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Yield

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for Yield

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl Hash for Yield

    Source§

    fn hash<H: Hasher>(&self, _state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl Parse for Yield

    Source§

    fn parse(input: ParseStream<'_>) -> Result<Self>

    Source§

    impl PartialEq for Yield

    Source§

    fn eq(&self, _other: &Yield) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for Yield

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for Yield

    Source§

    impl Eq for Yield

    Source§

    impl Token for Yield

    Auto Trait Implementations§

    §

    impl Freeze for Yield

    §

    impl RefUnwindSafe for Yield

    §

    impl !Send for Yield

    §

    impl !Sync for Yield

    §

    impl Unpin for Yield

    §

    impl UnwindSafe for Yield

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/syn/token/trait.Token.html b/syn/token/trait.Token.html index 57a0319..a65ff1b 100644 --- a/syn/token/trait.Token.html +++ b/syn/token/trait.Token.html @@ -1,3 +1,3 @@ -Token in syn::token - Rust
    syn::token

    Trait Token

    source
    pub trait Token: Sealed { }
    Expand description

    Marker trait for types that represent single tokens.

    +Token in syn::token - Rust
    syn::token

    Trait Token

    Source
    pub trait Token: Sealed { }
    Expand description

    Marker trait for types that represent single tokens.

    This trait is sealed and cannot be implemented for types outside of Syn.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Token for TokenTree

    source§

    impl Token for Group

    source§

    impl Token for Literal

    source§

    impl Token for Punct

    Implementors§

    source§

    impl Token for Lit

    source§

    impl Token for Ident

    source§

    impl Token for Lifetime

    source§

    impl Token for LitBool

    source§

    impl Token for LitByte

    source§

    impl Token for LitByteStr

    source§

    impl Token for LitCStr

    source§

    impl Token for LitChar

    source§

    impl Token for LitFloat

    source§

    impl Token for LitInt

    source§

    impl Token for LitStr

    source§

    impl Token for Abstract

    source§

    impl Token for And

    source§

    impl Token for AndAnd

    source§

    impl Token for AndEq

    source§

    impl Token for As

    source§

    impl Token for Async

    source§

    impl Token for At

    source§

    impl Token for Auto

    source§

    impl Token for Await

    source§

    impl Token for Become

    source§

    impl Token for Box

    source§

    impl Token for Brace

    source§

    impl Token for Bracket

    source§

    impl Token for Break

    source§

    impl Token for Caret

    source§

    impl Token for CaretEq

    source§

    impl Token for Colon

    source§

    impl Token for Comma

    source§

    impl Token for Const

    source§

    impl Token for Continue

    source§

    impl Token for Crate

    source§

    impl Token for Default

    source§

    impl Token for Do

    source§

    impl Token for Dollar

    source§

    impl Token for Dot

    source§

    impl Token for DotDot

    source§

    impl Token for DotDotDot

    source§

    impl Token for DotDotEq

    source§

    impl Token for Dyn

    source§

    impl Token for Else

    source§

    impl Token for Enum

    source§

    impl Token for Eq

    source§

    impl Token for EqEq

    source§

    impl Token for Extern

    source§

    impl Token for FatArrow

    source§

    impl Token for Final

    source§

    impl Token for Fn

    source§

    impl Token for For

    source§

    impl Token for Ge

    source§

    impl Token for syn::token::Group

    source§

    impl Token for Gt

    source§

    impl Token for If

    source§

    impl Token for Impl

    source§

    impl Token for In

    source§

    impl Token for LArrow

    source§

    impl Token for Le

    source§

    impl Token for Let

    source§

    impl Token for Loop

    source§

    impl Token for Lt

    source§

    impl Token for Macro

    source§

    impl Token for Match

    source§

    impl Token for Minus

    source§

    impl Token for MinusEq

    source§

    impl Token for Mod

    source§

    impl Token for Move

    source§

    impl Token for Mut

    source§

    impl Token for Ne

    source§

    impl Token for Not

    source§

    impl Token for Or

    source§

    impl Token for OrEq

    source§

    impl Token for OrOr

    source§

    impl Token for Override

    source§

    impl Token for Paren

    source§

    impl Token for PathSep

    source§

    impl Token for Percent

    source§

    impl Token for PercentEq

    source§

    impl Token for Plus

    source§

    impl Token for PlusEq

    source§

    impl Token for Pound

    source§

    impl Token for Priv

    source§

    impl Token for Pub

    source§

    impl Token for Question

    source§

    impl Token for RArrow

    source§

    impl Token for Raw

    source§

    impl Token for Ref

    source§

    impl Token for Return

    source§

    impl Token for SelfType

    source§

    impl Token for SelfValue

    source§

    impl Token for Semi

    source§

    impl Token for Shl

    source§

    impl Token for ShlEq

    source§

    impl Token for Shr

    source§

    impl Token for ShrEq

    source§

    impl Token for Slash

    source§

    impl Token for SlashEq

    source§

    impl Token for Star

    source§

    impl Token for StarEq

    source§

    impl Token for Static

    source§

    impl Token for Struct

    source§

    impl Token for Super

    source§

    impl Token for Tilde

    source§

    impl Token for Trait

    source§

    impl Token for Try

    source§

    impl Token for Type

    source§

    impl Token for Typeof

    source§

    impl Token for Underscore

    source§

    impl Token for Union

    source§

    impl Token for Unsafe

    source§

    impl Token for Unsized

    source§

    impl Token for Use

    source§

    impl Token for Virtual

    source§

    impl Token for Where

    source§

    impl Token for While

    source§

    impl Token for Yield

    source§

    impl<T: CustomToken> Token for T

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    Source§

    impl Token for TokenTree

    Source§

    impl Token for Group

    Source§

    impl Token for Literal

    Source§

    impl Token for Punct

    Implementors§

    Source§

    impl Token for Lit

    Source§

    impl Token for Ident

    Source§

    impl Token for Lifetime

    Source§

    impl Token for LitBool

    Source§

    impl Token for LitByte

    Source§

    impl Token for LitByteStr

    Source§

    impl Token for LitCStr

    Source§

    impl Token for LitChar

    Source§

    impl Token for LitFloat

    Source§

    impl Token for LitInt

    Source§

    impl Token for LitStr

    Source§

    impl Token for Abstract

    Source§

    impl Token for And

    Source§

    impl Token for AndAnd

    Source§

    impl Token for AndEq

    Source§

    impl Token for As

    Source§

    impl Token for Async

    Source§

    impl Token for At

    Source§

    impl Token for Auto

    Source§

    impl Token for Await

    Source§

    impl Token for Become

    Source§

    impl Token for Box

    Source§

    impl Token for Brace

    Source§

    impl Token for Bracket

    Source§

    impl Token for Break

    Source§

    impl Token for Caret

    Source§

    impl Token for CaretEq

    Source§

    impl Token for Colon

    Source§

    impl Token for Comma

    Source§

    impl Token for Const

    Source§

    impl Token for Continue

    Source§

    impl Token for Crate

    Source§

    impl Token for Default

    Source§

    impl Token for Do

    Source§

    impl Token for Dollar

    Source§

    impl Token for Dot

    Source§

    impl Token for DotDot

    Source§

    impl Token for DotDotDot

    Source§

    impl Token for DotDotEq

    Source§

    impl Token for Dyn

    Source§

    impl Token for Else

    Source§

    impl Token for Enum

    Source§

    impl Token for Eq

    Source§

    impl Token for EqEq

    Source§

    impl Token for Extern

    Source§

    impl Token for FatArrow

    Source§

    impl Token for Final

    Source§

    impl Token for Fn

    Source§

    impl Token for For

    Source§

    impl Token for Ge

    Source§

    impl Token for syn::token::Group

    Source§

    impl Token for Gt

    Source§

    impl Token for If

    Source§

    impl Token for Impl

    Source§

    impl Token for In

    Source§

    impl Token for LArrow

    Source§

    impl Token for Le

    Source§

    impl Token for Let

    Source§

    impl Token for Loop

    Source§

    impl Token for Lt

    Source§

    impl Token for Macro

    Source§

    impl Token for Match

    Source§

    impl Token for Minus

    Source§

    impl Token for MinusEq

    Source§

    impl Token for Mod

    Source§

    impl Token for Move

    Source§

    impl Token for Mut

    Source§

    impl Token for Ne

    Source§

    impl Token for Not

    Source§

    impl Token for Or

    Source§

    impl Token for OrEq

    Source§

    impl Token for OrOr

    Source§

    impl Token for Override

    Source§

    impl Token for Paren

    Source§

    impl Token for PathSep

    Source§

    impl Token for Percent

    Source§

    impl Token for PercentEq

    Source§

    impl Token for Plus

    Source§

    impl Token for PlusEq

    Source§

    impl Token for Pound

    Source§

    impl Token for Priv

    Source§

    impl Token for Pub

    Source§

    impl Token for Question

    Source§

    impl Token for RArrow

    Source§

    impl Token for Raw

    Source§

    impl Token for Ref

    Source§

    impl Token for Return

    Source§

    impl Token for SelfType

    Source§

    impl Token for SelfValue

    Source§

    impl Token for Semi

    Source§

    impl Token for Shl

    Source§

    impl Token for ShlEq

    Source§

    impl Token for Shr

    Source§

    impl Token for ShrEq

    Source§

    impl Token for Slash

    Source§

    impl Token for SlashEq

    Source§

    impl Token for Star

    Source§

    impl Token for StarEq

    Source§

    impl Token for Static

    Source§

    impl Token for Struct

    Source§

    impl Token for Super

    Source§

    impl Token for Tilde

    Source§

    impl Token for Trait

    Source§

    impl Token for Try

    Source§

    impl Token for Type

    Source§

    impl Token for Typeof

    Source§

    impl Token for Underscore

    Source§

    impl Token for Union

    Source§

    impl Token for Unsafe

    Source§

    impl Token for Unsized

    Source§

    impl Token for Use

    Source§

    impl Token for Virtual

    Source§

    impl Token for Where

    Source§

    impl Token for While

    Source§

    impl Token for Yield

    Source§

    impl<T: CustomToken> Token for T

    \ No newline at end of file diff --git a/syn/type.Result.html b/syn/type.Result.html index 8523bf9..06ecc3f 100644 --- a/syn/type.Result.html +++ b/syn/type.Result.html @@ -1,4 +1,4 @@ -Result in syn - Rust
    syn

    Type Alias Result

    source
    pub type Result<T> = Result<T, Error>;
    Expand description

    The result of a Syn parser.

    +Result in syn - Rust
    syn

    Type Alias Result

    Source
    pub type Result<T> = Result<T, Error>;
    Expand description

    The result of a Syn parser.

    Aliased Type§

    enum Result<T> {
         Ok(T),
         Err(Error),
    diff --git a/syn/visit/fn.visit_abi.html b/syn/visit/fn.visit_abi.html
    index cee8f03..8277b30 100644
    --- a/syn/visit/fn.visit_abi.html
    +++ b/syn/visit/fn.visit_abi.html
    @@ -1,2 +1,2 @@
    -visit_abi in syn::visit - Rust
    syn::visit

    Function visit_abi

    source
    pub fn visit_abi<'ast, V>(v: &mut V, node: &'ast Abi)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_abi in syn::visit - Rust
    syn::visit

    Function visit_abi

    Source
    pub fn visit_abi<'ast, V>(v: &mut V, node: &'ast Abi)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_angle_bracketed_generic_arguments.html b/syn/visit/fn.visit_angle_bracketed_generic_arguments.html index 3c40c51..75e3fd7 100644 --- a/syn/visit/fn.visit_angle_bracketed_generic_arguments.html +++ b/syn/visit/fn.visit_angle_bracketed_generic_arguments.html @@ -1,5 +1,5 @@ -visit_angle_bracketed_generic_arguments in syn::visit - Rust
    syn::visit

    Function visit_angle_bracketed_generic_arguments

    source
    pub fn visit_angle_bracketed_generic_arguments<'ast, V>(
    -    v: &mut V,
    +visit_angle_bracketed_generic_arguments in syn::visit - Rust
    syn::visit

    Function visit_angle_bracketed_generic_arguments

    Source
    pub fn visit_angle_bracketed_generic_arguments<'ast, V>(
    +    v: &mut V,
         node: &'ast AngleBracketedGenericArguments,
     )
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_assoc_const.html b/syn/visit/fn.visit_assoc_const.html index 189dff1..dbfeb46 100644 --- a/syn/visit/fn.visit_assoc_const.html +++ b/syn/visit/fn.visit_assoc_const.html @@ -1,2 +1,2 @@ -visit_assoc_const in syn::visit - Rust
    syn::visit

    Function visit_assoc_const

    source
    pub fn visit_assoc_const<'ast, V>(v: &mut V, node: &'ast AssocConst)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_assoc_const in syn::visit - Rust
    syn::visit

    Function visit_assoc_const

    Source
    pub fn visit_assoc_const<'ast, V>(v: &mut V, node: &'ast AssocConst)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_assoc_type.html b/syn/visit/fn.visit_assoc_type.html index 9d474c6..6057ea2 100644 --- a/syn/visit/fn.visit_assoc_type.html +++ b/syn/visit/fn.visit_assoc_type.html @@ -1,2 +1,2 @@ -visit_assoc_type in syn::visit - Rust
    syn::visit

    Function visit_assoc_type

    source
    pub fn visit_assoc_type<'ast, V>(v: &mut V, node: &'ast AssocType)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_assoc_type in syn::visit - Rust
    syn::visit

    Function visit_assoc_type

    Source
    pub fn visit_assoc_type<'ast, V>(v: &mut V, node: &'ast AssocType)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_attr_style.html b/syn/visit/fn.visit_attr_style.html index b67a21b..9d84213 100644 --- a/syn/visit/fn.visit_attr_style.html +++ b/syn/visit/fn.visit_attr_style.html @@ -1,2 +1,2 @@ -visit_attr_style in syn::visit - Rust
    syn::visit

    Function visit_attr_style

    source
    pub fn visit_attr_style<'ast, V>(v: &mut V, node: &'ast AttrStyle)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_attr_style in syn::visit - Rust
    syn::visit

    Function visit_attr_style

    Source
    pub fn visit_attr_style<'ast, V>(v: &mut V, node: &'ast AttrStyle)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_attribute.html b/syn/visit/fn.visit_attribute.html index b4af2a4..30b9bbd 100644 --- a/syn/visit/fn.visit_attribute.html +++ b/syn/visit/fn.visit_attribute.html @@ -1,2 +1,2 @@ -visit_attribute in syn::visit - Rust
    syn::visit

    Function visit_attribute

    source
    pub fn visit_attribute<'ast, V>(v: &mut V, node: &'ast Attribute)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_attribute in syn::visit - Rust
    syn::visit

    Function visit_attribute

    Source
    pub fn visit_attribute<'ast, V>(v: &mut V, node: &'ast Attribute)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_bare_fn_arg.html b/syn/visit/fn.visit_bare_fn_arg.html index adba1c3..d5f45fd 100644 --- a/syn/visit/fn.visit_bare_fn_arg.html +++ b/syn/visit/fn.visit_bare_fn_arg.html @@ -1,2 +1,2 @@ -visit_bare_fn_arg in syn::visit - Rust
    syn::visit

    Function visit_bare_fn_arg

    source
    pub fn visit_bare_fn_arg<'ast, V>(v: &mut V, node: &'ast BareFnArg)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_bare_fn_arg in syn::visit - Rust
    syn::visit

    Function visit_bare_fn_arg

    Source
    pub fn visit_bare_fn_arg<'ast, V>(v: &mut V, node: &'ast BareFnArg)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_bare_variadic.html b/syn/visit/fn.visit_bare_variadic.html index e6df056..a58f4c1 100644 --- a/syn/visit/fn.visit_bare_variadic.html +++ b/syn/visit/fn.visit_bare_variadic.html @@ -1,2 +1,2 @@ -visit_bare_variadic in syn::visit - Rust
    syn::visit

    Function visit_bare_variadic

    source
    pub fn visit_bare_variadic<'ast, V>(v: &mut V, node: &'ast BareVariadic)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_bare_variadic in syn::visit - Rust
    syn::visit

    Function visit_bare_variadic

    Source
    pub fn visit_bare_variadic<'ast, V>(v: &mut V, node: &'ast BareVariadic)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_bin_op.html b/syn/visit/fn.visit_bin_op.html index 441fbda..4fadae1 100644 --- a/syn/visit/fn.visit_bin_op.html +++ b/syn/visit/fn.visit_bin_op.html @@ -1,2 +1,2 @@ -visit_bin_op in syn::visit - Rust
    syn::visit

    Function visit_bin_op

    source
    pub fn visit_bin_op<'ast, V>(v: &mut V, node: &'ast BinOp)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_bin_op in syn::visit - Rust
    syn::visit

    Function visit_bin_op

    Source
    pub fn visit_bin_op<'ast, V>(v: &mut V, node: &'ast BinOp)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_bound_lifetimes.html b/syn/visit/fn.visit_bound_lifetimes.html index 24df8ec..c73e81d 100644 --- a/syn/visit/fn.visit_bound_lifetimes.html +++ b/syn/visit/fn.visit_bound_lifetimes.html @@ -1,2 +1,2 @@ -visit_bound_lifetimes in syn::visit - Rust
    syn::visit

    Function visit_bound_lifetimes

    source
    pub fn visit_bound_lifetimes<'ast, V>(v: &mut V, node: &'ast BoundLifetimes)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_bound_lifetimes in syn::visit - Rust
    syn::visit

    Function visit_bound_lifetimes

    Source
    pub fn visit_bound_lifetimes<'ast, V>(v: &mut V, node: &'ast BoundLifetimes)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_const_param.html b/syn/visit/fn.visit_const_param.html index e4cdc06..89b18a5 100644 --- a/syn/visit/fn.visit_const_param.html +++ b/syn/visit/fn.visit_const_param.html @@ -1,2 +1,2 @@ -visit_const_param in syn::visit - Rust
    syn::visit

    Function visit_const_param

    source
    pub fn visit_const_param<'ast, V>(v: &mut V, node: &'ast ConstParam)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_const_param in syn::visit - Rust
    syn::visit

    Function visit_const_param

    Source
    pub fn visit_const_param<'ast, V>(v: &mut V, node: &'ast ConstParam)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_constraint.html b/syn/visit/fn.visit_constraint.html index e5591aa..9671e9d 100644 --- a/syn/visit/fn.visit_constraint.html +++ b/syn/visit/fn.visit_constraint.html @@ -1,2 +1,2 @@ -visit_constraint in syn::visit - Rust
    syn::visit

    Function visit_constraint

    source
    pub fn visit_constraint<'ast, V>(v: &mut V, node: &'ast Constraint)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_constraint in syn::visit - Rust
    syn::visit

    Function visit_constraint

    Source
    pub fn visit_constraint<'ast, V>(v: &mut V, node: &'ast Constraint)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_data.html b/syn/visit/fn.visit_data.html index e133990..2f56a93 100644 --- a/syn/visit/fn.visit_data.html +++ b/syn/visit/fn.visit_data.html @@ -1,2 +1,2 @@ -visit_data in syn::visit - Rust
    syn::visit

    Function visit_data

    source
    pub fn visit_data<'ast, V>(v: &mut V, node: &'ast Data)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_data in syn::visit - Rust
    syn::visit

    Function visit_data

    Source
    pub fn visit_data<'ast, V>(v: &mut V, node: &'ast Data)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_data_enum.html b/syn/visit/fn.visit_data_enum.html index 81eb664..0cd4832 100644 --- a/syn/visit/fn.visit_data_enum.html +++ b/syn/visit/fn.visit_data_enum.html @@ -1,2 +1,2 @@ -visit_data_enum in syn::visit - Rust
    syn::visit

    Function visit_data_enum

    source
    pub fn visit_data_enum<'ast, V>(v: &mut V, node: &'ast DataEnum)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_data_enum in syn::visit - Rust
    syn::visit

    Function visit_data_enum

    Source
    pub fn visit_data_enum<'ast, V>(v: &mut V, node: &'ast DataEnum)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_data_struct.html b/syn/visit/fn.visit_data_struct.html index 8ecdc58..db74fa7 100644 --- a/syn/visit/fn.visit_data_struct.html +++ b/syn/visit/fn.visit_data_struct.html @@ -1,2 +1,2 @@ -visit_data_struct in syn::visit - Rust
    syn::visit

    Function visit_data_struct

    source
    pub fn visit_data_struct<'ast, V>(v: &mut V, node: &'ast DataStruct)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_data_struct in syn::visit - Rust
    syn::visit

    Function visit_data_struct

    Source
    pub fn visit_data_struct<'ast, V>(v: &mut V, node: &'ast DataStruct)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_data_union.html b/syn/visit/fn.visit_data_union.html index 2599c9c..40d8b1b 100644 --- a/syn/visit/fn.visit_data_union.html +++ b/syn/visit/fn.visit_data_union.html @@ -1,2 +1,2 @@ -visit_data_union in syn::visit - Rust
    syn::visit

    Function visit_data_union

    source
    pub fn visit_data_union<'ast, V>(v: &mut V, node: &'ast DataUnion)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_data_union in syn::visit - Rust
    syn::visit

    Function visit_data_union

    Source
    pub fn visit_data_union<'ast, V>(v: &mut V, node: &'ast DataUnion)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_derive_input.html b/syn/visit/fn.visit_derive_input.html index 5773862..45aeaa7 100644 --- a/syn/visit/fn.visit_derive_input.html +++ b/syn/visit/fn.visit_derive_input.html @@ -1,2 +1,2 @@ -visit_derive_input in syn::visit - Rust
    syn::visit

    Function visit_derive_input

    source
    pub fn visit_derive_input<'ast, V>(v: &mut V, node: &'ast DeriveInput)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_derive_input in syn::visit - Rust
    syn::visit

    Function visit_derive_input

    Source
    pub fn visit_derive_input<'ast, V>(v: &mut V, node: &'ast DeriveInput)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr.html b/syn/visit/fn.visit_expr.html index f8a6798..5642368 100644 --- a/syn/visit/fn.visit_expr.html +++ b/syn/visit/fn.visit_expr.html @@ -1,2 +1,2 @@ -visit_expr in syn::visit - Rust
    syn::visit

    Function visit_expr

    source
    pub fn visit_expr<'ast, V>(v: &mut V, node: &'ast Expr)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr in syn::visit - Rust
    syn::visit

    Function visit_expr

    Source
    pub fn visit_expr<'ast, V>(v: &mut V, node: &'ast Expr)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_binary.html b/syn/visit/fn.visit_expr_binary.html index 79ea9c2..331c563 100644 --- a/syn/visit/fn.visit_expr_binary.html +++ b/syn/visit/fn.visit_expr_binary.html @@ -1,2 +1,2 @@ -visit_expr_binary in syn::visit - Rust
    syn::visit

    Function visit_expr_binary

    source
    pub fn visit_expr_binary<'ast, V>(v: &mut V, node: &'ast ExprBinary)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_binary in syn::visit - Rust
    syn::visit

    Function visit_expr_binary

    Source
    pub fn visit_expr_binary<'ast, V>(v: &mut V, node: &'ast ExprBinary)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_call.html b/syn/visit/fn.visit_expr_call.html index 84245f5..04499e4 100644 --- a/syn/visit/fn.visit_expr_call.html +++ b/syn/visit/fn.visit_expr_call.html @@ -1,2 +1,2 @@ -visit_expr_call in syn::visit - Rust
    syn::visit

    Function visit_expr_call

    source
    pub fn visit_expr_call<'ast, V>(v: &mut V, node: &'ast ExprCall)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_call in syn::visit - Rust
    syn::visit

    Function visit_expr_call

    Source
    pub fn visit_expr_call<'ast, V>(v: &mut V, node: &'ast ExprCall)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_cast.html b/syn/visit/fn.visit_expr_cast.html index f754ad4..cc2f78b 100644 --- a/syn/visit/fn.visit_expr_cast.html +++ b/syn/visit/fn.visit_expr_cast.html @@ -1,2 +1,2 @@ -visit_expr_cast in syn::visit - Rust
    syn::visit

    Function visit_expr_cast

    source
    pub fn visit_expr_cast<'ast, V>(v: &mut V, node: &'ast ExprCast)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_cast in syn::visit - Rust
    syn::visit

    Function visit_expr_cast

    Source
    pub fn visit_expr_cast<'ast, V>(v: &mut V, node: &'ast ExprCast)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_field.html b/syn/visit/fn.visit_expr_field.html index 31a73ad..98687cf 100644 --- a/syn/visit/fn.visit_expr_field.html +++ b/syn/visit/fn.visit_expr_field.html @@ -1,2 +1,2 @@ -visit_expr_field in syn::visit - Rust
    syn::visit

    Function visit_expr_field

    source
    pub fn visit_expr_field<'ast, V>(v: &mut V, node: &'ast ExprField)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_field in syn::visit - Rust
    syn::visit

    Function visit_expr_field

    Source
    pub fn visit_expr_field<'ast, V>(v: &mut V, node: &'ast ExprField)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_group.html b/syn/visit/fn.visit_expr_group.html index 470de5f..8ffb53b 100644 --- a/syn/visit/fn.visit_expr_group.html +++ b/syn/visit/fn.visit_expr_group.html @@ -1,2 +1,2 @@ -visit_expr_group in syn::visit - Rust
    syn::visit

    Function visit_expr_group

    source
    pub fn visit_expr_group<'ast, V>(v: &mut V, node: &'ast ExprGroup)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_group in syn::visit - Rust
    syn::visit

    Function visit_expr_group

    Source
    pub fn visit_expr_group<'ast, V>(v: &mut V, node: &'ast ExprGroup)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_index.html b/syn/visit/fn.visit_expr_index.html index 1f6bc69..5fe3305 100644 --- a/syn/visit/fn.visit_expr_index.html +++ b/syn/visit/fn.visit_expr_index.html @@ -1,2 +1,2 @@ -visit_expr_index in syn::visit - Rust
    syn::visit

    Function visit_expr_index

    source
    pub fn visit_expr_index<'ast, V>(v: &mut V, node: &'ast ExprIndex)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_index in syn::visit - Rust
    syn::visit

    Function visit_expr_index

    Source
    pub fn visit_expr_index<'ast, V>(v: &mut V, node: &'ast ExprIndex)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_lit.html b/syn/visit/fn.visit_expr_lit.html index fe01288..f81d053 100644 --- a/syn/visit/fn.visit_expr_lit.html +++ b/syn/visit/fn.visit_expr_lit.html @@ -1,2 +1,2 @@ -visit_expr_lit in syn::visit - Rust
    syn::visit

    Function visit_expr_lit

    source
    pub fn visit_expr_lit<'ast, V>(v: &mut V, node: &'ast ExprLit)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_lit in syn::visit - Rust
    syn::visit

    Function visit_expr_lit

    Source
    pub fn visit_expr_lit<'ast, V>(v: &mut V, node: &'ast ExprLit)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_macro.html b/syn/visit/fn.visit_expr_macro.html index f17382c..7115ea9 100644 --- a/syn/visit/fn.visit_expr_macro.html +++ b/syn/visit/fn.visit_expr_macro.html @@ -1,2 +1,2 @@ -visit_expr_macro in syn::visit - Rust
    syn::visit

    Function visit_expr_macro

    source
    pub fn visit_expr_macro<'ast, V>(v: &mut V, node: &'ast ExprMacro)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_macro in syn::visit - Rust
    syn::visit

    Function visit_expr_macro

    Source
    pub fn visit_expr_macro<'ast, V>(v: &mut V, node: &'ast ExprMacro)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_method_call.html b/syn/visit/fn.visit_expr_method_call.html index b2163af..ddc09b0 100644 --- a/syn/visit/fn.visit_expr_method_call.html +++ b/syn/visit/fn.visit_expr_method_call.html @@ -1,2 +1,2 @@ -visit_expr_method_call in syn::visit - Rust
    syn::visit

    Function visit_expr_method_call

    source
    pub fn visit_expr_method_call<'ast, V>(v: &mut V, node: &'ast ExprMethodCall)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_method_call in syn::visit - Rust
    syn::visit

    Function visit_expr_method_call

    Source
    pub fn visit_expr_method_call<'ast, V>(v: &mut V, node: &'ast ExprMethodCall)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_paren.html b/syn/visit/fn.visit_expr_paren.html index 7aac1e1..36940b0 100644 --- a/syn/visit/fn.visit_expr_paren.html +++ b/syn/visit/fn.visit_expr_paren.html @@ -1,2 +1,2 @@ -visit_expr_paren in syn::visit - Rust
    syn::visit

    Function visit_expr_paren

    source
    pub fn visit_expr_paren<'ast, V>(v: &mut V, node: &'ast ExprParen)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_paren in syn::visit - Rust
    syn::visit

    Function visit_expr_paren

    Source
    pub fn visit_expr_paren<'ast, V>(v: &mut V, node: &'ast ExprParen)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_path.html b/syn/visit/fn.visit_expr_path.html index 6fc1752..46548e3 100644 --- a/syn/visit/fn.visit_expr_path.html +++ b/syn/visit/fn.visit_expr_path.html @@ -1,2 +1,2 @@ -visit_expr_path in syn::visit - Rust
    syn::visit

    Function visit_expr_path

    source
    pub fn visit_expr_path<'ast, V>(v: &mut V, node: &'ast ExprPath)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_path in syn::visit - Rust
    syn::visit

    Function visit_expr_path

    Source
    pub fn visit_expr_path<'ast, V>(v: &mut V, node: &'ast ExprPath)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_reference.html b/syn/visit/fn.visit_expr_reference.html index 8b20d37..7287b1b 100644 --- a/syn/visit/fn.visit_expr_reference.html +++ b/syn/visit/fn.visit_expr_reference.html @@ -1,2 +1,2 @@ -visit_expr_reference in syn::visit - Rust
    syn::visit

    Function visit_expr_reference

    source
    pub fn visit_expr_reference<'ast, V>(v: &mut V, node: &'ast ExprReference)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_reference in syn::visit - Rust
    syn::visit

    Function visit_expr_reference

    Source
    pub fn visit_expr_reference<'ast, V>(v: &mut V, node: &'ast ExprReference)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_struct.html b/syn/visit/fn.visit_expr_struct.html index c3099d3..f3b0e22 100644 --- a/syn/visit/fn.visit_expr_struct.html +++ b/syn/visit/fn.visit_expr_struct.html @@ -1,2 +1,2 @@ -visit_expr_struct in syn::visit - Rust
    syn::visit

    Function visit_expr_struct

    source
    pub fn visit_expr_struct<'ast, V>(v: &mut V, node: &'ast ExprStruct)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_struct in syn::visit - Rust
    syn::visit

    Function visit_expr_struct

    Source
    pub fn visit_expr_struct<'ast, V>(v: &mut V, node: &'ast ExprStruct)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_tuple.html b/syn/visit/fn.visit_expr_tuple.html index 6314c40..d4f38aa 100644 --- a/syn/visit/fn.visit_expr_tuple.html +++ b/syn/visit/fn.visit_expr_tuple.html @@ -1,2 +1,2 @@ -visit_expr_tuple in syn::visit - Rust
    syn::visit

    Function visit_expr_tuple

    source
    pub fn visit_expr_tuple<'ast, V>(v: &mut V, node: &'ast ExprTuple)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_tuple in syn::visit - Rust
    syn::visit

    Function visit_expr_tuple

    Source
    pub fn visit_expr_tuple<'ast, V>(v: &mut V, node: &'ast ExprTuple)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_expr_unary.html b/syn/visit/fn.visit_expr_unary.html index b9ef6dd..10db1d4 100644 --- a/syn/visit/fn.visit_expr_unary.html +++ b/syn/visit/fn.visit_expr_unary.html @@ -1,2 +1,2 @@ -visit_expr_unary in syn::visit - Rust
    syn::visit

    Function visit_expr_unary

    source
    pub fn visit_expr_unary<'ast, V>(v: &mut V, node: &'ast ExprUnary)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_expr_unary in syn::visit - Rust
    syn::visit

    Function visit_expr_unary

    Source
    pub fn visit_expr_unary<'ast, V>(v: &mut V, node: &'ast ExprUnary)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_field.html b/syn/visit/fn.visit_field.html index 14accb4..9a07c53 100644 --- a/syn/visit/fn.visit_field.html +++ b/syn/visit/fn.visit_field.html @@ -1,2 +1,2 @@ -visit_field in syn::visit - Rust
    syn::visit

    Function visit_field

    source
    pub fn visit_field<'ast, V>(v: &mut V, node: &'ast Field)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_field in syn::visit - Rust
    syn::visit

    Function visit_field

    Source
    pub fn visit_field<'ast, V>(v: &mut V, node: &'ast Field)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_field_mutability.html b/syn/visit/fn.visit_field_mutability.html index b44b698..d3635c0 100644 --- a/syn/visit/fn.visit_field_mutability.html +++ b/syn/visit/fn.visit_field_mutability.html @@ -1,2 +1,2 @@ -visit_field_mutability in syn::visit - Rust
    syn::visit

    Function visit_field_mutability

    source
    pub fn visit_field_mutability<'ast, V>(v: &mut V, node: &'ast FieldMutability)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_field_mutability in syn::visit - Rust
    syn::visit

    Function visit_field_mutability

    Source
    pub fn visit_field_mutability<'ast, V>(v: &mut V, node: &'ast FieldMutability)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_field_value.html b/syn/visit/fn.visit_field_value.html index cd8c473..55505e3 100644 --- a/syn/visit/fn.visit_field_value.html +++ b/syn/visit/fn.visit_field_value.html @@ -1,2 +1,2 @@ -visit_field_value in syn::visit - Rust
    syn::visit

    Function visit_field_value

    source
    pub fn visit_field_value<'ast, V>(v: &mut V, node: &'ast FieldValue)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_field_value in syn::visit - Rust
    syn::visit

    Function visit_field_value

    Source
    pub fn visit_field_value<'ast, V>(v: &mut V, node: &'ast FieldValue)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_fields.html b/syn/visit/fn.visit_fields.html index 9fe0cc6..3d58ff3 100644 --- a/syn/visit/fn.visit_fields.html +++ b/syn/visit/fn.visit_fields.html @@ -1,2 +1,2 @@ -visit_fields in syn::visit - Rust
    syn::visit

    Function visit_fields

    source
    pub fn visit_fields<'ast, V>(v: &mut V, node: &'ast Fields)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_fields in syn::visit - Rust
    syn::visit

    Function visit_fields

    Source
    pub fn visit_fields<'ast, V>(v: &mut V, node: &'ast Fields)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_fields_named.html b/syn/visit/fn.visit_fields_named.html index f0940df..8da2a28 100644 --- a/syn/visit/fn.visit_fields_named.html +++ b/syn/visit/fn.visit_fields_named.html @@ -1,2 +1,2 @@ -visit_fields_named in syn::visit - Rust
    syn::visit

    Function visit_fields_named

    source
    pub fn visit_fields_named<'ast, V>(v: &mut V, node: &'ast FieldsNamed)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_fields_named in syn::visit - Rust
    syn::visit

    Function visit_fields_named

    Source
    pub fn visit_fields_named<'ast, V>(v: &mut V, node: &'ast FieldsNamed)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_fields_unnamed.html b/syn/visit/fn.visit_fields_unnamed.html index 7837934..a2cb5e5 100644 --- a/syn/visit/fn.visit_fields_unnamed.html +++ b/syn/visit/fn.visit_fields_unnamed.html @@ -1,2 +1,2 @@ -visit_fields_unnamed in syn::visit - Rust
    syn::visit

    Function visit_fields_unnamed

    source
    pub fn visit_fields_unnamed<'ast, V>(v: &mut V, node: &'ast FieldsUnnamed)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_fields_unnamed in syn::visit - Rust
    syn::visit

    Function visit_fields_unnamed

    Source
    pub fn visit_fields_unnamed<'ast, V>(v: &mut V, node: &'ast FieldsUnnamed)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_generic_argument.html b/syn/visit/fn.visit_generic_argument.html index 7d05717..0f28ee3 100644 --- a/syn/visit/fn.visit_generic_argument.html +++ b/syn/visit/fn.visit_generic_argument.html @@ -1,2 +1,2 @@ -visit_generic_argument in syn::visit - Rust
    syn::visit

    Function visit_generic_argument

    source
    pub fn visit_generic_argument<'ast, V>(v: &mut V, node: &'ast GenericArgument)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_generic_argument in syn::visit - Rust
    syn::visit

    Function visit_generic_argument

    Source
    pub fn visit_generic_argument<'ast, V>(v: &mut V, node: &'ast GenericArgument)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_generic_param.html b/syn/visit/fn.visit_generic_param.html index 22829c0..653ad99 100644 --- a/syn/visit/fn.visit_generic_param.html +++ b/syn/visit/fn.visit_generic_param.html @@ -1,2 +1,2 @@ -visit_generic_param in syn::visit - Rust
    syn::visit

    Function visit_generic_param

    source
    pub fn visit_generic_param<'ast, V>(v: &mut V, node: &'ast GenericParam)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_generic_param in syn::visit - Rust
    syn::visit

    Function visit_generic_param

    Source
    pub fn visit_generic_param<'ast, V>(v: &mut V, node: &'ast GenericParam)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_generics.html b/syn/visit/fn.visit_generics.html index 0ee921c..ae35e3a 100644 --- a/syn/visit/fn.visit_generics.html +++ b/syn/visit/fn.visit_generics.html @@ -1,2 +1,2 @@ -visit_generics in syn::visit - Rust
    syn::visit

    Function visit_generics

    source
    pub fn visit_generics<'ast, V>(v: &mut V, node: &'ast Generics)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_generics in syn::visit - Rust
    syn::visit

    Function visit_generics

    Source
    pub fn visit_generics<'ast, V>(v: &mut V, node: &'ast Generics)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_ident.html b/syn/visit/fn.visit_ident.html index 31f9e8f..e26c09f 100644 --- a/syn/visit/fn.visit_ident.html +++ b/syn/visit/fn.visit_ident.html @@ -1,2 +1,2 @@ -visit_ident in syn::visit - Rust
    syn::visit

    Function visit_ident

    source
    pub fn visit_ident<'ast, V>(v: &mut V, node: &'ast Ident)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_ident in syn::visit - Rust
    syn::visit

    Function visit_ident

    Source
    pub fn visit_ident<'ast, V>(v: &mut V, node: &'ast Ident)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_index.html b/syn/visit/fn.visit_index.html index 848f8a3..fc65406 100644 --- a/syn/visit/fn.visit_index.html +++ b/syn/visit/fn.visit_index.html @@ -1,2 +1,2 @@ -visit_index in syn::visit - Rust
    syn::visit

    Function visit_index

    source
    pub fn visit_index<'ast, V>(v: &mut V, node: &'ast Index)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_index in syn::visit - Rust
    syn::visit

    Function visit_index

    Source
    pub fn visit_index<'ast, V>(v: &mut V, node: &'ast Index)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lifetime.html b/syn/visit/fn.visit_lifetime.html index cd1f700..7472204 100644 --- a/syn/visit/fn.visit_lifetime.html +++ b/syn/visit/fn.visit_lifetime.html @@ -1,2 +1,2 @@ -visit_lifetime in syn::visit - Rust
    syn::visit

    Function visit_lifetime

    source
    pub fn visit_lifetime<'ast, V>(v: &mut V, node: &'ast Lifetime)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lifetime in syn::visit - Rust
    syn::visit

    Function visit_lifetime

    Source
    pub fn visit_lifetime<'ast, V>(v: &mut V, node: &'ast Lifetime)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lifetime_param.html b/syn/visit/fn.visit_lifetime_param.html index c1c1f3e..eba4601 100644 --- a/syn/visit/fn.visit_lifetime_param.html +++ b/syn/visit/fn.visit_lifetime_param.html @@ -1,2 +1,2 @@ -visit_lifetime_param in syn::visit - Rust
    syn::visit

    Function visit_lifetime_param

    source
    pub fn visit_lifetime_param<'ast, V>(v: &mut V, node: &'ast LifetimeParam)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lifetime_param in syn::visit - Rust
    syn::visit

    Function visit_lifetime_param

    Source
    pub fn visit_lifetime_param<'ast, V>(v: &mut V, node: &'ast LifetimeParam)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit.html b/syn/visit/fn.visit_lit.html index 1f0d9c0..05aaf89 100644 --- a/syn/visit/fn.visit_lit.html +++ b/syn/visit/fn.visit_lit.html @@ -1,2 +1,2 @@ -visit_lit in syn::visit - Rust
    syn::visit

    Function visit_lit

    source
    pub fn visit_lit<'ast, V>(v: &mut V, node: &'ast Lit)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit in syn::visit - Rust
    syn::visit

    Function visit_lit

    Source
    pub fn visit_lit<'ast, V>(v: &mut V, node: &'ast Lit)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_bool.html b/syn/visit/fn.visit_lit_bool.html index bef614a..1982d34 100644 --- a/syn/visit/fn.visit_lit_bool.html +++ b/syn/visit/fn.visit_lit_bool.html @@ -1,2 +1,2 @@ -visit_lit_bool in syn::visit - Rust
    syn::visit

    Function visit_lit_bool

    source
    pub fn visit_lit_bool<'ast, V>(v: &mut V, node: &'ast LitBool)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_bool in syn::visit - Rust
    syn::visit

    Function visit_lit_bool

    Source
    pub fn visit_lit_bool<'ast, V>(v: &mut V, node: &'ast LitBool)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_byte.html b/syn/visit/fn.visit_lit_byte.html index e3d315a..9cdf0a3 100644 --- a/syn/visit/fn.visit_lit_byte.html +++ b/syn/visit/fn.visit_lit_byte.html @@ -1,2 +1,2 @@ -visit_lit_byte in syn::visit - Rust
    syn::visit

    Function visit_lit_byte

    source
    pub fn visit_lit_byte<'ast, V>(v: &mut V, node: &'ast LitByte)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_byte in syn::visit - Rust
    syn::visit

    Function visit_lit_byte

    Source
    pub fn visit_lit_byte<'ast, V>(v: &mut V, node: &'ast LitByte)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_byte_str.html b/syn/visit/fn.visit_lit_byte_str.html index fd6a732..7e08693 100644 --- a/syn/visit/fn.visit_lit_byte_str.html +++ b/syn/visit/fn.visit_lit_byte_str.html @@ -1,2 +1,2 @@ -visit_lit_byte_str in syn::visit - Rust
    syn::visit

    Function visit_lit_byte_str

    source
    pub fn visit_lit_byte_str<'ast, V>(v: &mut V, node: &'ast LitByteStr)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_byte_str in syn::visit - Rust
    syn::visit

    Function visit_lit_byte_str

    Source
    pub fn visit_lit_byte_str<'ast, V>(v: &mut V, node: &'ast LitByteStr)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_char.html b/syn/visit/fn.visit_lit_char.html index fdf9cc5..6e1a8e2 100644 --- a/syn/visit/fn.visit_lit_char.html +++ b/syn/visit/fn.visit_lit_char.html @@ -1,2 +1,2 @@ -visit_lit_char in syn::visit - Rust
    syn::visit

    Function visit_lit_char

    source
    pub fn visit_lit_char<'ast, V>(v: &mut V, node: &'ast LitChar)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_char in syn::visit - Rust
    syn::visit

    Function visit_lit_char

    Source
    pub fn visit_lit_char<'ast, V>(v: &mut V, node: &'ast LitChar)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_cstr.html b/syn/visit/fn.visit_lit_cstr.html index 96d9643..47894dc 100644 --- a/syn/visit/fn.visit_lit_cstr.html +++ b/syn/visit/fn.visit_lit_cstr.html @@ -1,2 +1,2 @@ -visit_lit_cstr in syn::visit - Rust
    syn::visit

    Function visit_lit_cstr

    source
    pub fn visit_lit_cstr<'ast, V>(v: &mut V, node: &'ast LitCStr)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_cstr in syn::visit - Rust
    syn::visit

    Function visit_lit_cstr

    Source
    pub fn visit_lit_cstr<'ast, V>(v: &mut V, node: &'ast LitCStr)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_float.html b/syn/visit/fn.visit_lit_float.html index 1907b94..897ba1f 100644 --- a/syn/visit/fn.visit_lit_float.html +++ b/syn/visit/fn.visit_lit_float.html @@ -1,2 +1,2 @@ -visit_lit_float in syn::visit - Rust
    syn::visit

    Function visit_lit_float

    source
    pub fn visit_lit_float<'ast, V>(v: &mut V, node: &'ast LitFloat)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_float in syn::visit - Rust
    syn::visit

    Function visit_lit_float

    Source
    pub fn visit_lit_float<'ast, V>(v: &mut V, node: &'ast LitFloat)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_int.html b/syn/visit/fn.visit_lit_int.html index 95a6411..9319102 100644 --- a/syn/visit/fn.visit_lit_int.html +++ b/syn/visit/fn.visit_lit_int.html @@ -1,2 +1,2 @@ -visit_lit_int in syn::visit - Rust
    syn::visit

    Function visit_lit_int

    source
    pub fn visit_lit_int<'ast, V>(v: &mut V, node: &'ast LitInt)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_int in syn::visit - Rust
    syn::visit

    Function visit_lit_int

    Source
    pub fn visit_lit_int<'ast, V>(v: &mut V, node: &'ast LitInt)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_lit_str.html b/syn/visit/fn.visit_lit_str.html index 80f1d75..dd8a015 100644 --- a/syn/visit/fn.visit_lit_str.html +++ b/syn/visit/fn.visit_lit_str.html @@ -1,2 +1,2 @@ -visit_lit_str in syn::visit - Rust
    syn::visit

    Function visit_lit_str

    source
    pub fn visit_lit_str<'ast, V>(v: &mut V, node: &'ast LitStr)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_lit_str in syn::visit - Rust
    syn::visit

    Function visit_lit_str

    Source
    pub fn visit_lit_str<'ast, V>(v: &mut V, node: &'ast LitStr)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_macro.html b/syn/visit/fn.visit_macro.html index 0c6584d..42896d5 100644 --- a/syn/visit/fn.visit_macro.html +++ b/syn/visit/fn.visit_macro.html @@ -1,2 +1,2 @@ -visit_macro in syn::visit - Rust
    syn::visit

    Function visit_macro

    source
    pub fn visit_macro<'ast, V>(v: &mut V, node: &'ast Macro)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_macro in syn::visit - Rust
    syn::visit

    Function visit_macro

    Source
    pub fn visit_macro<'ast, V>(v: &mut V, node: &'ast Macro)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_macro_delimiter.html b/syn/visit/fn.visit_macro_delimiter.html index 89fa0ba..918f97d 100644 --- a/syn/visit/fn.visit_macro_delimiter.html +++ b/syn/visit/fn.visit_macro_delimiter.html @@ -1,2 +1,2 @@ -visit_macro_delimiter in syn::visit - Rust
    syn::visit

    Function visit_macro_delimiter

    source
    pub fn visit_macro_delimiter<'ast, V>(v: &mut V, node: &'ast MacroDelimiter)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_macro_delimiter in syn::visit - Rust
    syn::visit

    Function visit_macro_delimiter

    Source
    pub fn visit_macro_delimiter<'ast, V>(v: &mut V, node: &'ast MacroDelimiter)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_member.html b/syn/visit/fn.visit_member.html index 02c4462..6bbf22b 100644 --- a/syn/visit/fn.visit_member.html +++ b/syn/visit/fn.visit_member.html @@ -1,2 +1,2 @@ -visit_member in syn::visit - Rust
    syn::visit

    Function visit_member

    source
    pub fn visit_member<'ast, V>(v: &mut V, node: &'ast Member)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_member in syn::visit - Rust
    syn::visit

    Function visit_member

    Source
    pub fn visit_member<'ast, V>(v: &mut V, node: &'ast Member)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_meta.html b/syn/visit/fn.visit_meta.html index 4d06dc9..0959381 100644 --- a/syn/visit/fn.visit_meta.html +++ b/syn/visit/fn.visit_meta.html @@ -1,2 +1,2 @@ -visit_meta in syn::visit - Rust
    syn::visit

    Function visit_meta

    source
    pub fn visit_meta<'ast, V>(v: &mut V, node: &'ast Meta)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_meta in syn::visit - Rust
    syn::visit

    Function visit_meta

    Source
    pub fn visit_meta<'ast, V>(v: &mut V, node: &'ast Meta)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_meta_list.html b/syn/visit/fn.visit_meta_list.html index dbb97e1..aeef3cc 100644 --- a/syn/visit/fn.visit_meta_list.html +++ b/syn/visit/fn.visit_meta_list.html @@ -1,2 +1,2 @@ -visit_meta_list in syn::visit - Rust
    syn::visit

    Function visit_meta_list

    source
    pub fn visit_meta_list<'ast, V>(v: &mut V, node: &'ast MetaList)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_meta_list in syn::visit - Rust
    syn::visit

    Function visit_meta_list

    Source
    pub fn visit_meta_list<'ast, V>(v: &mut V, node: &'ast MetaList)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_meta_name_value.html b/syn/visit/fn.visit_meta_name_value.html index cc9ee55..ab607ce 100644 --- a/syn/visit/fn.visit_meta_name_value.html +++ b/syn/visit/fn.visit_meta_name_value.html @@ -1,2 +1,2 @@ -visit_meta_name_value in syn::visit - Rust
    syn::visit

    Function visit_meta_name_value

    source
    pub fn visit_meta_name_value<'ast, V>(v: &mut V, node: &'ast MetaNameValue)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_meta_name_value in syn::visit - Rust
    syn::visit

    Function visit_meta_name_value

    Source
    pub fn visit_meta_name_value<'ast, V>(v: &mut V, node: &'ast MetaNameValue)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_parenthesized_generic_arguments.html b/syn/visit/fn.visit_parenthesized_generic_arguments.html index 7f5d944..bfddd83 100644 --- a/syn/visit/fn.visit_parenthesized_generic_arguments.html +++ b/syn/visit/fn.visit_parenthesized_generic_arguments.html @@ -1,5 +1,5 @@ -visit_parenthesized_generic_arguments in syn::visit - Rust
    syn::visit

    Function visit_parenthesized_generic_arguments

    source
    pub fn visit_parenthesized_generic_arguments<'ast, V>(
    -    v: &mut V,
    +visit_parenthesized_generic_arguments in syn::visit - Rust
    syn::visit

    Function visit_parenthesized_generic_arguments

    Source
    pub fn visit_parenthesized_generic_arguments<'ast, V>(
    +    v: &mut V,
         node: &'ast ParenthesizedGenericArguments,
     )
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_path.html b/syn/visit/fn.visit_path.html index 0b8be46..1a585a4 100644 --- a/syn/visit/fn.visit_path.html +++ b/syn/visit/fn.visit_path.html @@ -1,2 +1,2 @@ -visit_path in syn::visit - Rust
    syn::visit

    Function visit_path

    source
    pub fn visit_path<'ast, V>(v: &mut V, node: &'ast Path)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_path in syn::visit - Rust
    syn::visit

    Function visit_path

    Source
    pub fn visit_path<'ast, V>(v: &mut V, node: &'ast Path)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_path_arguments.html b/syn/visit/fn.visit_path_arguments.html index 0c75bdd..abd3533 100644 --- a/syn/visit/fn.visit_path_arguments.html +++ b/syn/visit/fn.visit_path_arguments.html @@ -1,2 +1,2 @@ -visit_path_arguments in syn::visit - Rust
    syn::visit

    Function visit_path_arguments

    source
    pub fn visit_path_arguments<'ast, V>(v: &mut V, node: &'ast PathArguments)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_path_arguments in syn::visit - Rust
    syn::visit

    Function visit_path_arguments

    Source
    pub fn visit_path_arguments<'ast, V>(v: &mut V, node: &'ast PathArguments)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_path_segment.html b/syn/visit/fn.visit_path_segment.html index 2ca1daa..97b7774 100644 --- a/syn/visit/fn.visit_path_segment.html +++ b/syn/visit/fn.visit_path_segment.html @@ -1,2 +1,2 @@ -visit_path_segment in syn::visit - Rust
    syn::visit

    Function visit_path_segment

    source
    pub fn visit_path_segment<'ast, V>(v: &mut V, node: &'ast PathSegment)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_path_segment in syn::visit - Rust
    syn::visit

    Function visit_path_segment

    Source
    pub fn visit_path_segment<'ast, V>(v: &mut V, node: &'ast PathSegment)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_predicate_lifetime.html b/syn/visit/fn.visit_predicate_lifetime.html index 9a6793a..a9f0619 100644 --- a/syn/visit/fn.visit_predicate_lifetime.html +++ b/syn/visit/fn.visit_predicate_lifetime.html @@ -1,5 +1,5 @@ -visit_predicate_lifetime in syn::visit - Rust
    syn::visit

    Function visit_predicate_lifetime

    source
    pub fn visit_predicate_lifetime<'ast, V>(
    -    v: &mut V,
    +visit_predicate_lifetime in syn::visit - Rust
    syn::visit

    Function visit_predicate_lifetime

    Source
    pub fn visit_predicate_lifetime<'ast, V>(
    +    v: &mut V,
         node: &'ast PredicateLifetime,
     )
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_predicate_type.html b/syn/visit/fn.visit_predicate_type.html index fea29ca..23f357e 100644 --- a/syn/visit/fn.visit_predicate_type.html +++ b/syn/visit/fn.visit_predicate_type.html @@ -1,2 +1,2 @@ -visit_predicate_type in syn::visit - Rust
    syn::visit

    Function visit_predicate_type

    source
    pub fn visit_predicate_type<'ast, V>(v: &mut V, node: &'ast PredicateType)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_predicate_type in syn::visit - Rust
    syn::visit

    Function visit_predicate_type

    Source
    pub fn visit_predicate_type<'ast, V>(v: &mut V, node: &'ast PredicateType)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_qself.html b/syn/visit/fn.visit_qself.html index 531823a..b18600f 100644 --- a/syn/visit/fn.visit_qself.html +++ b/syn/visit/fn.visit_qself.html @@ -1,2 +1,2 @@ -visit_qself in syn::visit - Rust
    syn::visit

    Function visit_qself

    source
    pub fn visit_qself<'ast, V>(v: &mut V, node: &'ast QSelf)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_qself in syn::visit - Rust
    syn::visit

    Function visit_qself

    Source
    pub fn visit_qself<'ast, V>(v: &mut V, node: &'ast QSelf)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_return_type.html b/syn/visit/fn.visit_return_type.html index a012c82..64f4587 100644 --- a/syn/visit/fn.visit_return_type.html +++ b/syn/visit/fn.visit_return_type.html @@ -1,2 +1,2 @@ -visit_return_type in syn::visit - Rust
    syn::visit

    Function visit_return_type

    source
    pub fn visit_return_type<'ast, V>(v: &mut V, node: &'ast ReturnType)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_return_type in syn::visit - Rust
    syn::visit

    Function visit_return_type

    Source
    pub fn visit_return_type<'ast, V>(v: &mut V, node: &'ast ReturnType)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_span.html b/syn/visit/fn.visit_span.html index e51a63f..144e182 100644 --- a/syn/visit/fn.visit_span.html +++ b/syn/visit/fn.visit_span.html @@ -1,2 +1,2 @@ -visit_span in syn::visit - Rust
    syn::visit

    Function visit_span

    source
    pub fn visit_span<'ast, V>(v: &mut V, node: &Span)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_span in syn::visit - Rust
    syn::visit

    Function visit_span

    Source
    pub fn visit_span<'ast, V>(v: &mut V, node: &Span)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_trait_bound.html b/syn/visit/fn.visit_trait_bound.html index 88e7cb8..7f9ef1c 100644 --- a/syn/visit/fn.visit_trait_bound.html +++ b/syn/visit/fn.visit_trait_bound.html @@ -1,2 +1,2 @@ -visit_trait_bound in syn::visit - Rust
    syn::visit

    Function visit_trait_bound

    source
    pub fn visit_trait_bound<'ast, V>(v: &mut V, node: &'ast TraitBound)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_trait_bound in syn::visit - Rust
    syn::visit

    Function visit_trait_bound

    Source
    pub fn visit_trait_bound<'ast, V>(v: &mut V, node: &'ast TraitBound)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_trait_bound_modifier.html b/syn/visit/fn.visit_trait_bound_modifier.html index 7370f51..db9ca50 100644 --- a/syn/visit/fn.visit_trait_bound_modifier.html +++ b/syn/visit/fn.visit_trait_bound_modifier.html @@ -1,5 +1,5 @@ -visit_trait_bound_modifier in syn::visit - Rust
    syn::visit

    Function visit_trait_bound_modifier

    source
    pub fn visit_trait_bound_modifier<'ast, V>(
    -    v: &mut V,
    +visit_trait_bound_modifier in syn::visit - Rust
    syn::visit

    Function visit_trait_bound_modifier

    Source
    pub fn visit_trait_bound_modifier<'ast, V>(
    +    v: &mut V,
         node: &'ast TraitBoundModifier,
     )
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type.html b/syn/visit/fn.visit_type.html index 413022a..aa42886 100644 --- a/syn/visit/fn.visit_type.html +++ b/syn/visit/fn.visit_type.html @@ -1,2 +1,2 @@ -visit_type in syn::visit - Rust
    syn::visit

    Function visit_type

    source
    pub fn visit_type<'ast, V>(v: &mut V, node: &'ast Type)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type in syn::visit - Rust
    syn::visit

    Function visit_type

    Source
    pub fn visit_type<'ast, V>(v: &mut V, node: &'ast Type)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_array.html b/syn/visit/fn.visit_type_array.html index 80903ec..cad6148 100644 --- a/syn/visit/fn.visit_type_array.html +++ b/syn/visit/fn.visit_type_array.html @@ -1,2 +1,2 @@ -visit_type_array in syn::visit - Rust
    syn::visit

    Function visit_type_array

    source
    pub fn visit_type_array<'ast, V>(v: &mut V, node: &'ast TypeArray)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_array in syn::visit - Rust
    syn::visit

    Function visit_type_array

    Source
    pub fn visit_type_array<'ast, V>(v: &mut V, node: &'ast TypeArray)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_bare_fn.html b/syn/visit/fn.visit_type_bare_fn.html index af0b55b..7ca2127 100644 --- a/syn/visit/fn.visit_type_bare_fn.html +++ b/syn/visit/fn.visit_type_bare_fn.html @@ -1,2 +1,2 @@ -visit_type_bare_fn in syn::visit - Rust
    syn::visit

    Function visit_type_bare_fn

    source
    pub fn visit_type_bare_fn<'ast, V>(v: &mut V, node: &'ast TypeBareFn)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_bare_fn in syn::visit - Rust
    syn::visit

    Function visit_type_bare_fn

    Source
    pub fn visit_type_bare_fn<'ast, V>(v: &mut V, node: &'ast TypeBareFn)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_group.html b/syn/visit/fn.visit_type_group.html index 28b2bb4..43ee69d 100644 --- a/syn/visit/fn.visit_type_group.html +++ b/syn/visit/fn.visit_type_group.html @@ -1,2 +1,2 @@ -visit_type_group in syn::visit - Rust
    syn::visit

    Function visit_type_group

    source
    pub fn visit_type_group<'ast, V>(v: &mut V, node: &'ast TypeGroup)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_group in syn::visit - Rust
    syn::visit

    Function visit_type_group

    Source
    pub fn visit_type_group<'ast, V>(v: &mut V, node: &'ast TypeGroup)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_impl_trait.html b/syn/visit/fn.visit_type_impl_trait.html index adb7d1c..2dfece3 100644 --- a/syn/visit/fn.visit_type_impl_trait.html +++ b/syn/visit/fn.visit_type_impl_trait.html @@ -1,2 +1,2 @@ -visit_type_impl_trait in syn::visit - Rust
    syn::visit

    Function visit_type_impl_trait

    source
    pub fn visit_type_impl_trait<'ast, V>(v: &mut V, node: &'ast TypeImplTrait)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_impl_trait in syn::visit - Rust
    syn::visit

    Function visit_type_impl_trait

    Source
    pub fn visit_type_impl_trait<'ast, V>(v: &mut V, node: &'ast TypeImplTrait)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_infer.html b/syn/visit/fn.visit_type_infer.html index e9cfee6..f1c945e 100644 --- a/syn/visit/fn.visit_type_infer.html +++ b/syn/visit/fn.visit_type_infer.html @@ -1,2 +1,2 @@ -visit_type_infer in syn::visit - Rust
    syn::visit

    Function visit_type_infer

    source
    pub fn visit_type_infer<'ast, V>(v: &mut V, node: &'ast TypeInfer)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_infer in syn::visit - Rust
    syn::visit

    Function visit_type_infer

    Source
    pub fn visit_type_infer<'ast, V>(v: &mut V, node: &'ast TypeInfer)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_macro.html b/syn/visit/fn.visit_type_macro.html index f25924f..a753eb6 100644 --- a/syn/visit/fn.visit_type_macro.html +++ b/syn/visit/fn.visit_type_macro.html @@ -1,2 +1,2 @@ -visit_type_macro in syn::visit - Rust
    syn::visit

    Function visit_type_macro

    source
    pub fn visit_type_macro<'ast, V>(v: &mut V, node: &'ast TypeMacro)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_macro in syn::visit - Rust
    syn::visit

    Function visit_type_macro

    Source
    pub fn visit_type_macro<'ast, V>(v: &mut V, node: &'ast TypeMacro)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_never.html b/syn/visit/fn.visit_type_never.html index 0760ba0..531e89a 100644 --- a/syn/visit/fn.visit_type_never.html +++ b/syn/visit/fn.visit_type_never.html @@ -1,2 +1,2 @@ -visit_type_never in syn::visit - Rust
    syn::visit

    Function visit_type_never

    source
    pub fn visit_type_never<'ast, V>(v: &mut V, node: &'ast TypeNever)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_never in syn::visit - Rust
    syn::visit

    Function visit_type_never

    Source
    pub fn visit_type_never<'ast, V>(v: &mut V, node: &'ast TypeNever)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_param.html b/syn/visit/fn.visit_type_param.html index 56bd912..9305a4e 100644 --- a/syn/visit/fn.visit_type_param.html +++ b/syn/visit/fn.visit_type_param.html @@ -1,2 +1,2 @@ -visit_type_param in syn::visit - Rust
    syn::visit

    Function visit_type_param

    source
    pub fn visit_type_param<'ast, V>(v: &mut V, node: &'ast TypeParam)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_param in syn::visit - Rust
    syn::visit

    Function visit_type_param

    Source
    pub fn visit_type_param<'ast, V>(v: &mut V, node: &'ast TypeParam)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_param_bound.html b/syn/visit/fn.visit_type_param_bound.html index 784e85f..9247841 100644 --- a/syn/visit/fn.visit_type_param_bound.html +++ b/syn/visit/fn.visit_type_param_bound.html @@ -1,2 +1,2 @@ -visit_type_param_bound in syn::visit - Rust
    syn::visit

    Function visit_type_param_bound

    source
    pub fn visit_type_param_bound<'ast, V>(v: &mut V, node: &'ast TypeParamBound)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_param_bound in syn::visit - Rust
    syn::visit

    Function visit_type_param_bound

    Source
    pub fn visit_type_param_bound<'ast, V>(v: &mut V, node: &'ast TypeParamBound)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_paren.html b/syn/visit/fn.visit_type_paren.html index 4259c36..dc1a3a9 100644 --- a/syn/visit/fn.visit_type_paren.html +++ b/syn/visit/fn.visit_type_paren.html @@ -1,2 +1,2 @@ -visit_type_paren in syn::visit - Rust
    syn::visit

    Function visit_type_paren

    source
    pub fn visit_type_paren<'ast, V>(v: &mut V, node: &'ast TypeParen)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_paren in syn::visit - Rust
    syn::visit

    Function visit_type_paren

    Source
    pub fn visit_type_paren<'ast, V>(v: &mut V, node: &'ast TypeParen)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_path.html b/syn/visit/fn.visit_type_path.html index 6c1d427..a870b90 100644 --- a/syn/visit/fn.visit_type_path.html +++ b/syn/visit/fn.visit_type_path.html @@ -1,2 +1,2 @@ -visit_type_path in syn::visit - Rust
    syn::visit

    Function visit_type_path

    source
    pub fn visit_type_path<'ast, V>(v: &mut V, node: &'ast TypePath)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_path in syn::visit - Rust
    syn::visit

    Function visit_type_path

    Source
    pub fn visit_type_path<'ast, V>(v: &mut V, node: &'ast TypePath)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_ptr.html b/syn/visit/fn.visit_type_ptr.html index 637e114..31ed6a0 100644 --- a/syn/visit/fn.visit_type_ptr.html +++ b/syn/visit/fn.visit_type_ptr.html @@ -1,2 +1,2 @@ -visit_type_ptr in syn::visit - Rust
    syn::visit

    Function visit_type_ptr

    source
    pub fn visit_type_ptr<'ast, V>(v: &mut V, node: &'ast TypePtr)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_ptr in syn::visit - Rust
    syn::visit

    Function visit_type_ptr

    Source
    pub fn visit_type_ptr<'ast, V>(v: &mut V, node: &'ast TypePtr)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_reference.html b/syn/visit/fn.visit_type_reference.html index b74ab86..cd5a9d3 100644 --- a/syn/visit/fn.visit_type_reference.html +++ b/syn/visit/fn.visit_type_reference.html @@ -1,2 +1,2 @@ -visit_type_reference in syn::visit - Rust
    syn::visit

    Function visit_type_reference

    source
    pub fn visit_type_reference<'ast, V>(v: &mut V, node: &'ast TypeReference)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_reference in syn::visit - Rust
    syn::visit

    Function visit_type_reference

    Source
    pub fn visit_type_reference<'ast, V>(v: &mut V, node: &'ast TypeReference)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_slice.html b/syn/visit/fn.visit_type_slice.html index 8ccb200..ea27ec4 100644 --- a/syn/visit/fn.visit_type_slice.html +++ b/syn/visit/fn.visit_type_slice.html @@ -1,2 +1,2 @@ -visit_type_slice in syn::visit - Rust
    syn::visit

    Function visit_type_slice

    source
    pub fn visit_type_slice<'ast, V>(v: &mut V, node: &'ast TypeSlice)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_slice in syn::visit - Rust
    syn::visit

    Function visit_type_slice

    Source
    pub fn visit_type_slice<'ast, V>(v: &mut V, node: &'ast TypeSlice)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_trait_object.html b/syn/visit/fn.visit_type_trait_object.html index 5af325a..e0c0c2f 100644 --- a/syn/visit/fn.visit_type_trait_object.html +++ b/syn/visit/fn.visit_type_trait_object.html @@ -1,2 +1,2 @@ -visit_type_trait_object in syn::visit - Rust
    syn::visit

    Function visit_type_trait_object

    source
    pub fn visit_type_trait_object<'ast, V>(v: &mut V, node: &'ast TypeTraitObject)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_trait_object in syn::visit - Rust
    syn::visit

    Function visit_type_trait_object

    Source
    pub fn visit_type_trait_object<'ast, V>(v: &mut V, node: &'ast TypeTraitObject)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_type_tuple.html b/syn/visit/fn.visit_type_tuple.html index 4a2cb08..a54f24d 100644 --- a/syn/visit/fn.visit_type_tuple.html +++ b/syn/visit/fn.visit_type_tuple.html @@ -1,2 +1,2 @@ -visit_type_tuple in syn::visit - Rust
    syn::visit

    Function visit_type_tuple

    source
    pub fn visit_type_tuple<'ast, V>(v: &mut V, node: &'ast TypeTuple)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_type_tuple in syn::visit - Rust
    syn::visit

    Function visit_type_tuple

    Source
    pub fn visit_type_tuple<'ast, V>(v: &mut V, node: &'ast TypeTuple)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_un_op.html b/syn/visit/fn.visit_un_op.html index 9868533..517f370 100644 --- a/syn/visit/fn.visit_un_op.html +++ b/syn/visit/fn.visit_un_op.html @@ -1,2 +1,2 @@ -visit_un_op in syn::visit - Rust
    syn::visit

    Function visit_un_op

    source
    pub fn visit_un_op<'ast, V>(v: &mut V, node: &'ast UnOp)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_un_op in syn::visit - Rust
    syn::visit

    Function visit_un_op

    Source
    pub fn visit_un_op<'ast, V>(v: &mut V, node: &'ast UnOp)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_variant.html b/syn/visit/fn.visit_variant.html index 7df05f0..f57ae8f 100644 --- a/syn/visit/fn.visit_variant.html +++ b/syn/visit/fn.visit_variant.html @@ -1,2 +1,2 @@ -visit_variant in syn::visit - Rust
    syn::visit

    Function visit_variant

    source
    pub fn visit_variant<'ast, V>(v: &mut V, node: &'ast Variant)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_variant in syn::visit - Rust
    syn::visit

    Function visit_variant

    Source
    pub fn visit_variant<'ast, V>(v: &mut V, node: &'ast Variant)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_vis_restricted.html b/syn/visit/fn.visit_vis_restricted.html index 303198f..0640dad 100644 --- a/syn/visit/fn.visit_vis_restricted.html +++ b/syn/visit/fn.visit_vis_restricted.html @@ -1,2 +1,2 @@ -visit_vis_restricted in syn::visit - Rust
    syn::visit

    Function visit_vis_restricted

    source
    pub fn visit_vis_restricted<'ast, V>(v: &mut V, node: &'ast VisRestricted)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_vis_restricted in syn::visit - Rust
    syn::visit

    Function visit_vis_restricted

    Source
    pub fn visit_vis_restricted<'ast, V>(v: &mut V, node: &'ast VisRestricted)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_visibility.html b/syn/visit/fn.visit_visibility.html index 715706d..53ec560 100644 --- a/syn/visit/fn.visit_visibility.html +++ b/syn/visit/fn.visit_visibility.html @@ -1,2 +1,2 @@ -visit_visibility in syn::visit - Rust
    syn::visit

    Function visit_visibility

    source
    pub fn visit_visibility<'ast, V>(v: &mut V, node: &'ast Visibility)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_visibility in syn::visit - Rust
    syn::visit

    Function visit_visibility

    Source
    pub fn visit_visibility<'ast, V>(v: &mut V, node: &'ast Visibility)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_where_clause.html b/syn/visit/fn.visit_where_clause.html index 1f289da..00480f7 100644 --- a/syn/visit/fn.visit_where_clause.html +++ b/syn/visit/fn.visit_where_clause.html @@ -1,2 +1,2 @@ -visit_where_clause in syn::visit - Rust
    syn::visit

    Function visit_where_clause

    source
    pub fn visit_where_clause<'ast, V>(v: &mut V, node: &'ast WhereClause)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_where_clause in syn::visit - Rust
    syn::visit

    Function visit_where_clause

    Source
    pub fn visit_where_clause<'ast, V>(v: &mut V, node: &'ast WhereClause)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/fn.visit_where_predicate.html b/syn/visit/fn.visit_where_predicate.html index 78237f4..1638e3c 100644 --- a/syn/visit/fn.visit_where_predicate.html +++ b/syn/visit/fn.visit_where_predicate.html @@ -1,2 +1,2 @@ -visit_where_predicate in syn::visit - Rust
    syn::visit

    Function visit_where_predicate

    source
    pub fn visit_where_predicate<'ast, V>(v: &mut V, node: &'ast WherePredicate)
    where - V: Visit<'ast> + ?Sized,
    \ No newline at end of file +visit_where_predicate in syn::visit - Rust
    syn::visit

    Function visit_where_predicate

    Source
    pub fn visit_where_predicate<'ast, V>(v: &mut V, node: &'ast WherePredicate)
    where + V: Visit<'ast> + ?Sized,
    \ No newline at end of file diff --git a/syn/visit/index.html b/syn/visit/index.html index 88727d1..ed74bff 100644 --- a/syn/visit/index.html +++ b/syn/visit/index.html @@ -1,4 +1,4 @@ -syn::visit - Rust
    syn

    Module visit

    source
    Expand description

    Syntax tree traversal to walk a shared borrow of a syntax tree.

    +syn::visit - Rust
    syn

    Module visit

    Source
    Expand description

    Syntax tree traversal to walk a shared borrow of a syntax tree.

    Each method of the Visit trait is a hook that can be overridden to customize the behavior when visiting the corresponding type of node. By default, every method recursively visits the substructure of the input diff --git a/syn/visit/trait.Visit.html b/syn/visit/trait.Visit.html index 4c7e8eb..d40141d 100644 --- a/syn/visit/trait.Visit.html +++ b/syn/visit/trait.Visit.html @@ -1,4 +1,4 @@ -Visit in syn::visit - Rust

    syn::visit

    Trait Visit

    source
    pub trait Visit<'ast> {
    +Visit in syn::visit - Rust
    syn::visit

    Trait Visit

    Source
    pub trait Visit<'ast> {
     
    Show 95 methods // Provided methods fn visit_abi(&mut self, i: &'ast Abi) { ... } fn visit_angle_bracketed_generic_arguments( @@ -103,10 +103,10 @@ fn visit_where_predicate(&mut self, i: &'ast WherePredicate) { ... }
    }
    Expand description

    Syntax tree traversal to walk a shared borrow of a syntax tree.

    See the module documentation for details.

    -

    Provided Methods§

    Provided Methods§

    Source

    fn visit_abi(&mut self, i: &'ast Abi)

    Source

    fn visit_angle_bracketed_generic_arguments( &mut self, i: &'ast AngleBracketedGenericArguments, -)

    source

    fn visit_assoc_const(&mut self, i: &'ast AssocConst)

    source

    fn visit_assoc_type(&mut self, i: &'ast AssocType)

    source

    fn visit_attr_style(&mut self, i: &'ast AttrStyle)

    source

    fn visit_attribute(&mut self, i: &'ast Attribute)

    source

    fn visit_bare_fn_arg(&mut self, i: &'ast BareFnArg)

    source

    fn visit_bare_variadic(&mut self, i: &'ast BareVariadic)

    source

    fn visit_bin_op(&mut self, i: &'ast BinOp)

    source

    fn visit_bound_lifetimes(&mut self, i: &'ast BoundLifetimes)

    source

    fn visit_const_param(&mut self, i: &'ast ConstParam)

    source

    fn visit_constraint(&mut self, i: &'ast Constraint)

    source

    fn visit_data(&mut self, i: &'ast Data)

    source

    fn visit_data_enum(&mut self, i: &'ast DataEnum)

    source

    fn visit_data_struct(&mut self, i: &'ast DataStruct)

    source

    fn visit_data_union(&mut self, i: &'ast DataUnion)

    source

    fn visit_derive_input(&mut self, i: &'ast DeriveInput)

    source

    fn visit_expr(&mut self, i: &'ast Expr)

    source

    fn visit_expr_binary(&mut self, i: &'ast ExprBinary)

    source

    fn visit_expr_call(&mut self, i: &'ast ExprCall)

    source

    fn visit_expr_cast(&mut self, i: &'ast ExprCast)

    source

    fn visit_expr_field(&mut self, i: &'ast ExprField)

    source

    fn visit_expr_group(&mut self, i: &'ast ExprGroup)

    source

    fn visit_expr_index(&mut self, i: &'ast ExprIndex)

    source

    fn visit_expr_lit(&mut self, i: &'ast ExprLit)

    source

    fn visit_expr_macro(&mut self, i: &'ast ExprMacro)

    source

    fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall)

    source

    fn visit_expr_paren(&mut self, i: &'ast ExprParen)

    source

    fn visit_expr_path(&mut self, i: &'ast ExprPath)

    source

    fn visit_expr_reference(&mut self, i: &'ast ExprReference)

    source

    fn visit_expr_struct(&mut self, i: &'ast ExprStruct)

    source

    fn visit_expr_tuple(&mut self, i: &'ast ExprTuple)

    source

    fn visit_expr_unary(&mut self, i: &'ast ExprUnary)

    source

    fn visit_field(&mut self, i: &'ast Field)

    source

    fn visit_field_mutability(&mut self, i: &'ast FieldMutability)

    source

    fn visit_field_value(&mut self, i: &'ast FieldValue)

    source

    fn visit_fields(&mut self, i: &'ast Fields)

    source

    fn visit_fields_named(&mut self, i: &'ast FieldsNamed)

    source

    fn visit_fields_unnamed(&mut self, i: &'ast FieldsUnnamed)

    source

    fn visit_generic_argument(&mut self, i: &'ast GenericArgument)

    source

    fn visit_generic_param(&mut self, i: &'ast GenericParam)

    source

    fn visit_generics(&mut self, i: &'ast Generics)

    source

    fn visit_ident(&mut self, i: &'ast Ident)

    source

    fn visit_index(&mut self, i: &'ast Index)

    source

    fn visit_lifetime(&mut self, i: &'ast Lifetime)

    source

    fn visit_lifetime_param(&mut self, i: &'ast LifetimeParam)

    source

    fn visit_lit(&mut self, i: &'ast Lit)

    source

    fn visit_lit_bool(&mut self, i: &'ast LitBool)

    source

    fn visit_lit_byte(&mut self, i: &'ast LitByte)

    source

    fn visit_lit_byte_str(&mut self, i: &'ast LitByteStr)

    source

    fn visit_lit_cstr(&mut self, i: &'ast LitCStr)

    source

    fn visit_lit_char(&mut self, i: &'ast LitChar)

    source

    fn visit_lit_float(&mut self, i: &'ast LitFloat)

    source

    fn visit_lit_int(&mut self, i: &'ast LitInt)

    source

    fn visit_lit_str(&mut self, i: &'ast LitStr)

    source

    fn visit_macro(&mut self, i: &'ast Macro)

    source

    fn visit_macro_delimiter(&mut self, i: &'ast MacroDelimiter)

    source

    fn visit_member(&mut self, i: &'ast Member)

    source

    fn visit_meta(&mut self, i: &'ast Meta)

    source

    fn visit_meta_list(&mut self, i: &'ast MetaList)

    source

    fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue)

    source

    fn visit_parenthesized_generic_arguments( +)

    Source

    fn visit_assoc_const(&mut self, i: &'ast AssocConst)

    Source

    fn visit_assoc_type(&mut self, i: &'ast AssocType)

    Source

    fn visit_attr_style(&mut self, i: &'ast AttrStyle)

    Source

    fn visit_attribute(&mut self, i: &'ast Attribute)

    Source

    fn visit_bare_fn_arg(&mut self, i: &'ast BareFnArg)

    Source

    fn visit_bare_variadic(&mut self, i: &'ast BareVariadic)

    Source

    fn visit_bin_op(&mut self, i: &'ast BinOp)

    Source

    fn visit_bound_lifetimes(&mut self, i: &'ast BoundLifetimes)

    Source

    fn visit_const_param(&mut self, i: &'ast ConstParam)

    Source

    fn visit_constraint(&mut self, i: &'ast Constraint)

    Source

    fn visit_data(&mut self, i: &'ast Data)

    Source

    fn visit_data_enum(&mut self, i: &'ast DataEnum)

    Source

    fn visit_data_struct(&mut self, i: &'ast DataStruct)

    Source

    fn visit_data_union(&mut self, i: &'ast DataUnion)

    Source

    fn visit_derive_input(&mut self, i: &'ast DeriveInput)

    Source

    fn visit_expr(&mut self, i: &'ast Expr)

    Source

    fn visit_expr_binary(&mut self, i: &'ast ExprBinary)

    Source

    fn visit_expr_call(&mut self, i: &'ast ExprCall)

    Source

    fn visit_expr_cast(&mut self, i: &'ast ExprCast)

    Source

    fn visit_expr_field(&mut self, i: &'ast ExprField)

    Source

    fn visit_expr_group(&mut self, i: &'ast ExprGroup)

    Source

    fn visit_expr_index(&mut self, i: &'ast ExprIndex)

    Source

    fn visit_expr_lit(&mut self, i: &'ast ExprLit)

    Source

    fn visit_expr_macro(&mut self, i: &'ast ExprMacro)

    Source

    fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall)

    Source

    fn visit_expr_paren(&mut self, i: &'ast ExprParen)

    Source

    fn visit_expr_path(&mut self, i: &'ast ExprPath)

    Source

    fn visit_expr_reference(&mut self, i: &'ast ExprReference)

    Source

    fn visit_expr_struct(&mut self, i: &'ast ExprStruct)

    Source

    fn visit_expr_tuple(&mut self, i: &'ast ExprTuple)

    Source

    fn visit_expr_unary(&mut self, i: &'ast ExprUnary)

    Source

    fn visit_field(&mut self, i: &'ast Field)

    Source

    fn visit_field_mutability(&mut self, i: &'ast FieldMutability)

    Source

    fn visit_field_value(&mut self, i: &'ast FieldValue)

    Source

    fn visit_fields(&mut self, i: &'ast Fields)

    Source

    fn visit_fields_named(&mut self, i: &'ast FieldsNamed)

    Source

    fn visit_fields_unnamed(&mut self, i: &'ast FieldsUnnamed)

    Source

    fn visit_generic_argument(&mut self, i: &'ast GenericArgument)

    Source

    fn visit_generic_param(&mut self, i: &'ast GenericParam)

    Source

    fn visit_generics(&mut self, i: &'ast Generics)

    Source

    fn visit_ident(&mut self, i: &'ast Ident)

    Source

    fn visit_index(&mut self, i: &'ast Index)

    Source

    fn visit_lifetime(&mut self, i: &'ast Lifetime)

    Source

    fn visit_lifetime_param(&mut self, i: &'ast LifetimeParam)

    Source

    fn visit_lit(&mut self, i: &'ast Lit)

    Source

    fn visit_lit_bool(&mut self, i: &'ast LitBool)

    Source

    fn visit_lit_byte(&mut self, i: &'ast LitByte)

    Source

    fn visit_lit_byte_str(&mut self, i: &'ast LitByteStr)

    Source

    fn visit_lit_cstr(&mut self, i: &'ast LitCStr)

    Source

    fn visit_lit_char(&mut self, i: &'ast LitChar)

    Source

    fn visit_lit_float(&mut self, i: &'ast LitFloat)

    Source

    fn visit_lit_int(&mut self, i: &'ast LitInt)

    Source

    fn visit_lit_str(&mut self, i: &'ast LitStr)

    Source

    fn visit_macro(&mut self, i: &'ast Macro)

    Source

    fn visit_macro_delimiter(&mut self, i: &'ast MacroDelimiter)

    Source

    fn visit_member(&mut self, i: &'ast Member)

    Source

    fn visit_meta(&mut self, i: &'ast Meta)

    Source

    fn visit_meta_list(&mut self, i: &'ast MetaList)

    Source

    fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue)

    Source

    fn visit_parenthesized_generic_arguments( &mut self, i: &'ast ParenthesizedGenericArguments, -)

    source

    fn visit_path(&mut self, i: &'ast Path)

    source

    fn visit_path_arguments(&mut self, i: &'ast PathArguments)

    source

    fn visit_path_segment(&mut self, i: &'ast PathSegment)

    source

    fn visit_predicate_lifetime(&mut self, i: &'ast PredicateLifetime)

    source

    fn visit_predicate_type(&mut self, i: &'ast PredicateType)

    source

    fn visit_qself(&mut self, i: &'ast QSelf)

    source

    fn visit_return_type(&mut self, i: &'ast ReturnType)

    source

    fn visit_span(&mut self, i: &Span)

    source

    fn visit_trait_bound(&mut self, i: &'ast TraitBound)

    source

    fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier)

    source

    fn visit_type(&mut self, i: &'ast Type)

    source

    fn visit_type_array(&mut self, i: &'ast TypeArray)

    source

    fn visit_type_bare_fn(&mut self, i: &'ast TypeBareFn)

    source

    fn visit_type_group(&mut self, i: &'ast TypeGroup)

    source

    fn visit_type_impl_trait(&mut self, i: &'ast TypeImplTrait)

    source

    fn visit_type_infer(&mut self, i: &'ast TypeInfer)

    source

    fn visit_type_macro(&mut self, i: &'ast TypeMacro)

    source

    fn visit_type_never(&mut self, i: &'ast TypeNever)

    source

    fn visit_type_param(&mut self, i: &'ast TypeParam)

    source

    fn visit_type_param_bound(&mut self, i: &'ast TypeParamBound)

    source

    fn visit_type_paren(&mut self, i: &'ast TypeParen)

    source

    fn visit_type_path(&mut self, i: &'ast TypePath)

    source

    fn visit_type_ptr(&mut self, i: &'ast TypePtr)

    source

    fn visit_type_reference(&mut self, i: &'ast TypeReference)

    source

    fn visit_type_slice(&mut self, i: &'ast TypeSlice)

    source

    fn visit_type_trait_object(&mut self, i: &'ast TypeTraitObject)

    source

    fn visit_type_tuple(&mut self, i: &'ast TypeTuple)

    source

    fn visit_un_op(&mut self, i: &'ast UnOp)

    source

    fn visit_variant(&mut self, i: &'ast Variant)

    source

    fn visit_vis_restricted(&mut self, i: &'ast VisRestricted)

    source

    fn visit_visibility(&mut self, i: &'ast Visibility)

    source

    fn visit_where_clause(&mut self, i: &'ast WhereClause)

    source

    fn visit_where_predicate(&mut self, i: &'ast WherePredicate)

    Implementors§

    \ No newline at end of file +)
    Source

    fn visit_path(&mut self, i: &'ast Path)

    Source

    fn visit_path_arguments(&mut self, i: &'ast PathArguments)

    Source

    fn visit_path_segment(&mut self, i: &'ast PathSegment)

    Source

    fn visit_predicate_lifetime(&mut self, i: &'ast PredicateLifetime)

    Source

    fn visit_predicate_type(&mut self, i: &'ast PredicateType)

    Source

    fn visit_qself(&mut self, i: &'ast QSelf)

    Source

    fn visit_return_type(&mut self, i: &'ast ReturnType)

    Source

    fn visit_span(&mut self, i: &Span)

    Source

    fn visit_trait_bound(&mut self, i: &'ast TraitBound)

    Source

    fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier)

    Source

    fn visit_type(&mut self, i: &'ast Type)

    Source

    fn visit_type_array(&mut self, i: &'ast TypeArray)

    Source

    fn visit_type_bare_fn(&mut self, i: &'ast TypeBareFn)

    Source

    fn visit_type_group(&mut self, i: &'ast TypeGroup)

    Source

    fn visit_type_impl_trait(&mut self, i: &'ast TypeImplTrait)

    Source

    fn visit_type_infer(&mut self, i: &'ast TypeInfer)

    Source

    fn visit_type_macro(&mut self, i: &'ast TypeMacro)

    Source

    fn visit_type_never(&mut self, i: &'ast TypeNever)

    Source

    fn visit_type_param(&mut self, i: &'ast TypeParam)

    Source

    fn visit_type_param_bound(&mut self, i: &'ast TypeParamBound)

    Source

    fn visit_type_paren(&mut self, i: &'ast TypeParen)

    Source

    fn visit_type_path(&mut self, i: &'ast TypePath)

    Source

    fn visit_type_ptr(&mut self, i: &'ast TypePtr)

    Source

    fn visit_type_reference(&mut self, i: &'ast TypeReference)

    Source

    fn visit_type_slice(&mut self, i: &'ast TypeSlice)

    Source

    fn visit_type_trait_object(&mut self, i: &'ast TypeTraitObject)

    Source

    fn visit_type_tuple(&mut self, i: &'ast TypeTuple)

    Source

    fn visit_un_op(&mut self, i: &'ast UnOp)

    Source

    fn visit_variant(&mut self, i: &'ast Variant)

    Source

    fn visit_vis_restricted(&mut self, i: &'ast VisRestricted)

    Source

    fn visit_visibility(&mut self, i: &'ast Visibility)

    Source

    fn visit_where_clause(&mut self, i: &'ast WhereClause)

    Source

    fn visit_where_predicate(&mut self, i: &'ast WherePredicate)

    Implementors§

    \ No newline at end of file diff --git a/synstructure/all.html b/synstructure/all.html index 1524640..c1a7ce7 100644 --- a/synstructure/all.html +++ b/synstructure/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/synstructure/enum.AddBounds.html b/synstructure/enum.AddBounds.html index ca1c9e8..45c834b 100644 --- a/synstructure/enum.AddBounds.html +++ b/synstructure/enum.AddBounds.html @@ -1,4 +1,4 @@ -AddBounds in synstructure - Rust
    synstructure

    Enum AddBounds

    source
    pub enum AddBounds {
    +AddBounds in synstructure - Rust
    synstructure

    Enum AddBounds

    Source
    pub enum AddBounds {
         Both,
         Fields,
         Generics,
    @@ -9,19 +9,19 @@
     
    §

    Fields

    Fields only

    §

    Generics

    Generics only

    §

    None

    None

    -

    Trait Implementations§

    source§

    impl Clone for AddBounds

    source§

    fn clone(&self) -> AddBounds

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AddBounds

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for AddBounds

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for AddBounds

    source§

    fn eq(&self, other: &AddBounds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for AddBounds

    source§

    impl Eq for AddBounds

    source§

    impl StructuralPartialEq for AddBounds

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for AddBounds

    Source§

    fn clone(&self) -> AddBounds

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AddBounds

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for AddBounds

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for AddBounds

    Source§

    fn eq(&self, other: &AddBounds) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Copy for AddBounds

    Source§

    impl Eq for AddBounds

    Source§

    impl StructuralPartialEq for AddBounds

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/enum.BindStyle.html b/synstructure/enum.BindStyle.html index 251b241..9ea9c93 100644 --- a/synstructure/enum.BindStyle.html +++ b/synstructure/enum.BindStyle.html @@ -1,4 +1,4 @@ -BindStyle in synstructure - Rust
    synstructure

    Enum BindStyle

    source
    pub enum BindStyle {
    +BindStyle in synstructure - Rust
    synstructure

    Enum BindStyle

    Source
    pub enum BindStyle {
         Move,
         MoveMut,
         Ref,
    @@ -8,22 +8,22 @@
     
    §

    MoveMut

    mut x

    §

    Ref

    ref x

    §

    RefMut

    ref mut x

    -

    Trait Implementations§

    source§

    impl Clone for BindStyle

    source§

    fn clone(&self) -> BindStyle

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindStyle

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BindStyle

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for BindStyle

    source§

    fn eq(&self, other: &BindStyle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl ToTokens for BindStyle

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl Copy for BindStyle

    source§

    impl Eq for BindStyle

    source§

    impl StructuralPartialEq for BindStyle

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl Clone for BindStyle

    Source§

    fn clone(&self) -> BindStyle

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BindStyle

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Hash for BindStyle

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for BindStyle

    Source§

    fn eq(&self, other: &BindStyle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl ToTokens for BindStyle

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl Copy for BindStyle

    Source§

    impl Eq for BindStyle

    Source§

    impl StructuralPartialEq for BindStyle

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/fn.unpretty_print.html b/synstructure/fn.unpretty_print.html index 7921ff7..befa1ea 100644 --- a/synstructure/fn.unpretty_print.html +++ b/synstructure/fn.unpretty_print.html @@ -1,4 +1,4 @@ -unpretty_print in synstructure - Rust
    synstructure

    Function unpretty_print

    source
    pub fn unpretty_print<T: Display>(ts: T) -> String
    Expand description

    Dumps an unpretty version of a tokenstream. Takes any type which implements +unpretty_print in synstructure - Rust

    synstructure

    Function unpretty_print

    Source
    pub fn unpretty_print<T: Display>(ts: T) -> String
    Expand description

    Dumps an unpretty version of a tokenstream. Takes any type which implements Display.

    This is mostly useful for visualizing the output of a procedural macro, as it makes it marginally more readable. It is used in the implementation of diff --git a/synstructure/index.html b/synstructure/index.html index a3a505e..cf6b069 100644 --- a/synstructure/index.html +++ b/synstructure/index.html @@ -1,4 +1,4 @@ -synstructure - Rust

    Crate synstructure

    source
    Expand description

    This crate provides helper types for matching against enum variants, and +synstructure - Rust

    Crate synstructure

    Source
    Expand description

    This crate provides helper types for matching against enum variants, and extracting bindings to each of the fields in the deriving Struct or Enum in a generic way.

    If you are writing a #[derive] which needs to perform some operation on diff --git a/synstructure/macro.decl_attribute.html b/synstructure/macro.decl_attribute.html index 19cdaab..c41eb92 100644 --- a/synstructure/macro.decl_attribute.html +++ b/synstructure/macro.decl_attribute.html @@ -1,6 +1,6 @@ -decl_attribute in synstructure - Rust

    synstructure

    Macro decl_attribute

    source
    macro_rules! decl_attribute {
    -    ([$attribute:ident] => $(#[$($attrs:tt)*])* $inner:path) => { ... };
    -}
    Expand description

    The decl_attribute! macro declares a custom attribute wrapper. It will +decl_attribute in synstructure - Rust

    synstructure

    Macro decl_attribute

    Source
    macro_rules! decl_attribute {
    +    ([$attribute:ident] => $(#[$($attrs:tt)*])* $inner:path) => { ... };
    +}
    Expand description

    The decl_attribute! macro declares a custom attribute wrapper. It will parse the incoming TokenStream into a synstructure::Structure object, and pass it into the inner function.

    Your inner function should have the following type:

    diff --git a/synstructure/macro.decl_derive.html b/synstructure/macro.decl_derive.html index 93e732a..83ceb2f 100644 --- a/synstructure/macro.decl_derive.html +++ b/synstructure/macro.decl_derive.html @@ -1,6 +1,6 @@ -decl_derive in synstructure - Rust
    synstructure

    Macro decl_derive

    source
    macro_rules! decl_derive {
    -    ([$derives:ident $($derive_t:tt)*] => $(#[$($attrs:tt)*])* $inner:path) => { ... };
    -}
    Expand description

    The decl_derive! macro declares a custom derive wrapper. It will parse the +decl_derive in synstructure - Rust

    synstructure

    Macro decl_derive

    Source
    macro_rules! decl_derive {
    +    ([$derives:ident $($derive_t:tt)*] => $(#[$($attrs:tt)*])* $inner:path) => { ... };
    +}
    Expand description

    The decl_derive! macro declares a custom derive wrapper. It will parse the incoming TokenStream into a synstructure::Structure object, and pass it into the inner function.

    Your inner function should take a synstructure::Structure by value, and diff --git a/synstructure/macro.test_derive.html b/synstructure/macro.test_derive.html index 0d1d1f6..09c52ec 100644 --- a/synstructure/macro.test_derive.html +++ b/synstructure/macro.test_derive.html @@ -1,7 +1,7 @@ -test_derive in synstructure - Rust

    synstructure

    Macro test_derive

    source
    macro_rules! test_derive {
    -    ($name:path { $($i:tt)* } expands to { $($o:tt)* }) => { ... };
    -    ($name:path { $($i:tt)* } expands to { $($o:tt)* } no_build) => { ... };
    -}
    Expand description

    Run a test on a custom derive. This macro expands both the original struct +test_derive in synstructure - Rust

    synstructure

    Macro test_derive

    Source
    macro_rules! test_derive {
    +    ($name:path { $($i:tt)* } expands to { $($o:tt)* }) => { ... };
    +    ($name:path { $($i:tt)* } expands to { $($o:tt)* } no_build) => { ... };
    +}
    Expand description

    Run a test on a custom derive. This macro expands both the original struct and the expansion to ensure that they compile correctly, and confirms that feeding the original struct into the named derive will produce the written output.

    diff --git a/synstructure/struct.BindingInfo.html b/synstructure/struct.BindingInfo.html index f5dab63..3305f46 100644 --- a/synstructure/struct.BindingInfo.html +++ b/synstructure/struct.BindingInfo.html @@ -1,4 +1,4 @@ -BindingInfo in synstructure - Rust
    synstructure

    Struct BindingInfo

    source
    pub struct BindingInfo<'a> {
    +BindingInfo in synstructure - Rust
    synstructure

    Struct BindingInfo

    Source
    pub struct BindingInfo<'a> {
         pub binding: Ident,
         pub style: BindStyle,
         /* private fields */
    @@ -9,9 +9,9 @@ field.

    quote! macro. It expands to a reference to the matched field.

    Fields§

    §binding: Ident

    The name which this BindingInfo will bind to.

    §style: BindStyle

    The type of binding which this BindingInfo will create.

    -

    Implementations§

    source§

    impl<'a> BindingInfo<'a>

    source

    pub fn ast(&self) -> &'a Field

    Returns a reference to the underlying syn AST node which this +

    Implementations§

    Source§

    impl<'a> BindingInfo<'a>

    Source

    pub fn ast(&self) -> &'a Field

    Returns a reference to the underlying syn AST node which this BindingInfo references

    -
    source

    pub fn pat(&self) -> TokenStream

    Generates the pattern fragment for this field binding.

    +
    Source

    pub fn pat(&self) -> TokenStream

    Generates the pattern fragment for this field binding.

    §Example
    let di: syn::DeriveInput = syn::parse_quote! {
         enum A {
    @@ -27,7 +27,7 @@ field.

    ref __binding_0 }.to_string() );
    -
    source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are referenced in this +

    Source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are referenced in this field’s type.

    §Caveat

    If the field contains any macros in type position, all parameters will @@ -46,22 +46,22 @@ parameters are bound by type macros.

    s.variants()[0].bindings()[0].referenced_ty_params(), &[&quote::format_ident!("T")] );
    -

    Trait Implementations§

    source§

    impl<'a> Clone for BindingInfo<'a>

    source§

    fn clone(&self) -> BindingInfo<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for BindingInfo<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for BindingInfo<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for BindingInfo<'a>

    source§

    fn eq(&self, other: &BindingInfo<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> ToTokens for BindingInfo<'a>

    source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    source§

    fn into_token_stream(self) -> TokenStream
    where - Self: Sized,

    Convert self directly into a TokenStream object. Read more
    source§

    impl<'a> Eq for BindingInfo<'a>

    source§

    impl<'a> StructuralPartialEq for BindingInfo<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for BindingInfo<'a>

    §

    impl<'a> RefUnwindSafe for BindingInfo<'a>

    §

    impl<'a> !Send for BindingInfo<'a>

    §

    impl<'a> !Sync for BindingInfo<'a>

    §

    impl<'a> Unpin for BindingInfo<'a>

    §

    impl<'a> UnwindSafe for BindingInfo<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for BindingInfo<'a>

    Source§

    fn clone(&self) -> BindingInfo<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for BindingInfo<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for BindingInfo<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for BindingInfo<'a>

    Source§

    fn eq(&self, other: &BindingInfo<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> ToTokens for BindingInfo<'a>

    Source§

    fn to_tokens(&self, tokens: &mut TokenStream)

    Write self to the given TokenStream. Read more
    Source§

    fn to_token_stream(&self) -> TokenStream

    Convert self directly into a TokenStream object. Read more
    Source§

    fn into_token_stream(self) -> TokenStream
    where + Self: Sized,

    Convert self directly into a TokenStream object. Read more
    Source§

    impl<'a> Eq for BindingInfo<'a>

    Source§

    impl<'a> StructuralPartialEq for BindingInfo<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for BindingInfo<'a>

    §

    impl<'a> RefUnwindSafe for BindingInfo<'a>

    §

    impl<'a> !Send for BindingInfo<'a>

    §

    impl<'a> !Sync for BindingInfo<'a>

    §

    impl<'a> Unpin for BindingInfo<'a>

    §

    impl<'a> UnwindSafe for BindingInfo<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> Spanned for T
    where - T: Spanned + ?Sized,

    source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree -node, or Span::call_site() if this node is empty.
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> Spanned for T
    where + T: Spanned + ?Sized,

    Source§

    fn span(&self) -> Span

    Returns a Span covering the complete contents of this syntax tree +node, or Span::call_site() if this node is empty.
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/struct.Structure.html b/synstructure/struct.Structure.html index af52af8..2da9bb7 100644 --- a/synstructure/struct.Structure.html +++ b/synstructure/struct.Structure.html @@ -1,21 +1,21 @@ -Structure in synstructure - Rust
    synstructure

    Struct Structure

    source
    pub struct Structure<'a> { /* private fields */ }
    Expand description

    A wrapper around a syn::DeriveInput which provides utilities for creating +Structure in synstructure - Rust

    synstructure

    Struct Structure

    Source
    pub struct Structure<'a> { /* private fields */ }
    Expand description

    A wrapper around a syn::DeriveInput which provides utilities for creating custom derive trait implementations.

    -

    Implementations§

    source§

    impl<'a> Structure<'a>

    source

    pub fn new(ast: &'a DeriveInput) -> Self

    Create a new Structure with the variants and fields from the passed-in +

    Implementations§

    Source§

    impl<'a> Structure<'a>

    Source

    pub fn new(ast: &'a DeriveInput) -> Self

    Create a new Structure with the variants and fields from the passed-in DeriveInput.

    §Panics

    This method will panic if the provided AST node represents an untagged union.

    -
    source

    pub fn try_new(ast: &'a DeriveInput) -> Result<Self>

    Create a new Structure with the variants and fields from the passed-in +

    Source

    pub fn try_new(ast: &'a DeriveInput) -> Result<Self>

    Create a new Structure with the variants and fields from the passed-in DeriveInput.

    Unlike Structure::new, this method does not panic if the provided AST node represents an untagged union.

    -
    source

    pub fn variants(&self) -> &[VariantInfo<'a>]

    Returns a slice of the variants in this Structure.

    -
    source

    pub fn variants_mut(&mut self) -> &mut [VariantInfo<'a>]

    Returns a mut slice of the variants in this Structure.

    -
    source

    pub fn ast(&self) -> &'a DeriveInput

    Returns a reference to the underlying syn AST node which this +

    Source

    pub fn variants(&self) -> &[VariantInfo<'a>]

    Returns a slice of the variants in this Structure.

    +
    Source

    pub fn variants_mut(&mut self) -> &mut [VariantInfo<'a>]

    Returns a mut slice of the variants in this Structure.

    +
    Source

    pub fn ast(&self) -> &'a DeriveInput

    Returns a reference to the underlying syn AST node which this Structure was created from.

    -
    source

    pub fn omitted_variants(&self) -> bool

    True if any variants were omitted due to a filter_variants call.

    -
    source

    pub fn each<F, R>(&self, f: F) -> TokenStream
    where - F: FnMut(&BindingInfo<'_>) -> R, +

    Source

    pub fn omitted_variants(&self) -> bool

    True if any variants were omitted due to a filter_variants call.

    +
    Source

    pub fn each<F, R>(&self, f: F) -> TokenStream
    where + F: FnMut(&BindingInfo<'_>) -> R, R: ToTokens,

    Runs the passed-in function once for each bound field, passing in a BindingInfo. and generating match arms which evaluate the returned tokens.

    This method will ignore variants or fields which are ignored through the @@ -42,8 +42,8 @@ and generating match arms which evaluate the returned tokens.

    } }.to_string() );
    -
    source

    pub fn fold<F, I, R>(&self, init: I, f: F) -> TokenStream
    where - F: FnMut(TokenStream, &BindingInfo<'_>) -> R, +

    Source

    pub fn fold<F, I, R>(&self, init: I, f: F) -> TokenStream
    where + F: FnMut(TokenStream, &BindingInfo<'_>) -> R, I: ToTokens, R: ToTokens,

    Runs the passed-in function once for each bound field, passing in the result of the previous call, and a BindingInfo. generating match @@ -72,8 +72,8 @@ arms which evaluate to the resulting tokens.

    } }.to_string() );
    -
    source

    pub fn each_variant<F, R>(&self, f: F) -> TokenStream
    where - F: FnMut(&VariantInfo<'_>) -> R, +

    Source

    pub fn each_variant<F, R>(&self, f: F) -> TokenStream
    where + F: FnMut(&VariantInfo<'_>) -> R, R: ToTokens,

    Runs the passed-in function once for each variant, passing in a VariantInfo. and generating match arms which evaluate the returned tokens.

    @@ -103,8 +103,8 @@ through the filter and filter_variant methods.

    } }.to_string() );
    -
    source

    pub fn filter<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&BindingInfo<'_>) -> bool,

    Filter the bindings created by this Structure object. This has 2 effects:

    +
    Source

    pub fn filter<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&BindingInfo<'_>) -> bool,

    Filter the bindings created by this Structure object. This has 2 effects:

    • The bindings will no longer appear in match arms generated by methods @@ -141,8 +141,8 @@ s.filter(|bi| { } }.to_string() );

    -
    source

    pub fn drain_filter<F>(&mut self, f: F) -> Self
    where - F: FnMut(&BindingInfo<'_>) -> bool,

    Iterates all the bindings of this Structure object and uses a closure to determine if a +

    Source

    pub fn drain_filter<F>(&mut self, f: F) -> Self
    where + F: FnMut(&BindingInfo<'_>) -> bool,

    Iterates all the bindings of this Structure object and uses a closure to determine if a binding should be removed. If the closure returns true the binding is removed from the structure. If the closure returns false, the binding remains in the structure.

    All the removed bindings are moved to a new Structure object which is otherwise identical @@ -186,7 +186,7 @@ the

    source

    pub fn add_where_predicate(&mut self, pred: WherePredicate) -> &mut Self

    Specify additional where predicate bounds which should be generated by +

    Source

    pub fn add_where_predicate(&mut self, pred: WherePredicate) -> &mut Self

    Specify additional where predicate bounds which should be generated by impl-generating functions such as gen_impl, bound_impl, and unsafe_bound_impl.

    §Example
    @@ -219,7 +219,7 @@ impl-generating functions such as gen_impl, bound_impl }; }.to_string() );
    -
    source

    pub fn add_bounds(&mut self, mode: AddBounds) -> &mut Self

    Specify which bounds should be generated by impl-generating functions +

    Source

    pub fn add_bounds(&mut self, mode: AddBounds) -> &mut Self

    Specify which bounds should be generated by impl-generating functions such as gen_impl, bound_impl, and unsafe_bound_impl.

    The default behaviour is to generate both field and generic bounds from type parameters.

    @@ -251,8 +251,8 @@ type parameters.

    }; }.to_string() );
    -
    source

    pub fn filter_variants<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&VariantInfo<'_>) -> bool,

    Filter the variants matched by this Structure object. This has 2 effects:

    +
    Source

    pub fn filter_variants<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&VariantInfo<'_>) -> bool,

    Filter the variants matched by this Structure object. This has 2 effects:

    • Match arms destructuring these variants will no longer be generated by @@ -286,8 +286,8 @@ s.filter_variants(|v| v.ast().ident != "B"); _ => {} }.to_string() );

    -
    source

    pub fn drain_filter_variants<F>(&mut self, f: F) -> Self
    where - F: FnMut(&VariantInfo<'_>) -> bool,

    Iterates all the variants of this Structure object and uses a closure to determine if a +

    Source

    pub fn drain_filter_variants<F>(&mut self, f: F) -> Self
    where + F: FnMut(&VariantInfo<'_>) -> bool,

    Iterates all the variants of this Structure object and uses a closure to determine if a variant should be removed. If the closure returns true the variant is removed from the structure. If the closure returns false, the variant remains in the structure.

    All the removed variants are moved to a new Structure object which is otherwise identical @@ -325,11 +325,11 @@ the

    source

    pub fn remove_variant(&mut self, idx: usize) -> &mut Self

    Remove the variant at the given index.

    +
    Source

    pub fn remove_variant(&mut self, idx: usize) -> &mut Self

    Remove the variant at the given index.

    §Panics

    Panics if the index is out of range.

    -
    source

    pub fn bind_with<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&BindingInfo<'_>) -> BindStyle,

    Updates the BindStyle for each of the passed-in fields by calling the +

    Source

    pub fn bind_with<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&BindingInfo<'_>) -> BindStyle,

    Updates the BindStyle for each of the passed-in fields by calling the passed-in function for each BindingInfo.

    §Example
    let di: syn::DeriveInput = syn::parse_quote! {
    @@ -355,8 +355,8 @@ s.bind_with(|bi| BindStyle::RefMut);
             }
         }.to_string()
     );
    -
    source

    pub fn binding_name<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&Field, usize) -> Ident,

    Updates the binding name for each fo the passed-in fields by calling the +

    Source

    pub fn binding_name<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&Field, usize) -> Ident,

    Updates the binding name for each fo the passed-in fields by calling the passed-in function for each BindingInfo.

    The function will be called with the BindingInfo and its index in the enclosing variant.

    @@ -386,7 +386,7 @@ s.binding_name(|bi, i| bi.ident.clone().unwrap()); } }.to_string() );
    -
    source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are refrenced in the types +

    Source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are refrenced in the types of non-filtered fields / variants.

    §Caveat

    If the struct contains any macros in type position, all parameters will @@ -407,7 +407,7 @@ s.filter_variants(|v| v.ast().ident != "C"); s.referenced_ty_params(), &[&quote::format_ident!("T")] );

    -
    source

    pub fn add_impl_generic(&mut self, param: GenericParam) -> &mut Self

    Adds an impl<> generic parameter. +

    Source

    pub fn add_impl_generic(&mut self, param: GenericParam) -> &mut Self

    Adds an impl<> generic parameter. This can be used when the trait to be derived needs some extra generic parameters.

    §Example
    let di: syn::DeriveInput = syn::parse_quote! {
    @@ -439,10 +439,10 @@ This can be used when the trait to be derived needs some extra generic parameter
             };
         }.to_string()
     );
    -
    source

    pub fn add_trait_bounds( +

    Source

    pub fn add_trait_bounds( &self, bound: &TraitBound, - where_clause: &mut Option<WhereClause>, + where_clause: &mut Option<WhereClause>, mode: AddBounds, )

    Add trait bounds for a trait with the given path for each type parmaeter referenced in the types of non-filtered fields.

    @@ -450,8 +450,8 @@ referenced in the types of non-filtered fields.

    If the method contains any macros in type position, all parameters will be considered bound. This is because we cannot determine which type parameters are bound by type macros.

    -
    source

    pub fn underscore_const(&mut self, _enabled: bool) -> &mut Self

    This method is a no-op, underscore consts are used by default now.

    -
    source

    pub fn bound_impl<P: ToTokens, B: ToTokens>( +

    Source

    pub fn underscore_const(&mut self, _enabled: bool) -> &mut Self

    This method is a no-op, underscore consts are used by default now.

    +
    Source

    pub fn bound_impl<P: ToTokens, B: ToTokens>( &self, path: P, body: B, @@ -503,7 +503,7 @@ s.filter_variants(|v| v.ast().ident != "B"); }; }.to_string() ); -

    source

    pub fn unsafe_bound_impl<P: ToTokens, B: ToTokens>( +

    Source

    pub fn unsafe_bound_impl<P: ToTokens, B: ToTokens>( &self, path: P, body: B, @@ -555,7 +555,7 @@ s.filter_variants(|v| v.ast().ident != "B"); }; }.to_string() ); -

    source

    pub fn unbound_impl<P: ToTokens, B: ToTokens>( +

    Source

    pub fn unbound_impl<P: ToTokens, B: ToTokens>( &self, path: P, body: B, @@ -599,7 +599,7 @@ s.filter_variants(|v| v.ast().ident != "B"); }; }.to_string() ); -

    source

    pub fn unsafe_unbound_impl<P: ToTokens, B: ToTokens>( +

    Source

    pub fn unsafe_unbound_impl<P: ToTokens, B: ToTokens>( &self, path: P, body: B, @@ -643,7 +643,7 @@ s.filter_variants(|v| v.ast().ident != "B"); }; }.to_string() ); -

    source

    pub fn gen_impl(&self, cfg: TokenStream) -> TokenStream

    Generate an impl block for the given struct. This impl block will +

    Source

    pub fn gen_impl(&self, cfg: TokenStream) -> TokenStream

    Generate an impl block for the given struct. This impl block will automatically use hygiene tricks to avoid polluting the caller’s namespace, and will automatically add trait bounds for generic type parameters.

    @@ -811,19 +811,19 @@ s.filter_variants(|v| v.ast().ident != "B"); }.to_string() );

    Use add_bounds to change which bounds are generated.

    -

    Trait Implementations§

    source§

    impl<'a> Clone for Structure<'a>

    source§

    fn clone(&self) -> Structure<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Structure<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for Structure<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for Structure<'a>

    source§

    fn eq(&self, other: &Structure<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> Eq for Structure<'a>

    source§

    impl<'a> StructuralPartialEq for Structure<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Structure<'a>

    §

    impl<'a> RefUnwindSafe for Structure<'a>

    §

    impl<'a> !Send for Structure<'a>

    §

    impl<'a> !Sync for Structure<'a>

    §

    impl<'a> Unpin for Structure<'a>

    §

    impl<'a> UnwindSafe for Structure<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for Structure<'a>

    Source§

    fn clone(&self) -> Structure<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for Structure<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for Structure<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for Structure<'a>

    Source§

    fn eq(&self, other: &Structure<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> Eq for Structure<'a>

    Source§

    impl<'a> StructuralPartialEq for Structure<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for Structure<'a>

    §

    impl<'a> RefUnwindSafe for Structure<'a>

    §

    impl<'a> !Send for Structure<'a>

    §

    impl<'a> !Sync for Structure<'a>

    §

    impl<'a> Unpin for Structure<'a>

    §

    impl<'a> UnwindSafe for Structure<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/struct.VariantAst.html b/synstructure/struct.VariantAst.html index 1c20b2f..b49bce1 100644 --- a/synstructure/struct.VariantAst.html +++ b/synstructure/struct.VariantAst.html @@ -1,25 +1,25 @@ -VariantAst in synstructure - Rust
    synstructure

    Struct VariantAst

    source
    pub struct VariantAst<'a> {
    +VariantAst in synstructure - Rust
    synstructure

    Struct VariantAst

    Source
    pub struct VariantAst<'a> {
         pub attrs: &'a [Attribute],
         pub ident: &'a Ident,
         pub fields: &'a Fields,
    -    pub discriminant: &'a Option<(Eq, Expr)>,
    +    pub discriminant: &'a Option<(Eq, Expr)>,
     }
    Expand description

    This type is similar to syn’s Variant type, however each of the fields are references rather than owned. When this is used as the AST for a real variant, this struct simply borrows the fields of the syn::Variant, however this type may also be used as the sole variant for a struct.

    -

    Fields§

    §attrs: &'a [Attribute]§ident: &'a Ident§fields: &'a Fields§discriminant: &'a Option<(Eq, Expr)>

    Trait Implementations§

    source§

    impl<'a> Clone for VariantAst<'a>

    source§

    fn clone(&self) -> VariantAst<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for VariantAst<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for VariantAst<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for VariantAst<'a>

    source§

    fn eq(&self, other: &VariantAst<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> Copy for VariantAst<'a>

    source§

    impl<'a> Eq for VariantAst<'a>

    source§

    impl<'a> StructuralPartialEq for VariantAst<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for VariantAst<'a>

    §

    impl<'a> RefUnwindSafe for VariantAst<'a>

    §

    impl<'a> !Send for VariantAst<'a>

    §

    impl<'a> !Sync for VariantAst<'a>

    §

    impl<'a> Unpin for VariantAst<'a>

    §

    impl<'a> UnwindSafe for VariantAst<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Fields§

    §attrs: &'a [Attribute]§ident: &'a Ident§fields: &'a Fields§discriminant: &'a Option<(Eq, Expr)>

    Trait Implementations§

    Source§

    impl<'a> Clone for VariantAst<'a>

    Source§

    fn clone(&self) -> VariantAst<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for VariantAst<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for VariantAst<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for VariantAst<'a>

    Source§

    fn eq(&self, other: &VariantAst<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> Copy for VariantAst<'a>

    Source§

    impl<'a> Eq for VariantAst<'a>

    Source§

    impl<'a> StructuralPartialEq for VariantAst<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for VariantAst<'a>

    §

    impl<'a> RefUnwindSafe for VariantAst<'a>

    §

    impl<'a> !Send for VariantAst<'a>

    §

    impl<'a> !Sync for VariantAst<'a>

    §

    impl<'a> Unpin for VariantAst<'a>

    §

    impl<'a> UnwindSafe for VariantAst<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/struct.VariantInfo.html b/synstructure/struct.VariantInfo.html index 87a518a..1275251 100644 --- a/synstructure/struct.VariantInfo.html +++ b/synstructure/struct.VariantInfo.html @@ -1,14 +1,14 @@ -VariantInfo in synstructure - Rust
    synstructure

    Struct VariantInfo

    source
    pub struct VariantInfo<'a> {
    -    pub prefix: Option<&'a Ident>,
    +VariantInfo in synstructure - Rust
    synstructure

    Struct VariantInfo

    Source
    pub struct VariantInfo<'a> {
    +    pub prefix: Option<&'a Ident>,
         /* private fields */
     }
    Expand description

    A wrapper around a syn::DeriveInput’s variant which provides utilities for destructuring Variants with match expressions.

    -

    Fields§

    §prefix: Option<&'a Ident>

    Implementations§

    source§

    impl<'a> VariantInfo<'a>

    source

    pub fn bindings(&self) -> &[BindingInfo<'a>]

    Returns a slice of the bindings in this Variant.

    -
    source

    pub fn bindings_mut(&mut self) -> &mut [BindingInfo<'a>]

    Returns a mut slice of the bindings in this Variant.

    -
    source

    pub fn ast(&self) -> VariantAst<'a>

    Returns a VariantAst object which contains references to the +

    Fields§

    §prefix: Option<&'a Ident>

    Implementations§

    Source§

    impl<'a> VariantInfo<'a>

    Source

    pub fn bindings(&self) -> &[BindingInfo<'a>]

    Returns a slice of the bindings in this Variant.

    +
    Source

    pub fn bindings_mut(&mut self) -> &mut [BindingInfo<'a>]

    Returns a mut slice of the bindings in this Variant.

    +
    Source

    pub fn ast(&self) -> VariantAst<'a>

    Returns a VariantAst object which contains references to the underlying syn AST node which this Variant was created from.

    -
    source

    pub fn omitted_bindings(&self) -> bool

    True if any bindings were omitted due to a filter call.

    -
    source

    pub fn pat(&self) -> TokenStream

    Generates the match-arm pattern which could be used to match against this Variant.

    +
    Source

    pub fn omitted_bindings(&self) -> bool

    True if any bindings were omitted due to a filter call.

    +
    Source

    pub fn pat(&self) -> TokenStream

    Generates the match-arm pattern which could be used to match against this Variant.

    §Example
    let di: syn::DeriveInput = syn::parse_quote! {
         enum A {
    @@ -24,8 +24,8 @@ underlying syn AST node which this Variant was created
             A::B(ref __binding_0, ref __binding_1,)
         }.to_string()
     );
    -
    source

    pub fn construct<F, T>(&self, func: F) -> TokenStream
    where - F: FnMut(&Field, usize) -> T, +

    Source

    pub fn construct<F, T>(&self, func: F) -> TokenStream
    where + F: FnMut(&Field, usize) -> T, T: ToTokens,

    Generates the token stream required to construct the current variant.

    The init array initializes each of the fields in the order they are written in variant.ast().fields.

    @@ -53,8 +53,8 @@ written in variant.ast().fields.

    A::C{ v: 0usize, } }.to_string() );
    -
    source

    pub fn each<F, R>(&self, f: F) -> TokenStream
    where - F: FnMut(&BindingInfo<'_>) -> R, +

    Source

    pub fn each<F, R>(&self, f: F) -> TokenStream
    where + F: FnMut(&BindingInfo<'_>) -> R, R: ToTokens,

    Runs the passed-in function once for each bound field, passing in a BindingInfo. and generating a match arm which evaluates the returned tokens.

    This method will ignore fields which are ignored through the filter @@ -78,8 +78,8 @@ method.

    } }.to_string() );
    -
    source

    pub fn fold<F, I, R>(&self, init: I, f: F) -> TokenStream
    where - F: FnMut(TokenStream, &BindingInfo<'_>) -> R, +

    Source

    pub fn fold<F, I, R>(&self, init: I, f: F) -> TokenStream
    where + F: FnMut(TokenStream, &BindingInfo<'_>) -> R, I: ToTokens, R: ToTokens,

    Runs the passed-in function once for each bound field, passing in the result of the previous call, and a BindingInfo. generating a match @@ -104,8 +104,8 @@ method.

    } }.to_string() );
    -
    source

    pub fn filter<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&BindingInfo<'_>) -> bool,

    Filter the bindings created by this Variant object. This has 2 effects:

    +
    Source

    pub fn filter<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&BindingInfo<'_>) -> bool,

    Filter the bindings created by this Variant object. This has 2 effects:

    • The bindings will no longer appear in match arms generated by methods @@ -142,8 +142,8 @@ s.variants_mut()[0].filter(|bi| { } }.to_string() );

    -
    source

    pub fn drain_filter<F>(&mut self, f: F) -> Self
    where - F: FnMut(&BindingInfo<'_>) -> bool,

    Iterates all the bindings of this Variant object and uses a closure to determine if a +

    Source

    pub fn drain_filter<F>(&mut self, f: F) -> Self
    where + F: FnMut(&BindingInfo<'_>) -> bool,

    Iterates all the bindings of this Variant object and uses a closure to determine if a binding should be removed. If the closure returns true the binding is removed from the variant. If the closure returns false, the binding remains in the variant.

    All the removed bindings are moved to a new Variant object which is otherwise identical @@ -183,11 +183,11 @@ the

    source

    pub fn remove_binding(&mut self, idx: usize) -> &mut Self

    Remove the binding at the given index.

    +
    Source

    pub fn remove_binding(&mut self, idx: usize) -> &mut Self

    Remove the binding at the given index.

    §Panics

    Panics if the index is out of range.

    -
    source

    pub fn bind_with<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&BindingInfo<'_>) -> BindStyle,

    Updates the BindStyle for each of the passed-in fields by calling the +

    Source

    pub fn bind_with<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&BindingInfo<'_>) -> BindStyle,

    Updates the BindStyle for each of the passed-in fields by calling the passed-in function for each BindingInfo.

    §Example
    let di: syn::DeriveInput = syn::parse_quote! {
    @@ -213,8 +213,8 @@ s.variants_mut()[0].bind_with(|bi| BindStyle::RefMut
             }
         }.to_string()
     );
    -
    source

    pub fn binding_name<F>(&mut self, f: F) -> &mut Self
    where - F: FnMut(&Field, usize) -> Ident,

    Updates the binding name for each fo the passed-in fields by calling the +

    Source

    pub fn binding_name<F>(&mut self, f: F) -> &mut Self
    where + F: FnMut(&Field, usize) -> Ident,

    Updates the binding name for each fo the passed-in fields by calling the passed-in function for each BindingInfo.

    The function will be called with the BindingInfo and its index in the enclosing variant.

    @@ -244,7 +244,7 @@ s.variants_mut()[0].binding_name(|bi, i| bi.ident.cl } }.to_string() );
    -
    source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are referenced in this +

    Source

    pub fn referenced_ty_params(&self) -> Vec<&'a Ident>

    Returns a list of the type parameters which are referenced in this field’s type.

    §Caveat

    If the field contains any macros in type position, all parameters will @@ -263,19 +263,19 @@ parameters are bound by type macros.

    s.variants()[0].bindings()[0].referenced_ty_params(), &[&quote::format_ident!("T")] );
    -

    Trait Implementations§

    source§

    impl<'a> Clone for VariantInfo<'a>

    source§

    fn clone(&self) -> VariantInfo<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for VariantInfo<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Hash for VariantInfo<'a>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a> PartialEq for VariantInfo<'a>

    source§

    fn eq(&self, other: &VariantInfo<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a> Eq for VariantInfo<'a>

    source§

    impl<'a> StructuralPartialEq for VariantInfo<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for VariantInfo<'a>

    §

    impl<'a> RefUnwindSafe for VariantInfo<'a>

    §

    impl<'a> !Send for VariantInfo<'a>

    §

    impl<'a> !Sync for VariantInfo<'a>

    §

    impl<'a> Unpin for VariantInfo<'a>

    §

    impl<'a> UnwindSafe for VariantInfo<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    Trait Implementations§

    Source§

    impl<'a> Clone for VariantInfo<'a>

    Source§

    fn clone(&self) -> VariantInfo<'a>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<'a> Debug for VariantInfo<'a>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'a> Hash for VariantInfo<'a>

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl<'a> PartialEq for VariantInfo<'a>

    Source§

    fn eq(&self, other: &VariantInfo<'a>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl<'a> Eq for VariantInfo<'a>

    Source§

    impl<'a> StructuralPartialEq for VariantInfo<'a>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for VariantInfo<'a>

    §

    impl<'a> RefUnwindSafe for VariantInfo<'a>

    §

    impl<'a> !Send for VariantInfo<'a>

    §

    impl<'a> !Sync for VariantInfo<'a>

    §

    impl<'a> Unpin for VariantInfo<'a>

    §

    impl<'a> UnwindSafe for VariantInfo<'a>

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file +From<T> for U chooses to do.

    +
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    \ No newline at end of file diff --git a/synstructure/trait.MacroResult.html b/synstructure/trait.MacroResult.html index 1f386b1..1680503 100644 --- a/synstructure/trait.MacroResult.html +++ b/synstructure/trait.MacroResult.html @@ -1,18 +1,18 @@ -MacroResult in synstructure - Rust
    synstructure

    Trait MacroResult

    source
    pub trait MacroResult {
    +MacroResult in synstructure - Rust
    synstructure

    Trait MacroResult

    Source
    pub trait MacroResult {
         // Required method
         fn into_result(self) -> Result<TokenStream>;
     
         // Provided method
    -    fn into_stream(self) -> TokenStream
    -       where Self: Sized { ... }
    +    fn into_stream(self) -> TokenStream
    +       where Self: Sized { ... }
     }
    Expand description

    Helper trait describing values which may be returned by macro implementation methods used by this crate’s macros.

    -

    Required Methods§

    source

    fn into_result(self) -> Result<TokenStream>

    Convert this result into a Result for further processing / validation.

    -

    Provided Methods§

    source

    fn into_stream(self) -> TokenStream
    where - Self: Sized,

    Convert this result into a proc_macro::TokenStream, ready to return +

    Required Methods§

    Source

    fn into_result(self) -> Result<TokenStream>

    Convert this result into a Result for further processing / validation.

    +

    Provided Methods§

    Source

    fn into_stream(self) -> TokenStream
    where + Self: Sized,

    Convert this result into a proc_macro::TokenStream, ready to return from a native proc_macro implementation.

    If into_result() would return an Err, this method should instead generate a compile_error! invocation to nicely report the error.

    This method is available if synstructure is built with the "proc-macro" feature.

    -

    Implementations on Foreign Types§

    source§

    impl MacroResult for TokenStream

    source§

    impl MacroResult for TokenStream

    source§

    impl<T: MacroResult> MacroResult for Result<T>

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    Source§

    impl MacroResult for TokenStream

    Source§

    impl MacroResult for TokenStream

    Source§

    impl<T: MacroResult> MacroResult for Result<T>

    Implementors§

    \ No newline at end of file diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js index 3454ee9..5bed458 100644 --- a/trait.impl/core/clone/trait.Clone.js +++ b/trait.impl/core/clone/trait.Clone.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Clone for DefaultRenderer"],["impl Clone for RipgrepRenderer"],["impl Clone for Statistics"]]],["flexiber",[["impl Clone for Class"],["impl Clone for ErrorKind"],["impl Clone for Error"],["impl Clone for Length"],["impl Clone for SimpleTag"],["impl Clone for Tag"],["impl<'a> Clone for Slice<'a>"],["impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>"]]],["log",[["impl Clone for Level"],["impl Clone for LevelFilter"],["impl<'a> Clone for Metadata<'a>"],["impl<'a> Clone for Record<'a>"]]],["proc_macro2",[["impl Clone for Delimiter"],["impl Clone for Spacing"],["impl Clone for TokenTree"],["impl Clone for DelimSpan"],["impl Clone for Group"],["impl Clone for Ident"],["impl Clone for Literal"],["impl Clone for Punct"],["impl Clone for Span"],["impl Clone for TokenStream"],["impl Clone for IntoIter"]]],["syn",[["impl Clone for AttrStyle"],["impl Clone for BinOp"],["impl Clone for Data"],["impl Clone for Expr"],["impl Clone for FieldMutability"],["impl Clone for Fields"],["impl Clone for GenericArgument"],["impl Clone for GenericParam"],["impl Clone for Lit"],["impl Clone for MacroDelimiter"],["impl Clone for Member"],["impl Clone for Meta"],["impl Clone for PathArguments"],["impl Clone for ReturnType"],["impl Clone for TraitBoundModifier"],["impl Clone for Type"],["impl Clone for TypeParamBound"],["impl Clone for UnOp"],["impl Clone for Visibility"],["impl Clone for WherePredicate"],["impl Clone for End"],["impl Clone for Error"],["impl Clone for Nothing"],["impl Clone for Abi"],["impl Clone for AngleBracketedGenericArguments"],["impl Clone for AssocConst"],["impl Clone for AssocType"],["impl Clone for Attribute"],["impl Clone for BareFnArg"],["impl Clone for BareVariadic"],["impl Clone for BoundLifetimes"],["impl Clone for ConstParam"],["impl Clone for Constraint"],["impl Clone for DataEnum"],["impl Clone for DataStruct"],["impl Clone for DataUnion"],["impl Clone for DeriveInput"],["impl Clone for ExprBinary"],["impl Clone for ExprCall"],["impl Clone for ExprCast"],["impl Clone for ExprField"],["impl Clone for ExprGroup"],["impl Clone for ExprIndex"],["impl Clone for ExprLit"],["impl Clone for ExprMacro"],["impl Clone for ExprMethodCall"],["impl Clone for ExprParen"],["impl Clone for ExprPath"],["impl Clone for ExprReference"],["impl Clone for ExprStruct"],["impl Clone for ExprTuple"],["impl Clone for ExprUnary"],["impl Clone for Field"],["impl Clone for FieldValue"],["impl Clone for FieldsNamed"],["impl Clone for FieldsUnnamed"],["impl Clone for Generics"],["impl Clone for Index"],["impl Clone for Lifetime"],["impl Clone for LifetimeParam"],["impl Clone for LitBool"],["impl Clone for LitByte"],["impl Clone for LitByteStr"],["impl Clone for LitCStr"],["impl Clone for LitChar"],["impl Clone for LitFloat"],["impl Clone for LitInt"],["impl Clone for LitStr"],["impl Clone for Macro"],["impl Clone for MetaList"],["impl Clone for MetaNameValue"],["impl Clone for ParenthesizedGenericArguments"],["impl Clone for Path"],["impl Clone for PathSegment"],["impl Clone for PredicateLifetime"],["impl Clone for PredicateType"],["impl Clone for QSelf"],["impl Clone for TraitBound"],["impl Clone for TypeArray"],["impl Clone for TypeBareFn"],["impl Clone for TypeGroup"],["impl Clone for TypeImplTrait"],["impl Clone for TypeInfer"],["impl Clone for TypeMacro"],["impl Clone for TypeNever"],["impl Clone for TypeParam"],["impl Clone for TypeParen"],["impl Clone for TypePath"],["impl Clone for TypePtr"],["impl Clone for TypeReference"],["impl Clone for TypeSlice"],["impl Clone for TypeTraitObject"],["impl Clone for TypeTuple"],["impl Clone for Variant"],["impl Clone for VisRestricted"],["impl Clone for WhereClause"],["impl Clone for Abstract"],["impl Clone for And"],["impl Clone for AndAnd"],["impl Clone for AndEq"],["impl Clone for As"],["impl Clone for Async"],["impl Clone for At"],["impl Clone for Auto"],["impl Clone for Await"],["impl Clone for Become"],["impl Clone for Box"],["impl Clone for Brace"],["impl Clone for Bracket"],["impl Clone for Break"],["impl Clone for Caret"],["impl Clone for CaretEq"],["impl Clone for Colon"],["impl Clone for Comma"],["impl Clone for Const"],["impl Clone for Continue"],["impl Clone for Crate"],["impl Clone for Default"],["impl Clone for Do"],["impl Clone for Dollar"],["impl Clone for Dot"],["impl Clone for DotDot"],["impl Clone for DotDotDot"],["impl Clone for DotDotEq"],["impl Clone for Dyn"],["impl Clone for Else"],["impl Clone for Enum"],["impl Clone for Eq"],["impl Clone for EqEq"],["impl Clone for Extern"],["impl Clone for FatArrow"],["impl Clone for Final"],["impl Clone for Fn"],["impl Clone for For"],["impl Clone for Ge"],["impl Clone for Group"],["impl Clone for Gt"],["impl Clone for If"],["impl Clone for Impl"],["impl Clone for In"],["impl Clone for LArrow"],["impl Clone for Le"],["impl Clone for Let"],["impl Clone for Loop"],["impl Clone for Lt"],["impl Clone for Macro"],["impl Clone for Match"],["impl Clone for Minus"],["impl Clone for MinusEq"],["impl Clone for Mod"],["impl Clone for Move"],["impl Clone for Mut"],["impl Clone for Ne"],["impl Clone for Not"],["impl Clone for Or"],["impl Clone for OrEq"],["impl Clone for OrOr"],["impl Clone for Override"],["impl Clone for Paren"],["impl Clone for PathSep"],["impl Clone for Percent"],["impl Clone for PercentEq"],["impl Clone for Plus"],["impl Clone for PlusEq"],["impl Clone for Pound"],["impl Clone for Priv"],["impl Clone for Pub"],["impl Clone for Question"],["impl Clone for RArrow"],["impl Clone for Raw"],["impl Clone for Ref"],["impl Clone for Return"],["impl Clone for SelfType"],["impl Clone for SelfValue"],["impl Clone for Semi"],["impl Clone for Shl"],["impl Clone for ShlEq"],["impl Clone for Shr"],["impl Clone for ShrEq"],["impl Clone for Slash"],["impl Clone for SlashEq"],["impl Clone for Star"],["impl Clone for StarEq"],["impl Clone for Static"],["impl Clone for Struct"],["impl Clone for Super"],["impl Clone for Tilde"],["impl Clone for Trait"],["impl Clone for Try"],["impl Clone for Type"],["impl Clone for Typeof"],["impl Clone for Underscore"],["impl Clone for Union"],["impl Clone for Unsafe"],["impl Clone for Unsized"],["impl Clone for Use"],["impl Clone for Virtual"],["impl Clone for Where"],["impl Clone for While"],["impl Clone for Yield"],["impl<'a> Clone for Cursor<'a>"],["impl<'a> Clone for ImplGenerics<'a>"],["impl<'a> Clone for Turbofish<'a>"],["impl<'a> Clone for TypeGenerics<'a>"],["impl<'a, T> Clone for Iter<'a, T>"],["impl<'a, T, P> Clone for Pairs<'a, T, P>"],["impl<'c, 'a> Clone for StepCursor<'c, 'a>"],["impl<T> Clone for IntoIter<T>
    where\n T: Clone,
    "],["impl<T, P> Clone for Pair<T, P>
    where\n T: Clone,\n P: Clone,
    "],["impl<T, P> Clone for IntoPairs<T, P>
    where\n T: Clone,\n P: Clone,
    "],["impl<T, P> Clone for Punctuated<T, P>
    where\n T: Clone,\n P: Clone,
    "]]],["synstructure",[["impl Clone for AddBounds"],["impl Clone for BindStyle"],["impl<'a> Clone for BindingInfo<'a>"],["impl<'a> Clone for Structure<'a>"],["impl<'a> Clone for VariantAst<'a>"],["impl<'a> Clone for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["delog",[["impl Clone for DefaultRenderer"],["impl Clone for RipgrepRenderer"],["impl Clone for Statistics"]]],["flexiber",[["impl Clone for Class"],["impl Clone for ErrorKind"],["impl Clone for Error"],["impl Clone for Length"],["impl Clone for SimpleTag"],["impl Clone for Tag"],["impl<'a> Clone for Slice<'a>"],["impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>"]]],["log",[["impl Clone for Level"],["impl Clone for LevelFilter"],["impl<'a> Clone for Metadata<'a>"],["impl<'a> Clone for Record<'a>"]]],["proc_macro2",[["impl Clone for Delimiter"],["impl Clone for Spacing"],["impl Clone for TokenTree"],["impl Clone for DelimSpan"],["impl Clone for Group"],["impl Clone for Ident"],["impl Clone for Literal"],["impl Clone for Punct"],["impl Clone for Span"],["impl Clone for TokenStream"],["impl Clone for IntoIter"]]],["syn",[["impl Clone for AttrStyle"],["impl Clone for BinOp"],["impl Clone for Data"],["impl Clone for Expr"],["impl Clone for FieldMutability"],["impl Clone for Fields"],["impl Clone for GenericArgument"],["impl Clone for GenericParam"],["impl Clone for Lit"],["impl Clone for MacroDelimiter"],["impl Clone for Member"],["impl Clone for Meta"],["impl Clone for PathArguments"],["impl Clone for ReturnType"],["impl Clone for TraitBoundModifier"],["impl Clone for Type"],["impl Clone for TypeParamBound"],["impl Clone for UnOp"],["impl Clone for Visibility"],["impl Clone for WherePredicate"],["impl Clone for End"],["impl Clone for Error"],["impl Clone for Nothing"],["impl Clone for Abi"],["impl Clone for AngleBracketedGenericArguments"],["impl Clone for AssocConst"],["impl Clone for AssocType"],["impl Clone for Attribute"],["impl Clone for BareFnArg"],["impl Clone for BareVariadic"],["impl Clone for BoundLifetimes"],["impl Clone for ConstParam"],["impl Clone for Constraint"],["impl Clone for DataEnum"],["impl Clone for DataStruct"],["impl Clone for DataUnion"],["impl Clone for DeriveInput"],["impl Clone for ExprBinary"],["impl Clone for ExprCall"],["impl Clone for ExprCast"],["impl Clone for ExprField"],["impl Clone for ExprGroup"],["impl Clone for ExprIndex"],["impl Clone for ExprLit"],["impl Clone for ExprMacro"],["impl Clone for ExprMethodCall"],["impl Clone for ExprParen"],["impl Clone for ExprPath"],["impl Clone for ExprReference"],["impl Clone for ExprStruct"],["impl Clone for ExprTuple"],["impl Clone for ExprUnary"],["impl Clone for Field"],["impl Clone for FieldValue"],["impl Clone for FieldsNamed"],["impl Clone for FieldsUnnamed"],["impl Clone for Generics"],["impl Clone for Index"],["impl Clone for Lifetime"],["impl Clone for LifetimeParam"],["impl Clone for LitBool"],["impl Clone for LitByte"],["impl Clone for LitByteStr"],["impl Clone for LitCStr"],["impl Clone for LitChar"],["impl Clone for LitFloat"],["impl Clone for LitInt"],["impl Clone for LitStr"],["impl Clone for Macro"],["impl Clone for MetaList"],["impl Clone for MetaNameValue"],["impl Clone for ParenthesizedGenericArguments"],["impl Clone for Path"],["impl Clone for PathSegment"],["impl Clone for PredicateLifetime"],["impl Clone for PredicateType"],["impl Clone for QSelf"],["impl Clone for TraitBound"],["impl Clone for TypeArray"],["impl Clone for TypeBareFn"],["impl Clone for TypeGroup"],["impl Clone for TypeImplTrait"],["impl Clone for TypeInfer"],["impl Clone for TypeMacro"],["impl Clone for TypeNever"],["impl Clone for TypeParam"],["impl Clone for TypeParen"],["impl Clone for TypePath"],["impl Clone for TypePtr"],["impl Clone for TypeReference"],["impl Clone for TypeSlice"],["impl Clone for TypeTraitObject"],["impl Clone for TypeTuple"],["impl Clone for Variant"],["impl Clone for VisRestricted"],["impl Clone for WhereClause"],["impl Clone for Abstract"],["impl Clone for And"],["impl Clone for AndAnd"],["impl Clone for AndEq"],["impl Clone for As"],["impl Clone for Async"],["impl Clone for At"],["impl Clone for Auto"],["impl Clone for Await"],["impl Clone for Become"],["impl Clone for Box"],["impl Clone for Brace"],["impl Clone for Bracket"],["impl Clone for Break"],["impl Clone for Caret"],["impl Clone for CaretEq"],["impl Clone for Colon"],["impl Clone for Comma"],["impl Clone for Const"],["impl Clone for Continue"],["impl Clone for Crate"],["impl Clone for Default"],["impl Clone for Do"],["impl Clone for Dollar"],["impl Clone for Dot"],["impl Clone for DotDot"],["impl Clone for DotDotDot"],["impl Clone for DotDotEq"],["impl Clone for Dyn"],["impl Clone for Else"],["impl Clone for Enum"],["impl Clone for Eq"],["impl Clone for EqEq"],["impl Clone for Extern"],["impl Clone for FatArrow"],["impl Clone for Final"],["impl Clone for Fn"],["impl Clone for For"],["impl Clone for Ge"],["impl Clone for Group"],["impl Clone for Gt"],["impl Clone for If"],["impl Clone for Impl"],["impl Clone for In"],["impl Clone for LArrow"],["impl Clone for Le"],["impl Clone for Let"],["impl Clone for Loop"],["impl Clone for Lt"],["impl Clone for Macro"],["impl Clone for Match"],["impl Clone for Minus"],["impl Clone for MinusEq"],["impl Clone for Mod"],["impl Clone for Move"],["impl Clone for Mut"],["impl Clone for Ne"],["impl Clone for Not"],["impl Clone for Or"],["impl Clone for OrEq"],["impl Clone for OrOr"],["impl Clone for Override"],["impl Clone for Paren"],["impl Clone for PathSep"],["impl Clone for Percent"],["impl Clone for PercentEq"],["impl Clone for Plus"],["impl Clone for PlusEq"],["impl Clone for Pound"],["impl Clone for Priv"],["impl Clone for Pub"],["impl Clone for Question"],["impl Clone for RArrow"],["impl Clone for Raw"],["impl Clone for Ref"],["impl Clone for Return"],["impl Clone for SelfType"],["impl Clone for SelfValue"],["impl Clone for Semi"],["impl Clone for Shl"],["impl Clone for ShlEq"],["impl Clone for Shr"],["impl Clone for ShrEq"],["impl Clone for Slash"],["impl Clone for SlashEq"],["impl Clone for Star"],["impl Clone for StarEq"],["impl Clone for Static"],["impl Clone for Struct"],["impl Clone for Super"],["impl Clone for Tilde"],["impl Clone for Trait"],["impl Clone for Try"],["impl Clone for Type"],["impl Clone for Typeof"],["impl Clone for Underscore"],["impl Clone for Union"],["impl Clone for Unsafe"],["impl Clone for Unsized"],["impl Clone for Use"],["impl Clone for Virtual"],["impl Clone for Where"],["impl Clone for While"],["impl Clone for Yield"],["impl<'a> Clone for Cursor<'a>"],["impl<'a> Clone for ImplGenerics<'a>"],["impl<'a> Clone for Turbofish<'a>"],["impl<'a> Clone for TypeGenerics<'a>"],["impl<'a, T> Clone for Iter<'a, T>"],["impl<'a, T, P> Clone for Pairs<'a, T, P>"],["impl<'c, 'a> Clone for StepCursor<'c, 'a>"],["impl<T> Clone for IntoIter<T>
    where\n T: Clone,
    "],["impl<T, P> Clone for Pair<T, P>
    where\n T: Clone,\n P: Clone,
    "],["impl<T, P> Clone for IntoPairs<T, P>
    where\n T: Clone,\n P: Clone,
    "],["impl<T, P> Clone for Punctuated<T, P>
    where\n T: Clone,\n P: Clone,
    "]]],["synstructure",[["impl Clone for AddBounds"],["impl Clone for BindStyle"],["impl<'a> Clone for BindingInfo<'a>"],["impl<'a> Clone for Structure<'a>"],["impl<'a> Clone for VariantAst<'a>"],["impl<'a> Clone for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js index 56d551e..8811641 100644 --- a/trait.impl/core/cmp/trait.Eq.js +++ b/trait.impl/core/cmp/trait.Eq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl Eq for Class"],["impl Eq for ErrorKind"],["impl Eq for Error"],["impl Eq for Length"],["impl Eq for SimpleTag"],["impl Eq for Tag"],["impl<'a> Eq for Slice<'a>"],["impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>"]]],["log",[["impl Eq for Level"],["impl Eq for LevelFilter"],["impl Eq for ParseLevelError"],["impl<'a> Eq for Metadata<'a>"],["impl<'a> Eq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Eq for Delimiter"],["impl Eq for Spacing"],["impl Eq for Ident"]]],["syn",[["impl Eq for AttrStyle"],["impl Eq for BinOp"],["impl Eq for Data"],["impl Eq for Expr"],["impl Eq for FieldMutability"],["impl Eq for Fields"],["impl Eq for GenericArgument"],["impl Eq for GenericParam"],["impl Eq for Lit"],["impl Eq for MacroDelimiter"],["impl Eq for Member"],["impl Eq for Meta"],["impl Eq for PathArguments"],["impl Eq for ReturnType"],["impl Eq for TraitBoundModifier"],["impl Eq for Type"],["impl Eq for TypeParamBound"],["impl Eq for UnOp"],["impl Eq for Visibility"],["impl Eq for WherePredicate"],["impl Eq for Nothing"],["impl Eq for Abi"],["impl Eq for AngleBracketedGenericArguments"],["impl Eq for AssocConst"],["impl Eq for AssocType"],["impl Eq for Attribute"],["impl Eq for BareFnArg"],["impl Eq for BareVariadic"],["impl Eq for BoundLifetimes"],["impl Eq for ConstParam"],["impl Eq for Constraint"],["impl Eq for DataEnum"],["impl Eq for DataStruct"],["impl Eq for DataUnion"],["impl Eq for DeriveInput"],["impl Eq for ExprBinary"],["impl Eq for ExprCall"],["impl Eq for ExprCast"],["impl Eq for ExprField"],["impl Eq for ExprGroup"],["impl Eq for ExprIndex"],["impl Eq for ExprLit"],["impl Eq for ExprMacro"],["impl Eq for ExprMethodCall"],["impl Eq for ExprParen"],["impl Eq for ExprPath"],["impl Eq for ExprReference"],["impl Eq for ExprStruct"],["impl Eq for ExprTuple"],["impl Eq for ExprUnary"],["impl Eq for Field"],["impl Eq for FieldValue"],["impl Eq for FieldsNamed"],["impl Eq for FieldsUnnamed"],["impl Eq for Generics"],["impl Eq for Index"],["impl Eq for Lifetime"],["impl Eq for LifetimeParam"],["impl Eq for LitBool"],["impl Eq for LitByte"],["impl Eq for LitByteStr"],["impl Eq for LitCStr"],["impl Eq for LitChar"],["impl Eq for LitFloat"],["impl Eq for LitInt"],["impl Eq for LitStr"],["impl Eq for Macro"],["impl Eq for MetaList"],["impl Eq for MetaNameValue"],["impl Eq for ParenthesizedGenericArguments"],["impl Eq for Path"],["impl Eq for PathSegment"],["impl Eq for PredicateLifetime"],["impl Eq for PredicateType"],["impl Eq for QSelf"],["impl Eq for TraitBound"],["impl Eq for TypeArray"],["impl Eq for TypeBareFn"],["impl Eq for TypeGroup"],["impl Eq for TypeImplTrait"],["impl Eq for TypeInfer"],["impl Eq for TypeMacro"],["impl Eq for TypeNever"],["impl Eq for TypeParam"],["impl Eq for TypeParen"],["impl Eq for TypePath"],["impl Eq for TypePtr"],["impl Eq for TypeReference"],["impl Eq for TypeSlice"],["impl Eq for TypeTraitObject"],["impl Eq for TypeTuple"],["impl Eq for Variant"],["impl Eq for VisRestricted"],["impl Eq for WhereClause"],["impl Eq for Abstract"],["impl Eq for And"],["impl Eq for AndAnd"],["impl Eq for AndEq"],["impl Eq for As"],["impl Eq for Async"],["impl Eq for At"],["impl Eq for Auto"],["impl Eq for Await"],["impl Eq for Become"],["impl Eq for Box"],["impl Eq for Brace"],["impl Eq for Bracket"],["impl Eq for Break"],["impl Eq for Caret"],["impl Eq for CaretEq"],["impl Eq for Colon"],["impl Eq for Comma"],["impl Eq for Const"],["impl Eq for Continue"],["impl Eq for Crate"],["impl Eq for Default"],["impl Eq for Do"],["impl Eq for Dollar"],["impl Eq for Dot"],["impl Eq for DotDot"],["impl Eq for DotDotDot"],["impl Eq for DotDotEq"],["impl Eq for Dyn"],["impl Eq for Else"],["impl Eq for Enum"],["impl Eq for Eq"],["impl Eq for EqEq"],["impl Eq for Extern"],["impl Eq for FatArrow"],["impl Eq for Final"],["impl Eq for Fn"],["impl Eq for For"],["impl Eq for Ge"],["impl Eq for Group"],["impl Eq for Gt"],["impl Eq for If"],["impl Eq for Impl"],["impl Eq for In"],["impl Eq for LArrow"],["impl Eq for Le"],["impl Eq for Let"],["impl Eq for Loop"],["impl Eq for Lt"],["impl Eq for Macro"],["impl Eq for Match"],["impl Eq for Minus"],["impl Eq for MinusEq"],["impl Eq for Mod"],["impl Eq for Move"],["impl Eq for Mut"],["impl Eq for Ne"],["impl Eq for Not"],["impl Eq for Or"],["impl Eq for OrEq"],["impl Eq for OrOr"],["impl Eq for Override"],["impl Eq for Paren"],["impl Eq for PathSep"],["impl Eq for Percent"],["impl Eq for PercentEq"],["impl Eq for Plus"],["impl Eq for PlusEq"],["impl Eq for Pound"],["impl Eq for Priv"],["impl Eq for Pub"],["impl Eq for Question"],["impl Eq for RArrow"],["impl Eq for Raw"],["impl Eq for Ref"],["impl Eq for Return"],["impl Eq for SelfType"],["impl Eq for SelfValue"],["impl Eq for Semi"],["impl Eq for Shl"],["impl Eq for ShlEq"],["impl Eq for Shr"],["impl Eq for ShrEq"],["impl Eq for Slash"],["impl Eq for SlashEq"],["impl Eq for Star"],["impl Eq for StarEq"],["impl Eq for Static"],["impl Eq for Struct"],["impl Eq for Super"],["impl Eq for Tilde"],["impl Eq for Trait"],["impl Eq for Try"],["impl Eq for Type"],["impl Eq for Typeof"],["impl Eq for Underscore"],["impl Eq for Union"],["impl Eq for Unsafe"],["impl Eq for Unsized"],["impl Eq for Use"],["impl Eq for Virtual"],["impl Eq for Where"],["impl Eq for While"],["impl Eq for Yield"],["impl<'a> Eq for Cursor<'a>"],["impl<'a> Eq for ImplGenerics<'a>"],["impl<'a> Eq for Turbofish<'a>"],["impl<'a> Eq for TypeGenerics<'a>"],["impl<T, P> Eq for Punctuated<T, P>
    where\n T: Eq,\n P: Eq,
    "]]],["synstructure",[["impl Eq for AddBounds"],["impl Eq for BindStyle"],["impl<'a> Eq for BindingInfo<'a>"],["impl<'a> Eq for Structure<'a>"],["impl<'a> Eq for VariantAst<'a>"],["impl<'a> Eq for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl Eq for Class"],["impl Eq for ErrorKind"],["impl Eq for Error"],["impl Eq for Length"],["impl Eq for SimpleTag"],["impl Eq for Tag"],["impl<'a> Eq for Slice<'a>"],["impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>"]]],["log",[["impl Eq for Level"],["impl Eq for LevelFilter"],["impl Eq for ParseLevelError"],["impl<'a> Eq for Metadata<'a>"],["impl<'a> Eq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Eq for Delimiter"],["impl Eq for Spacing"],["impl Eq for Ident"]]],["syn",[["impl Eq for AttrStyle"],["impl Eq for BinOp"],["impl Eq for Data"],["impl Eq for Expr"],["impl Eq for FieldMutability"],["impl Eq for Fields"],["impl Eq for GenericArgument"],["impl Eq for GenericParam"],["impl Eq for Lit"],["impl Eq for MacroDelimiter"],["impl Eq for Member"],["impl Eq for Meta"],["impl Eq for PathArguments"],["impl Eq for ReturnType"],["impl Eq for TraitBoundModifier"],["impl Eq for Type"],["impl Eq for TypeParamBound"],["impl Eq for UnOp"],["impl Eq for Visibility"],["impl Eq for WherePredicate"],["impl Eq for Nothing"],["impl Eq for Abi"],["impl Eq for AngleBracketedGenericArguments"],["impl Eq for AssocConst"],["impl Eq for AssocType"],["impl Eq for Attribute"],["impl Eq for BareFnArg"],["impl Eq for BareVariadic"],["impl Eq for BoundLifetimes"],["impl Eq for ConstParam"],["impl Eq for Constraint"],["impl Eq for DataEnum"],["impl Eq for DataStruct"],["impl Eq for DataUnion"],["impl Eq for DeriveInput"],["impl Eq for ExprBinary"],["impl Eq for ExprCall"],["impl Eq for ExprCast"],["impl Eq for ExprField"],["impl Eq for ExprGroup"],["impl Eq for ExprIndex"],["impl Eq for ExprLit"],["impl Eq for ExprMacro"],["impl Eq for ExprMethodCall"],["impl Eq for ExprParen"],["impl Eq for ExprPath"],["impl Eq for ExprReference"],["impl Eq for ExprStruct"],["impl Eq for ExprTuple"],["impl Eq for ExprUnary"],["impl Eq for Field"],["impl Eq for FieldValue"],["impl Eq for FieldsNamed"],["impl Eq for FieldsUnnamed"],["impl Eq for Generics"],["impl Eq for Index"],["impl Eq for Lifetime"],["impl Eq for LifetimeParam"],["impl Eq for LitBool"],["impl Eq for LitByte"],["impl Eq for LitByteStr"],["impl Eq for LitCStr"],["impl Eq for LitChar"],["impl Eq for LitFloat"],["impl Eq for LitInt"],["impl Eq for LitStr"],["impl Eq for Macro"],["impl Eq for MetaList"],["impl Eq for MetaNameValue"],["impl Eq for ParenthesizedGenericArguments"],["impl Eq for Path"],["impl Eq for PathSegment"],["impl Eq for PredicateLifetime"],["impl Eq for PredicateType"],["impl Eq for QSelf"],["impl Eq for TraitBound"],["impl Eq for TypeArray"],["impl Eq for TypeBareFn"],["impl Eq for TypeGroup"],["impl Eq for TypeImplTrait"],["impl Eq for TypeInfer"],["impl Eq for TypeMacro"],["impl Eq for TypeNever"],["impl Eq for TypeParam"],["impl Eq for TypeParen"],["impl Eq for TypePath"],["impl Eq for TypePtr"],["impl Eq for TypeReference"],["impl Eq for TypeSlice"],["impl Eq for TypeTraitObject"],["impl Eq for TypeTuple"],["impl Eq for Variant"],["impl Eq for VisRestricted"],["impl Eq for WhereClause"],["impl Eq for Abstract"],["impl Eq for And"],["impl Eq for AndAnd"],["impl Eq for AndEq"],["impl Eq for As"],["impl Eq for Async"],["impl Eq for At"],["impl Eq for Auto"],["impl Eq for Await"],["impl Eq for Become"],["impl Eq for Box"],["impl Eq for Brace"],["impl Eq for Bracket"],["impl Eq for Break"],["impl Eq for Caret"],["impl Eq for CaretEq"],["impl Eq for Colon"],["impl Eq for Comma"],["impl Eq for Const"],["impl Eq for Continue"],["impl Eq for Crate"],["impl Eq for Default"],["impl Eq for Do"],["impl Eq for Dollar"],["impl Eq for Dot"],["impl Eq for DotDot"],["impl Eq for DotDotDot"],["impl Eq for DotDotEq"],["impl Eq for Dyn"],["impl Eq for Else"],["impl Eq for Enum"],["impl Eq for Eq"],["impl Eq for EqEq"],["impl Eq for Extern"],["impl Eq for FatArrow"],["impl Eq for Final"],["impl Eq for Fn"],["impl Eq for For"],["impl Eq for Ge"],["impl Eq for Group"],["impl Eq for Gt"],["impl Eq for If"],["impl Eq for Impl"],["impl Eq for In"],["impl Eq for LArrow"],["impl Eq for Le"],["impl Eq for Let"],["impl Eq for Loop"],["impl Eq for Lt"],["impl Eq for Macro"],["impl Eq for Match"],["impl Eq for Minus"],["impl Eq for MinusEq"],["impl Eq for Mod"],["impl Eq for Move"],["impl Eq for Mut"],["impl Eq for Ne"],["impl Eq for Not"],["impl Eq for Or"],["impl Eq for OrEq"],["impl Eq for OrOr"],["impl Eq for Override"],["impl Eq for Paren"],["impl Eq for PathSep"],["impl Eq for Percent"],["impl Eq for PercentEq"],["impl Eq for Plus"],["impl Eq for PlusEq"],["impl Eq for Pound"],["impl Eq for Priv"],["impl Eq for Pub"],["impl Eq for Question"],["impl Eq for RArrow"],["impl Eq for Raw"],["impl Eq for Ref"],["impl Eq for Return"],["impl Eq for SelfType"],["impl Eq for SelfValue"],["impl Eq for Semi"],["impl Eq for Shl"],["impl Eq for ShlEq"],["impl Eq for Shr"],["impl Eq for ShrEq"],["impl Eq for Slash"],["impl Eq for SlashEq"],["impl Eq for Star"],["impl Eq for StarEq"],["impl Eq for Static"],["impl Eq for Struct"],["impl Eq for Super"],["impl Eq for Tilde"],["impl Eq for Trait"],["impl Eq for Try"],["impl Eq for Type"],["impl Eq for Typeof"],["impl Eq for Underscore"],["impl Eq for Union"],["impl Eq for Unsafe"],["impl Eq for Unsized"],["impl Eq for Use"],["impl Eq for Virtual"],["impl Eq for Where"],["impl Eq for While"],["impl Eq for Yield"],["impl<'a> Eq for Cursor<'a>"],["impl<'a> Eq for ImplGenerics<'a>"],["impl<'a> Eq for Turbofish<'a>"],["impl<'a> Eq for TypeGenerics<'a>"],["impl<T, P> Eq for Punctuated<T, P>
    where\n T: Eq,\n P: Eq,
    "]]],["synstructure",[["impl Eq for AddBounds"],["impl Eq for BindStyle"],["impl<'a> Eq for BindingInfo<'a>"],["impl<'a> Eq for Structure<'a>"],["impl<'a> Eq for VariantAst<'a>"],["impl<'a> Eq for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js index e01a9e4..ac3348b 100644 --- a/trait.impl/core/cmp/trait.Ord.js +++ b/trait.impl/core/cmp/trait.Ord.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl Ord for Length"]]],["log",[["impl Ord for Level"],["impl Ord for LevelFilter"],["impl<'a> Ord for Metadata<'a>"],["impl<'a> Ord for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Ord for Ident"]]],["syn",[["impl Ord for Lifetime"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl Ord for Length"]]],["log",[["impl Ord for Level"],["impl Ord for LevelFilter"],["impl<'a> Ord for Metadata<'a>"],["impl<'a> Ord for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Ord for Ident"]]],["syn",[["impl Ord for Lifetime"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js index 8f8715f..7929318 100644 --- a/trait.impl/core/cmp/trait.PartialEq.js +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl PartialEq for Class"],["impl PartialEq for ErrorKind"],["impl PartialEq for Error"],["impl PartialEq for Length"],["impl PartialEq for SimpleTag"],["impl PartialEq for Tag"],["impl<'a> PartialEq for Slice<'a>"],["impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>"]]],["log",[["impl PartialEq for Level"],["impl PartialEq for LevelFilter"],["impl PartialEq for ParseLevelError"],["impl PartialEq<Level> for LevelFilter"],["impl PartialEq<LevelFilter> for Level"],["impl<'a> PartialEq for Metadata<'a>"],["impl<'a> PartialEq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl PartialEq for Delimiter"],["impl PartialEq for Spacing"],["impl PartialEq for Ident"],["impl<T> PartialEq<T> for Ident
    where\n T: ?Sized + AsRef<str>,
    "]]],["syn",[["impl PartialEq for AttrStyle"],["impl PartialEq for BinOp"],["impl PartialEq for Data"],["impl PartialEq for Expr"],["impl PartialEq for FieldMutability"],["impl PartialEq for Fields"],["impl PartialEq for GenericArgument"],["impl PartialEq for GenericParam"],["impl PartialEq for Lit"],["impl PartialEq for MacroDelimiter"],["impl PartialEq for Member"],["impl PartialEq for Meta"],["impl PartialEq for PathArguments"],["impl PartialEq for ReturnType"],["impl PartialEq for TraitBoundModifier"],["impl PartialEq for Type"],["impl PartialEq for TypeParamBound"],["impl PartialEq for UnOp"],["impl PartialEq for Visibility"],["impl PartialEq for WherePredicate"],["impl PartialEq for Nothing"],["impl PartialEq for Abi"],["impl PartialEq for AngleBracketedGenericArguments"],["impl PartialEq for AssocConst"],["impl PartialEq for AssocType"],["impl PartialEq for Attribute"],["impl PartialEq for BareFnArg"],["impl PartialEq for BareVariadic"],["impl PartialEq for BoundLifetimes"],["impl PartialEq for ConstParam"],["impl PartialEq for Constraint"],["impl PartialEq for DataEnum"],["impl PartialEq for DataStruct"],["impl PartialEq for DataUnion"],["impl PartialEq for DeriveInput"],["impl PartialEq for ExprBinary"],["impl PartialEq for ExprCall"],["impl PartialEq for ExprCast"],["impl PartialEq for ExprField"],["impl PartialEq for ExprGroup"],["impl PartialEq for ExprIndex"],["impl PartialEq for ExprLit"],["impl PartialEq for ExprMacro"],["impl PartialEq for ExprMethodCall"],["impl PartialEq for ExprParen"],["impl PartialEq for ExprPath"],["impl PartialEq for ExprReference"],["impl PartialEq for ExprStruct"],["impl PartialEq for ExprTuple"],["impl PartialEq for ExprUnary"],["impl PartialEq for Field"],["impl PartialEq for FieldValue"],["impl PartialEq for FieldsNamed"],["impl PartialEq for FieldsUnnamed"],["impl PartialEq for Generics"],["impl PartialEq for Index"],["impl PartialEq for Lifetime"],["impl PartialEq for LifetimeParam"],["impl PartialEq for LitBool"],["impl PartialEq for LitByte"],["impl PartialEq for LitByteStr"],["impl PartialEq for LitCStr"],["impl PartialEq for LitChar"],["impl PartialEq for LitFloat"],["impl PartialEq for LitInt"],["impl PartialEq for LitStr"],["impl PartialEq for Macro"],["impl PartialEq for MetaList"],["impl PartialEq for MetaNameValue"],["impl PartialEq for ParenthesizedGenericArguments"],["impl PartialEq for Path"],["impl PartialEq for PathSegment"],["impl PartialEq for PredicateLifetime"],["impl PartialEq for PredicateType"],["impl PartialEq for QSelf"],["impl PartialEq for TraitBound"],["impl PartialEq for TypeArray"],["impl PartialEq for TypeBareFn"],["impl PartialEq for TypeGroup"],["impl PartialEq for TypeImplTrait"],["impl PartialEq for TypeInfer"],["impl PartialEq for TypeMacro"],["impl PartialEq for TypeNever"],["impl PartialEq for TypeParam"],["impl PartialEq for TypeParen"],["impl PartialEq for TypePath"],["impl PartialEq for TypePtr"],["impl PartialEq for TypeReference"],["impl PartialEq for TypeSlice"],["impl PartialEq for TypeTraitObject"],["impl PartialEq for TypeTuple"],["impl PartialEq for Variant"],["impl PartialEq for VisRestricted"],["impl PartialEq for WhereClause"],["impl PartialEq for Abstract"],["impl PartialEq for And"],["impl PartialEq for AndAnd"],["impl PartialEq for AndEq"],["impl PartialEq for As"],["impl PartialEq for Async"],["impl PartialEq for At"],["impl PartialEq for Auto"],["impl PartialEq for Await"],["impl PartialEq for Become"],["impl PartialEq for Box"],["impl PartialEq for Brace"],["impl PartialEq for Bracket"],["impl PartialEq for Break"],["impl PartialEq for Caret"],["impl PartialEq for CaretEq"],["impl PartialEq for Colon"],["impl PartialEq for Comma"],["impl PartialEq for Const"],["impl PartialEq for Continue"],["impl PartialEq for Crate"],["impl PartialEq for Default"],["impl PartialEq for Do"],["impl PartialEq for Dollar"],["impl PartialEq for Dot"],["impl PartialEq for DotDot"],["impl PartialEq for DotDotDot"],["impl PartialEq for DotDotEq"],["impl PartialEq for Dyn"],["impl PartialEq for Else"],["impl PartialEq for Enum"],["impl PartialEq for Eq"],["impl PartialEq for EqEq"],["impl PartialEq for Extern"],["impl PartialEq for FatArrow"],["impl PartialEq for Final"],["impl PartialEq for Fn"],["impl PartialEq for For"],["impl PartialEq for Ge"],["impl PartialEq for Group"],["impl PartialEq for Gt"],["impl PartialEq for If"],["impl PartialEq for Impl"],["impl PartialEq for In"],["impl PartialEq for LArrow"],["impl PartialEq for Le"],["impl PartialEq for Let"],["impl PartialEq for Loop"],["impl PartialEq for Lt"],["impl PartialEq for Macro"],["impl PartialEq for Match"],["impl PartialEq for Minus"],["impl PartialEq for MinusEq"],["impl PartialEq for Mod"],["impl PartialEq for Move"],["impl PartialEq for Mut"],["impl PartialEq for Ne"],["impl PartialEq for Not"],["impl PartialEq for Or"],["impl PartialEq for OrEq"],["impl PartialEq for OrOr"],["impl PartialEq for Override"],["impl PartialEq for Paren"],["impl PartialEq for PathSep"],["impl PartialEq for Percent"],["impl PartialEq for PercentEq"],["impl PartialEq for Plus"],["impl PartialEq for PlusEq"],["impl PartialEq for Pound"],["impl PartialEq for Priv"],["impl PartialEq for Pub"],["impl PartialEq for Question"],["impl PartialEq for RArrow"],["impl PartialEq for Raw"],["impl PartialEq for Ref"],["impl PartialEq for Return"],["impl PartialEq for SelfType"],["impl PartialEq for SelfValue"],["impl PartialEq for Semi"],["impl PartialEq for Shl"],["impl PartialEq for ShlEq"],["impl PartialEq for Shr"],["impl PartialEq for ShrEq"],["impl PartialEq for Slash"],["impl PartialEq for SlashEq"],["impl PartialEq for Star"],["impl PartialEq for StarEq"],["impl PartialEq for Static"],["impl PartialEq for Struct"],["impl PartialEq for Super"],["impl PartialEq for Tilde"],["impl PartialEq for Trait"],["impl PartialEq for Try"],["impl PartialEq for Type"],["impl PartialEq for Typeof"],["impl PartialEq for Underscore"],["impl PartialEq for Union"],["impl PartialEq for Unsafe"],["impl PartialEq for Unsized"],["impl PartialEq for Use"],["impl PartialEq for Virtual"],["impl PartialEq for Where"],["impl PartialEq for While"],["impl PartialEq for Yield"],["impl<'a> PartialEq for Cursor<'a>"],["impl<'a> PartialEq for ImplGenerics<'a>"],["impl<'a> PartialEq for Turbofish<'a>"],["impl<'a> PartialEq for TypeGenerics<'a>"],["impl<T, P> PartialEq for Punctuated<T, P>
    where\n T: PartialEq,\n P: PartialEq,
    "]]],["synstructure",[["impl PartialEq for AddBounds"],["impl PartialEq for BindStyle"],["impl<'a> PartialEq for BindingInfo<'a>"],["impl<'a> PartialEq for Structure<'a>"],["impl<'a> PartialEq for VariantAst<'a>"],["impl<'a> PartialEq for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl PartialEq for Class"],["impl PartialEq for ErrorKind"],["impl PartialEq for Error"],["impl PartialEq for Length"],["impl PartialEq for SimpleTag"],["impl PartialEq for Tag"],["impl<'a> PartialEq for Slice<'a>"],["impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>"]]],["log",[["impl PartialEq for Level"],["impl PartialEq for LevelFilter"],["impl PartialEq for ParseLevelError"],["impl PartialEq<Level> for LevelFilter"],["impl PartialEq<LevelFilter> for Level"],["impl<'a> PartialEq for Metadata<'a>"],["impl<'a> PartialEq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl PartialEq for Delimiter"],["impl PartialEq for Spacing"],["impl PartialEq for Ident"],["impl<T> PartialEq<T> for Ident
    where\n T: ?Sized + AsRef<str>,
    "]]],["syn",[["impl PartialEq for AttrStyle"],["impl PartialEq for BinOp"],["impl PartialEq for Data"],["impl PartialEq for Expr"],["impl PartialEq for FieldMutability"],["impl PartialEq for Fields"],["impl PartialEq for GenericArgument"],["impl PartialEq for GenericParam"],["impl PartialEq for Lit"],["impl PartialEq for MacroDelimiter"],["impl PartialEq for Member"],["impl PartialEq for Meta"],["impl PartialEq for PathArguments"],["impl PartialEq for ReturnType"],["impl PartialEq for TraitBoundModifier"],["impl PartialEq for Type"],["impl PartialEq for TypeParamBound"],["impl PartialEq for UnOp"],["impl PartialEq for Visibility"],["impl PartialEq for WherePredicate"],["impl PartialEq for Nothing"],["impl PartialEq for Abi"],["impl PartialEq for AngleBracketedGenericArguments"],["impl PartialEq for AssocConst"],["impl PartialEq for AssocType"],["impl PartialEq for Attribute"],["impl PartialEq for BareFnArg"],["impl PartialEq for BareVariadic"],["impl PartialEq for BoundLifetimes"],["impl PartialEq for ConstParam"],["impl PartialEq for Constraint"],["impl PartialEq for DataEnum"],["impl PartialEq for DataStruct"],["impl PartialEq for DataUnion"],["impl PartialEq for DeriveInput"],["impl PartialEq for ExprBinary"],["impl PartialEq for ExprCall"],["impl PartialEq for ExprCast"],["impl PartialEq for ExprField"],["impl PartialEq for ExprGroup"],["impl PartialEq for ExprIndex"],["impl PartialEq for ExprLit"],["impl PartialEq for ExprMacro"],["impl PartialEq for ExprMethodCall"],["impl PartialEq for ExprParen"],["impl PartialEq for ExprPath"],["impl PartialEq for ExprReference"],["impl PartialEq for ExprStruct"],["impl PartialEq for ExprTuple"],["impl PartialEq for ExprUnary"],["impl PartialEq for Field"],["impl PartialEq for FieldValue"],["impl PartialEq for FieldsNamed"],["impl PartialEq for FieldsUnnamed"],["impl PartialEq for Generics"],["impl PartialEq for Index"],["impl PartialEq for Lifetime"],["impl PartialEq for LifetimeParam"],["impl PartialEq for LitBool"],["impl PartialEq for LitByte"],["impl PartialEq for LitByteStr"],["impl PartialEq for LitCStr"],["impl PartialEq for LitChar"],["impl PartialEq for LitFloat"],["impl PartialEq for LitInt"],["impl PartialEq for LitStr"],["impl PartialEq for Macro"],["impl PartialEq for MetaList"],["impl PartialEq for MetaNameValue"],["impl PartialEq for ParenthesizedGenericArguments"],["impl PartialEq for Path"],["impl PartialEq for PathSegment"],["impl PartialEq for PredicateLifetime"],["impl PartialEq for PredicateType"],["impl PartialEq for QSelf"],["impl PartialEq for TraitBound"],["impl PartialEq for TypeArray"],["impl PartialEq for TypeBareFn"],["impl PartialEq for TypeGroup"],["impl PartialEq for TypeImplTrait"],["impl PartialEq for TypeInfer"],["impl PartialEq for TypeMacro"],["impl PartialEq for TypeNever"],["impl PartialEq for TypeParam"],["impl PartialEq for TypeParen"],["impl PartialEq for TypePath"],["impl PartialEq for TypePtr"],["impl PartialEq for TypeReference"],["impl PartialEq for TypeSlice"],["impl PartialEq for TypeTraitObject"],["impl PartialEq for TypeTuple"],["impl PartialEq for Variant"],["impl PartialEq for VisRestricted"],["impl PartialEq for WhereClause"],["impl PartialEq for Abstract"],["impl PartialEq for And"],["impl PartialEq for AndAnd"],["impl PartialEq for AndEq"],["impl PartialEq for As"],["impl PartialEq for Async"],["impl PartialEq for At"],["impl PartialEq for Auto"],["impl PartialEq for Await"],["impl PartialEq for Become"],["impl PartialEq for Box"],["impl PartialEq for Brace"],["impl PartialEq for Bracket"],["impl PartialEq for Break"],["impl PartialEq for Caret"],["impl PartialEq for CaretEq"],["impl PartialEq for Colon"],["impl PartialEq for Comma"],["impl PartialEq for Const"],["impl PartialEq for Continue"],["impl PartialEq for Crate"],["impl PartialEq for Default"],["impl PartialEq for Do"],["impl PartialEq for Dollar"],["impl PartialEq for Dot"],["impl PartialEq for DotDot"],["impl PartialEq for DotDotDot"],["impl PartialEq for DotDotEq"],["impl PartialEq for Dyn"],["impl PartialEq for Else"],["impl PartialEq for Enum"],["impl PartialEq for Eq"],["impl PartialEq for EqEq"],["impl PartialEq for Extern"],["impl PartialEq for FatArrow"],["impl PartialEq for Final"],["impl PartialEq for Fn"],["impl PartialEq for For"],["impl PartialEq for Ge"],["impl PartialEq for Group"],["impl PartialEq for Gt"],["impl PartialEq for If"],["impl PartialEq for Impl"],["impl PartialEq for In"],["impl PartialEq for LArrow"],["impl PartialEq for Le"],["impl PartialEq for Let"],["impl PartialEq for Loop"],["impl PartialEq for Lt"],["impl PartialEq for Macro"],["impl PartialEq for Match"],["impl PartialEq for Minus"],["impl PartialEq for MinusEq"],["impl PartialEq for Mod"],["impl PartialEq for Move"],["impl PartialEq for Mut"],["impl PartialEq for Ne"],["impl PartialEq for Not"],["impl PartialEq for Or"],["impl PartialEq for OrEq"],["impl PartialEq for OrOr"],["impl PartialEq for Override"],["impl PartialEq for Paren"],["impl PartialEq for PathSep"],["impl PartialEq for Percent"],["impl PartialEq for PercentEq"],["impl PartialEq for Plus"],["impl PartialEq for PlusEq"],["impl PartialEq for Pound"],["impl PartialEq for Priv"],["impl PartialEq for Pub"],["impl PartialEq for Question"],["impl PartialEq for RArrow"],["impl PartialEq for Raw"],["impl PartialEq for Ref"],["impl PartialEq for Return"],["impl PartialEq for SelfType"],["impl PartialEq for SelfValue"],["impl PartialEq for Semi"],["impl PartialEq for Shl"],["impl PartialEq for ShlEq"],["impl PartialEq for Shr"],["impl PartialEq for ShrEq"],["impl PartialEq for Slash"],["impl PartialEq for SlashEq"],["impl PartialEq for Star"],["impl PartialEq for StarEq"],["impl PartialEq for Static"],["impl PartialEq for Struct"],["impl PartialEq for Super"],["impl PartialEq for Tilde"],["impl PartialEq for Trait"],["impl PartialEq for Try"],["impl PartialEq for Type"],["impl PartialEq for Typeof"],["impl PartialEq for Underscore"],["impl PartialEq for Union"],["impl PartialEq for Unsafe"],["impl PartialEq for Unsized"],["impl PartialEq for Use"],["impl PartialEq for Virtual"],["impl PartialEq for Where"],["impl PartialEq for While"],["impl PartialEq for Yield"],["impl<'a> PartialEq for Cursor<'a>"],["impl<'a> PartialEq for ImplGenerics<'a>"],["impl<'a> PartialEq for Turbofish<'a>"],["impl<'a> PartialEq for TypeGenerics<'a>"],["impl<T, P> PartialEq for Punctuated<T, P>
    where\n T: PartialEq,\n P: PartialEq,
    "]]],["synstructure",[["impl PartialEq for AddBounds"],["impl PartialEq for BindStyle"],["impl<'a> PartialEq for BindingInfo<'a>"],["impl<'a> PartialEq for Structure<'a>"],["impl<'a> PartialEq for VariantAst<'a>"],["impl<'a> PartialEq for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js index 5792458..5760e15 100644 --- a/trait.impl/core/cmp/trait.PartialOrd.js +++ b/trait.impl/core/cmp/trait.PartialOrd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl PartialOrd for Length"]]],["log",[["impl PartialOrd for Level"],["impl PartialOrd for LevelFilter"],["impl PartialOrd<Level> for LevelFilter"],["impl PartialOrd<LevelFilter> for Level"],["impl<'a> PartialOrd for Metadata<'a>"],["impl<'a> PartialOrd for MetadataBuilder<'a>"]]],["proc_macro2",[["impl PartialOrd for Ident"]]],["syn",[["impl PartialOrd for Lifetime"],["impl<'a> PartialOrd for Cursor<'a>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl PartialOrd for Length"]]],["log",[["impl PartialOrd for Level"],["impl PartialOrd for LevelFilter"],["impl PartialOrd<Level> for LevelFilter"],["impl PartialOrd<LevelFilter> for Level"],["impl<'a> PartialOrd for Metadata<'a>"],["impl<'a> PartialOrd for MetadataBuilder<'a>"]]],["proc_macro2",[["impl PartialOrd for Ident"]]],["syn",[["impl PartialOrd for Lifetime"],["impl<'a> PartialOrd for Cursor<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.AsRef.js b/trait.impl/core/convert/trait.AsRef.js index f0a0e74..ddd8988 100644 --- a/trait.impl/core/convert/trait.AsRef.js +++ b/trait.impl/core/convert/trait.AsRef.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl AsRef<[u8]> for Slice<'_>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl AsRef<[u8]> for Slice<'_>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js index 02256f9..4e15e27 100644 --- a/trait.impl/core/convert/trait.From.js +++ b/trait.impl/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl From<ErrorKind> for Error"],["impl From<Infallible> for Error"],["impl From<u16> for Length"],["impl From<u8> for Length"],["impl From<Length> for u16"],["impl From<Length> for usize"],["impl<'a> From<&'a [u8]> for Decoder<'a>"]]],["proc_macro2",[["impl From<TokenTree> for TokenStream"],["impl From<Span> for Span"],["impl From<TokenStream> for TokenStream"],["impl From<Group> for TokenTree"],["impl From<Ident> for TokenTree"],["impl From<Literal> for TokenTree"],["impl From<Punct> for TokenTree"],["impl From<TokenStream> for TokenStream"]]],["syn",[["impl From<usize> for Member"],["impl From<usize> for Index"],["impl From<LexError> for Error"],["impl From<Literal> for LitFloat"],["impl From<Literal> for LitInt"],["impl From<ConstParam> for GenericParam"],["impl From<ExprArray> for Expr"],["impl From<ExprAssign> for Expr"],["impl From<ExprAsync> for Expr"],["impl From<ExprAwait> for Expr"],["impl From<ExprBinary> for Expr"],["impl From<ExprBlock> for Expr"],["impl From<ExprBreak> for Expr"],["impl From<ExprCall> for Expr"],["impl From<ExprCast> for Expr"],["impl From<ExprClosure> for Expr"],["impl From<ExprConst> for Expr"],["impl From<ExprContinue> for Expr"],["impl From<ExprField> for Expr"],["impl From<ExprForLoop> for Expr"],["impl From<ExprGroup> for Expr"],["impl From<ExprIf> for Expr"],["impl From<ExprIndex> for Expr"],["impl From<ExprInfer> for Expr"],["impl From<ExprLet> for Expr"],["impl From<ExprLit> for Expr"],["impl From<ExprLoop> for Expr"],["impl From<ExprMacro> for Expr"],["impl From<ExprMatch> for Expr"],["impl From<ExprMethodCall> for Expr"],["impl From<ExprParen> for Expr"],["impl From<ExprPath> for Expr"],["impl From<ExprRange> for Expr"],["impl From<ExprRawAddr> for Expr"],["impl From<ExprReference> for Expr"],["impl From<ExprRepeat> for Expr"],["impl From<ExprReturn> for Expr"],["impl From<ExprStruct> for Expr"],["impl From<ExprTry> for Expr"],["impl From<ExprTryBlock> for Expr"],["impl From<ExprTuple> for Expr"],["impl From<ExprUnary> for Expr"],["impl From<ExprUnsafe> for Expr"],["impl From<ExprWhile> for Expr"],["impl From<ExprYield> for Expr"],["impl From<FieldsNamed> for Fields"],["impl From<FieldsUnnamed> for Fields"],["impl From<Ident> for Member"],["impl From<Ident> for TypeParam"],["impl From<Index> for Member"],["impl From<Lifetime> for TypeParamBound"],["impl From<LifetimeParam> for GenericParam"],["impl From<LitBool> for Lit"],["impl From<LitByte> for Lit"],["impl From<LitByteStr> for Lit"],["impl From<LitCStr> for Lit"],["impl From<LitChar> for Lit"],["impl From<LitFloat> for Lit"],["impl From<LitInt> for Lit"],["impl From<LitStr> for Lit"],["impl From<MetaList> for Meta"],["impl From<MetaNameValue> for Meta"],["impl From<Path> for Meta"],["impl From<PredicateLifetime> for WherePredicate"],["impl From<PredicateType> for WherePredicate"],["impl From<TraitBound> for TypeParamBound"],["impl From<TypeArray> for Type"],["impl From<TypeBareFn> for Type"],["impl From<TypeGroup> for Type"],["impl From<TypeImplTrait> for Type"],["impl From<TypeInfer> for Type"],["impl From<TypeMacro> for Type"],["impl From<TypeNever> for Type"],["impl From<TypeParam> for GenericParam"],["impl From<TypeParen> for Type"],["impl From<TypePath> for Type"],["impl From<TypePtr> for Type"],["impl From<TypeReference> for Type"],["impl From<TypeSlice> for Type"],["impl From<TypeTraitObject> for Type"],["impl From<TypeTuple> for Type"],["impl From<Crate> for Ident"],["impl From<Extern> for Ident"],["impl From<SelfType> for Ident"],["impl From<SelfValue> for Ident"],["impl From<Super> for Ident"],["impl From<Underscore> for Ident"],["impl<T> From<T> for Path
    where\n T: Into<PathSegment>,
    "],["impl<T> From<T> for PathSegment
    where\n T: Into<Ident>,
    "]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl From<ErrorKind> for Error"],["impl From<Infallible> for Error"],["impl From<u16> for Length"],["impl From<u8> for Length"],["impl From<Length> for u16"],["impl From<Length> for usize"],["impl<'a> From<&'a [u8]> for Decoder<'a>"]]],["proc_macro2",[["impl From<TokenTree> for TokenStream"],["impl From<Span> for Span"],["impl From<TokenStream> for TokenStream"],["impl From<Group> for TokenTree"],["impl From<Ident> for TokenTree"],["impl From<Literal> for TokenTree"],["impl From<Punct> for TokenTree"],["impl From<TokenStream> for TokenStream"]]],["syn",[["impl From<usize> for Member"],["impl From<usize> for Index"],["impl From<LexError> for Error"],["impl From<Literal> for LitFloat"],["impl From<Literal> for LitInt"],["impl From<ConstParam> for GenericParam"],["impl From<ExprArray> for Expr"],["impl From<ExprAssign> for Expr"],["impl From<ExprAsync> for Expr"],["impl From<ExprAwait> for Expr"],["impl From<ExprBinary> for Expr"],["impl From<ExprBlock> for Expr"],["impl From<ExprBreak> for Expr"],["impl From<ExprCall> for Expr"],["impl From<ExprCast> for Expr"],["impl From<ExprClosure> for Expr"],["impl From<ExprConst> for Expr"],["impl From<ExprContinue> for Expr"],["impl From<ExprField> for Expr"],["impl From<ExprForLoop> for Expr"],["impl From<ExprGroup> for Expr"],["impl From<ExprIf> for Expr"],["impl From<ExprIndex> for Expr"],["impl From<ExprInfer> for Expr"],["impl From<ExprLet> for Expr"],["impl From<ExprLit> for Expr"],["impl From<ExprLoop> for Expr"],["impl From<ExprMacro> for Expr"],["impl From<ExprMatch> for Expr"],["impl From<ExprMethodCall> for Expr"],["impl From<ExprParen> for Expr"],["impl From<ExprPath> for Expr"],["impl From<ExprRange> for Expr"],["impl From<ExprRawAddr> for Expr"],["impl From<ExprReference> for Expr"],["impl From<ExprRepeat> for Expr"],["impl From<ExprReturn> for Expr"],["impl From<ExprStruct> for Expr"],["impl From<ExprTry> for Expr"],["impl From<ExprTryBlock> for Expr"],["impl From<ExprTuple> for Expr"],["impl From<ExprUnary> for Expr"],["impl From<ExprUnsafe> for Expr"],["impl From<ExprWhile> for Expr"],["impl From<ExprYield> for Expr"],["impl From<FieldsNamed> for Fields"],["impl From<FieldsUnnamed> for Fields"],["impl From<Ident> for Member"],["impl From<Ident> for TypeParam"],["impl From<Index> for Member"],["impl From<Lifetime> for TypeParamBound"],["impl From<LifetimeParam> for GenericParam"],["impl From<LitBool> for Lit"],["impl From<LitByte> for Lit"],["impl From<LitByteStr> for Lit"],["impl From<LitCStr> for Lit"],["impl From<LitChar> for Lit"],["impl From<LitFloat> for Lit"],["impl From<LitInt> for Lit"],["impl From<LitStr> for Lit"],["impl From<MetaList> for Meta"],["impl From<MetaNameValue> for Meta"],["impl From<Path> for Meta"],["impl From<PredicateLifetime> for WherePredicate"],["impl From<PredicateType> for WherePredicate"],["impl From<TraitBound> for TypeParamBound"],["impl From<TypeArray> for Type"],["impl From<TypeBareFn> for Type"],["impl From<TypeGroup> for Type"],["impl From<TypeImplTrait> for Type"],["impl From<TypeInfer> for Type"],["impl From<TypeMacro> for Type"],["impl From<TypeNever> for Type"],["impl From<TypeParam> for GenericParam"],["impl From<TypeParen> for Type"],["impl From<TypePath> for Type"],["impl From<TypePtr> for Type"],["impl From<TypeReference> for Type"],["impl From<TypeSlice> for Type"],["impl From<TypeTraitObject> for Type"],["impl From<TypeTuple> for Type"],["impl From<Crate> for Ident"],["impl From<Extern> for Ident"],["impl From<SelfType> for Ident"],["impl From<SelfValue> for Ident"],["impl From<Super> for Ident"],["impl From<Underscore> for Ident"],["impl<T> From<T> for Path
    where\n T: Into<PathSegment>,
    "],["impl<T> From<T> for PathSegment
    where\n T: Into<Ident>,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js index c8077bb..0af9c9e 100644 --- a/trait.impl/core/convert/trait.TryFrom.js +++ b/trait.impl/core/convert/trait.TryFrom.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl TryFrom<&[u8]> for Tag"],["impl TryFrom<u8> for Class"],["impl TryFrom<u8> for SimpleTag"],["impl TryFrom<u8> for Tag"],["impl TryFrom<usize> for Length"],["impl<'a> TryFrom<&'a [&'a dyn Encodable]> for Length"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl TryFrom<&[u8]> for Tag"],["impl TryFrom<u8> for Class"],["impl TryFrom<u8> for SimpleTag"],["impl TryFrom<u8> for Tag"],["impl TryFrom<usize> for Length"],["impl<'a> TryFrom<&'a [&'a dyn Encodable]> for Length"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index 33f532a..1ec62d8 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl Default for Length"]]],["log",[["impl<'a> Default for MetadataBuilder<'a>"],["impl<'a> Default for RecordBuilder<'a>"]]],["proc_macro2",[["impl Default for TokenStream"]]],["syn",[["impl Default for PathArguments"],["impl Default for BoundLifetimes"],["impl Default for Generics"],["impl Default for Abstract"],["impl Default for And"],["impl Default for AndAnd"],["impl Default for AndEq"],["impl Default for As"],["impl Default for Async"],["impl Default for At"],["impl Default for Auto"],["impl Default for Await"],["impl Default for Become"],["impl Default for Box"],["impl Default for Brace"],["impl Default for Bracket"],["impl Default for Break"],["impl Default for Caret"],["impl Default for CaretEq"],["impl Default for Colon"],["impl Default for Comma"],["impl Default for Const"],["impl Default for Continue"],["impl Default for Crate"],["impl Default for Default"],["impl Default for Do"],["impl Default for Dollar"],["impl Default for Dot"],["impl Default for DotDot"],["impl Default for DotDotDot"],["impl Default for DotDotEq"],["impl Default for Dyn"],["impl Default for Else"],["impl Default for Enum"],["impl Default for Eq"],["impl Default for EqEq"],["impl Default for Extern"],["impl Default for FatArrow"],["impl Default for Final"],["impl Default for Fn"],["impl Default for For"],["impl Default for Ge"],["impl Default for Group"],["impl Default for Gt"],["impl Default for If"],["impl Default for Impl"],["impl Default for In"],["impl Default for LArrow"],["impl Default for Le"],["impl Default for Let"],["impl Default for Loop"],["impl Default for Lt"],["impl Default for Macro"],["impl Default for Match"],["impl Default for Minus"],["impl Default for MinusEq"],["impl Default for Mod"],["impl Default for Move"],["impl Default for Mut"],["impl Default for Ne"],["impl Default for Not"],["impl Default for Or"],["impl Default for OrEq"],["impl Default for OrOr"],["impl Default for Override"],["impl Default for Paren"],["impl Default for PathSep"],["impl Default for Percent"],["impl Default for PercentEq"],["impl Default for Plus"],["impl Default for PlusEq"],["impl Default for Pound"],["impl Default for Priv"],["impl Default for Pub"],["impl Default for Question"],["impl Default for RArrow"],["impl Default for Raw"],["impl Default for Ref"],["impl Default for Return"],["impl Default for SelfType"],["impl Default for SelfValue"],["impl Default for Semi"],["impl Default for Shl"],["impl Default for ShlEq"],["impl Default for Shr"],["impl Default for ShrEq"],["impl Default for Slash"],["impl Default for SlashEq"],["impl Default for Star"],["impl Default for StarEq"],["impl Default for Static"],["impl Default for Struct"],["impl Default for Super"],["impl Default for Tilde"],["impl Default for Trait"],["impl Default for Try"],["impl Default for Type"],["impl Default for Typeof"],["impl Default for Underscore"],["impl Default for Union"],["impl Default for Unsafe"],["impl Default for Unsized"],["impl Default for Use"],["impl Default for Virtual"],["impl Default for Where"],["impl Default for While"],["impl Default for Yield"],["impl<T, P> Default for Punctuated<T, P>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl Default for Length"]]],["log",[["impl<'a> Default for MetadataBuilder<'a>"],["impl<'a> Default for RecordBuilder<'a>"]]],["proc_macro2",[["impl Default for TokenStream"]]],["syn",[["impl Default for PathArguments"],["impl Default for BoundLifetimes"],["impl Default for Generics"],["impl Default for Abstract"],["impl Default for And"],["impl Default for AndAnd"],["impl Default for AndEq"],["impl Default for As"],["impl Default for Async"],["impl Default for At"],["impl Default for Auto"],["impl Default for Await"],["impl Default for Become"],["impl Default for Box"],["impl Default for Brace"],["impl Default for Bracket"],["impl Default for Break"],["impl Default for Caret"],["impl Default for CaretEq"],["impl Default for Colon"],["impl Default for Comma"],["impl Default for Const"],["impl Default for Continue"],["impl Default for Crate"],["impl Default for Default"],["impl Default for Do"],["impl Default for Dollar"],["impl Default for Dot"],["impl Default for DotDot"],["impl Default for DotDotDot"],["impl Default for DotDotEq"],["impl Default for Dyn"],["impl Default for Else"],["impl Default for Enum"],["impl Default for Eq"],["impl Default for EqEq"],["impl Default for Extern"],["impl Default for FatArrow"],["impl Default for Final"],["impl Default for Fn"],["impl Default for For"],["impl Default for Ge"],["impl Default for Group"],["impl Default for Gt"],["impl Default for If"],["impl Default for Impl"],["impl Default for In"],["impl Default for LArrow"],["impl Default for Le"],["impl Default for Let"],["impl Default for Loop"],["impl Default for Lt"],["impl Default for Macro"],["impl Default for Match"],["impl Default for Minus"],["impl Default for MinusEq"],["impl Default for Mod"],["impl Default for Move"],["impl Default for Mut"],["impl Default for Ne"],["impl Default for Not"],["impl Default for Or"],["impl Default for OrEq"],["impl Default for OrOr"],["impl Default for Override"],["impl Default for Paren"],["impl Default for PathSep"],["impl Default for Percent"],["impl Default for PercentEq"],["impl Default for Plus"],["impl Default for PlusEq"],["impl Default for Pound"],["impl Default for Priv"],["impl Default for Pub"],["impl Default for Question"],["impl Default for RArrow"],["impl Default for Raw"],["impl Default for Ref"],["impl Default for Return"],["impl Default for SelfType"],["impl Default for SelfValue"],["impl Default for Semi"],["impl Default for Shl"],["impl Default for ShlEq"],["impl Default for Shr"],["impl Default for ShrEq"],["impl Default for Slash"],["impl Default for SlashEq"],["impl Default for Star"],["impl Default for StarEq"],["impl Default for Static"],["impl Default for Struct"],["impl Default for Super"],["impl Default for Tilde"],["impl Default for Trait"],["impl Default for Try"],["impl Default for Type"],["impl Default for Typeof"],["impl Default for Underscore"],["impl Default for Union"],["impl Default for Unsafe"],["impl Default for Unsized"],["impl Default for Use"],["impl Default for Virtual"],["impl Default for Where"],["impl Default for While"],["impl Default for Yield"],["impl<T, P> Default for Punctuated<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js index 60e1132..89a7cb3 100644 --- a/trait.impl/core/error/trait.Error.js +++ b/trait.impl/core/error/trait.Error.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["proc_macro2",[["impl Error for LexError"]]],["syn",[["impl Error for Error"]]]]); + var implementors = Object.fromEntries([["proc_macro2",[["impl Error for LexError"]]],["syn",[["impl Error for Error"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index bf7a3ba..6dad40e 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Debug for Statistics"],["impl<T, S, U> Debug for HexStr<'_, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]],["flexiber",[["impl Debug for Class"],["impl Debug for ErrorKind"],["impl Debug for Error"],["impl Debug for Length"],["impl Debug for Tag"],["impl<'a> Debug for Decoder<'a>"],["impl<'a> Debug for Encoder<'a>"],["impl<'a> Debug for Slice<'a>"],["impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>"]]],["log",[["impl Debug for Level"],["impl Debug for LevelFilter"],["impl Debug for ParseLevelError"],["impl Debug for SetLoggerError"],["impl<'a> Debug for Metadata<'a>"],["impl<'a> Debug for MetadataBuilder<'a>"],["impl<'a> Debug for Record<'a>"],["impl<'a> Debug for RecordBuilder<'a>"]]],["proc_macro2",[["impl Debug for Delimiter"],["impl Debug for Spacing"],["impl Debug for TokenTree"],["impl Debug for DelimSpan"],["impl Debug for Group"],["impl Debug for Ident"],["impl Debug for LexError"],["impl Debug for Literal"],["impl Debug for Punct"],["impl Debug for Span"],["impl Debug for TokenStream"],["impl Debug for IntoIter"]]],["syn",[["impl Debug for AttrStyle"],["impl Debug for BinOp"],["impl Debug for Data"],["impl Debug for Expr"],["impl Debug for FieldMutability"],["impl Debug for Fields"],["impl Debug for GenericArgument"],["impl Debug for GenericParam"],["impl Debug for Lit"],["impl Debug for MacroDelimiter"],["impl Debug for Member"],["impl Debug for Meta"],["impl Debug for PathArguments"],["impl Debug for ReturnType"],["impl Debug for TraitBoundModifier"],["impl Debug for Type"],["impl Debug for TypeParamBound"],["impl Debug for UnOp"],["impl Debug for Visibility"],["impl Debug for WherePredicate"],["impl Debug for Error"],["impl Debug for Nothing"],["impl Debug for Abi"],["impl Debug for AngleBracketedGenericArguments"],["impl Debug for AssocConst"],["impl Debug for AssocType"],["impl Debug for Attribute"],["impl Debug for BareFnArg"],["impl Debug for BareVariadic"],["impl Debug for BoundLifetimes"],["impl Debug for ConstParam"],["impl Debug for Constraint"],["impl Debug for DataEnum"],["impl Debug for DataStruct"],["impl Debug for DataUnion"],["impl Debug for DeriveInput"],["impl Debug for ExprBinary"],["impl Debug for ExprCall"],["impl Debug for ExprCast"],["impl Debug for ExprField"],["impl Debug for ExprGroup"],["impl Debug for ExprIndex"],["impl Debug for ExprLit"],["impl Debug for ExprMacro"],["impl Debug for ExprMethodCall"],["impl Debug for ExprParen"],["impl Debug for ExprPath"],["impl Debug for ExprReference"],["impl Debug for ExprStruct"],["impl Debug for ExprTuple"],["impl Debug for ExprUnary"],["impl Debug for Field"],["impl Debug for FieldValue"],["impl Debug for FieldsNamed"],["impl Debug for FieldsUnnamed"],["impl Debug for Generics"],["impl Debug for Index"],["impl Debug for Lifetime"],["impl Debug for LifetimeParam"],["impl Debug for LitBool"],["impl Debug for LitByte"],["impl Debug for LitByteStr"],["impl Debug for LitCStr"],["impl Debug for LitChar"],["impl Debug for LitFloat"],["impl Debug for LitInt"],["impl Debug for LitStr"],["impl Debug for Macro"],["impl Debug for MetaList"],["impl Debug for MetaNameValue"],["impl Debug for ParenthesizedGenericArguments"],["impl Debug for Path"],["impl Debug for PathSegment"],["impl Debug for PredicateLifetime"],["impl Debug for PredicateType"],["impl Debug for QSelf"],["impl Debug for TraitBound"],["impl Debug for TypeArray"],["impl Debug for TypeBareFn"],["impl Debug for TypeGroup"],["impl Debug for TypeImplTrait"],["impl Debug for TypeInfer"],["impl Debug for TypeMacro"],["impl Debug for TypeNever"],["impl Debug for TypeParam"],["impl Debug for TypeParen"],["impl Debug for TypePath"],["impl Debug for TypePtr"],["impl Debug for TypeReference"],["impl Debug for TypeSlice"],["impl Debug for TypeTraitObject"],["impl Debug for TypeTuple"],["impl Debug for Variant"],["impl Debug for VisRestricted"],["impl Debug for WhereClause"],["impl Debug for Abstract"],["impl Debug for And"],["impl Debug for AndAnd"],["impl Debug for AndEq"],["impl Debug for As"],["impl Debug for Async"],["impl Debug for At"],["impl Debug for Auto"],["impl Debug for Await"],["impl Debug for Become"],["impl Debug for Box"],["impl Debug for Brace"],["impl Debug for Bracket"],["impl Debug for Break"],["impl Debug for Caret"],["impl Debug for CaretEq"],["impl Debug for Colon"],["impl Debug for Comma"],["impl Debug for Const"],["impl Debug for Continue"],["impl Debug for Crate"],["impl Debug for Default"],["impl Debug for Do"],["impl Debug for Dollar"],["impl Debug for Dot"],["impl Debug for DotDot"],["impl Debug for DotDotDot"],["impl Debug for DotDotEq"],["impl Debug for Dyn"],["impl Debug for Else"],["impl Debug for Enum"],["impl Debug for Eq"],["impl Debug for EqEq"],["impl Debug for Extern"],["impl Debug for FatArrow"],["impl Debug for Final"],["impl Debug for Fn"],["impl Debug for For"],["impl Debug for Ge"],["impl Debug for Group"],["impl Debug for Gt"],["impl Debug for If"],["impl Debug for Impl"],["impl Debug for In"],["impl Debug for LArrow"],["impl Debug for Le"],["impl Debug for Let"],["impl Debug for Loop"],["impl Debug for Lt"],["impl Debug for Macro"],["impl Debug for Match"],["impl Debug for Minus"],["impl Debug for MinusEq"],["impl Debug for Mod"],["impl Debug for Move"],["impl Debug for Mut"],["impl Debug for Ne"],["impl Debug for Not"],["impl Debug for Or"],["impl Debug for OrEq"],["impl Debug for OrOr"],["impl Debug for Override"],["impl Debug for Paren"],["impl Debug for PathSep"],["impl Debug for Percent"],["impl Debug for PercentEq"],["impl Debug for Plus"],["impl Debug for PlusEq"],["impl Debug for Pound"],["impl Debug for Priv"],["impl Debug for Pub"],["impl Debug for Question"],["impl Debug for RArrow"],["impl Debug for Raw"],["impl Debug for Ref"],["impl Debug for Return"],["impl Debug for SelfType"],["impl Debug for SelfValue"],["impl Debug for Semi"],["impl Debug for Shl"],["impl Debug for ShlEq"],["impl Debug for Shr"],["impl Debug for ShrEq"],["impl Debug for Slash"],["impl Debug for SlashEq"],["impl Debug for Star"],["impl Debug for StarEq"],["impl Debug for Static"],["impl Debug for Struct"],["impl Debug for Super"],["impl Debug for Tilde"],["impl Debug for Trait"],["impl Debug for Try"],["impl Debug for Type"],["impl Debug for Typeof"],["impl Debug for Underscore"],["impl Debug for Union"],["impl Debug for Unsafe"],["impl Debug for Unsized"],["impl Debug for Use"],["impl Debug for Virtual"],["impl Debug for Where"],["impl Debug for While"],["impl Debug for Yield"],["impl<'a> Debug for ParseBuffer<'a>"],["impl<'a> Debug for ImplGenerics<'a>"],["impl<'a> Debug for Turbofish<'a>"],["impl<'a> Debug for TypeGenerics<'a>"],["impl<T: Debug, P: Debug> Debug for Punctuated<T, P>"]]],["synstructure",[["impl Debug for AddBounds"],["impl Debug for BindStyle"],["impl<'a> Debug for BindingInfo<'a>"],["impl<'a> Debug for Structure<'a>"],["impl<'a> Debug for VariantAst<'a>"],["impl<'a> Debug for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["delog",[["impl Debug for Statistics"],["impl<T, S, U> Debug for HexStr<'_, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]],["flexiber",[["impl Debug for Class"],["impl Debug for ErrorKind"],["impl Debug for Error"],["impl Debug for Length"],["impl Debug for Tag"],["impl<'a> Debug for Decoder<'a>"],["impl<'a> Debug for Encoder<'a>"],["impl<'a> Debug for Slice<'a>"],["impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>"]]],["log",[["impl Debug for Level"],["impl Debug for LevelFilter"],["impl Debug for ParseLevelError"],["impl Debug for SetLoggerError"],["impl<'a> Debug for Metadata<'a>"],["impl<'a> Debug for MetadataBuilder<'a>"],["impl<'a> Debug for Record<'a>"],["impl<'a> Debug for RecordBuilder<'a>"]]],["proc_macro2",[["impl Debug for Delimiter"],["impl Debug for Spacing"],["impl Debug for TokenTree"],["impl Debug for DelimSpan"],["impl Debug for Group"],["impl Debug for Ident"],["impl Debug for LexError"],["impl Debug for Literal"],["impl Debug for Punct"],["impl Debug for Span"],["impl Debug for TokenStream"],["impl Debug for IntoIter"]]],["syn",[["impl Debug for AttrStyle"],["impl Debug for BinOp"],["impl Debug for Data"],["impl Debug for Expr"],["impl Debug for FieldMutability"],["impl Debug for Fields"],["impl Debug for GenericArgument"],["impl Debug for GenericParam"],["impl Debug for Lit"],["impl Debug for MacroDelimiter"],["impl Debug for Member"],["impl Debug for Meta"],["impl Debug for PathArguments"],["impl Debug for ReturnType"],["impl Debug for TraitBoundModifier"],["impl Debug for Type"],["impl Debug for TypeParamBound"],["impl Debug for UnOp"],["impl Debug for Visibility"],["impl Debug for WherePredicate"],["impl Debug for Error"],["impl Debug for Nothing"],["impl Debug for Abi"],["impl Debug for AngleBracketedGenericArguments"],["impl Debug for AssocConst"],["impl Debug for AssocType"],["impl Debug for Attribute"],["impl Debug for BareFnArg"],["impl Debug for BareVariadic"],["impl Debug for BoundLifetimes"],["impl Debug for ConstParam"],["impl Debug for Constraint"],["impl Debug for DataEnum"],["impl Debug for DataStruct"],["impl Debug for DataUnion"],["impl Debug for DeriveInput"],["impl Debug for ExprBinary"],["impl Debug for ExprCall"],["impl Debug for ExprCast"],["impl Debug for ExprField"],["impl Debug for ExprGroup"],["impl Debug for ExprIndex"],["impl Debug for ExprLit"],["impl Debug for ExprMacro"],["impl Debug for ExprMethodCall"],["impl Debug for ExprParen"],["impl Debug for ExprPath"],["impl Debug for ExprReference"],["impl Debug for ExprStruct"],["impl Debug for ExprTuple"],["impl Debug for ExprUnary"],["impl Debug for Field"],["impl Debug for FieldValue"],["impl Debug for FieldsNamed"],["impl Debug for FieldsUnnamed"],["impl Debug for Generics"],["impl Debug for Index"],["impl Debug for Lifetime"],["impl Debug for LifetimeParam"],["impl Debug for LitBool"],["impl Debug for LitByte"],["impl Debug for LitByteStr"],["impl Debug for LitCStr"],["impl Debug for LitChar"],["impl Debug for LitFloat"],["impl Debug for LitInt"],["impl Debug for LitStr"],["impl Debug for Macro"],["impl Debug for MetaList"],["impl Debug for MetaNameValue"],["impl Debug for ParenthesizedGenericArguments"],["impl Debug for Path"],["impl Debug for PathSegment"],["impl Debug for PredicateLifetime"],["impl Debug for PredicateType"],["impl Debug for QSelf"],["impl Debug for TraitBound"],["impl Debug for TypeArray"],["impl Debug for TypeBareFn"],["impl Debug for TypeGroup"],["impl Debug for TypeImplTrait"],["impl Debug for TypeInfer"],["impl Debug for TypeMacro"],["impl Debug for TypeNever"],["impl Debug for TypeParam"],["impl Debug for TypeParen"],["impl Debug for TypePath"],["impl Debug for TypePtr"],["impl Debug for TypeReference"],["impl Debug for TypeSlice"],["impl Debug for TypeTraitObject"],["impl Debug for TypeTuple"],["impl Debug for Variant"],["impl Debug for VisRestricted"],["impl Debug for WhereClause"],["impl Debug for Abstract"],["impl Debug for And"],["impl Debug for AndAnd"],["impl Debug for AndEq"],["impl Debug for As"],["impl Debug for Async"],["impl Debug for At"],["impl Debug for Auto"],["impl Debug for Await"],["impl Debug for Become"],["impl Debug for Box"],["impl Debug for Brace"],["impl Debug for Bracket"],["impl Debug for Break"],["impl Debug for Caret"],["impl Debug for CaretEq"],["impl Debug for Colon"],["impl Debug for Comma"],["impl Debug for Const"],["impl Debug for Continue"],["impl Debug for Crate"],["impl Debug for Default"],["impl Debug for Do"],["impl Debug for Dollar"],["impl Debug for Dot"],["impl Debug for DotDot"],["impl Debug for DotDotDot"],["impl Debug for DotDotEq"],["impl Debug for Dyn"],["impl Debug for Else"],["impl Debug for Enum"],["impl Debug for Eq"],["impl Debug for EqEq"],["impl Debug for Extern"],["impl Debug for FatArrow"],["impl Debug for Final"],["impl Debug for Fn"],["impl Debug for For"],["impl Debug for Ge"],["impl Debug for Group"],["impl Debug for Gt"],["impl Debug for If"],["impl Debug for Impl"],["impl Debug for In"],["impl Debug for LArrow"],["impl Debug for Le"],["impl Debug for Let"],["impl Debug for Loop"],["impl Debug for Lt"],["impl Debug for Macro"],["impl Debug for Match"],["impl Debug for Minus"],["impl Debug for MinusEq"],["impl Debug for Mod"],["impl Debug for Move"],["impl Debug for Mut"],["impl Debug for Ne"],["impl Debug for Not"],["impl Debug for Or"],["impl Debug for OrEq"],["impl Debug for OrOr"],["impl Debug for Override"],["impl Debug for Paren"],["impl Debug for PathSep"],["impl Debug for Percent"],["impl Debug for PercentEq"],["impl Debug for Plus"],["impl Debug for PlusEq"],["impl Debug for Pound"],["impl Debug for Priv"],["impl Debug for Pub"],["impl Debug for Question"],["impl Debug for RArrow"],["impl Debug for Raw"],["impl Debug for Ref"],["impl Debug for Return"],["impl Debug for SelfType"],["impl Debug for SelfValue"],["impl Debug for Semi"],["impl Debug for Shl"],["impl Debug for ShlEq"],["impl Debug for Shr"],["impl Debug for ShrEq"],["impl Debug for Slash"],["impl Debug for SlashEq"],["impl Debug for Star"],["impl Debug for StarEq"],["impl Debug for Static"],["impl Debug for Struct"],["impl Debug for Super"],["impl Debug for Tilde"],["impl Debug for Trait"],["impl Debug for Try"],["impl Debug for Type"],["impl Debug for Typeof"],["impl Debug for Underscore"],["impl Debug for Union"],["impl Debug for Unsafe"],["impl Debug for Unsized"],["impl Debug for Use"],["impl Debug for Virtual"],["impl Debug for Where"],["impl Debug for While"],["impl Debug for Yield"],["impl<'a> Debug for ParseBuffer<'a>"],["impl<'a> Debug for ImplGenerics<'a>"],["impl<'a> Debug for Turbofish<'a>"],["impl<'a> Debug for TypeGenerics<'a>"],["impl<T: Debug, P: Debug> Debug for Punctuated<T, P>"]]],["synstructure",[["impl Debug for AddBounds"],["impl Debug for BindStyle"],["impl<'a> Debug for BindingInfo<'a>"],["impl<'a> Debug for Structure<'a>"],["impl<'a> Debug for VariantAst<'a>"],["impl<'a> Debug for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js index 06513b1..abdfad4 100644 --- a/trait.impl/core/fmt/trait.Display.js +++ b/trait.impl/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl<T, U, S> Display for HexStr<'_, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]],["flexiber",[["impl Display for ErrorKind"],["impl Display for Error"],["impl Display for Length"],["impl Display for Tag"]]],["log",[["impl Display for Level"],["impl Display for LevelFilter"],["impl Display for ParseLevelError"],["impl Display for SetLoggerError"]]],["proc_macro2",[["impl Display for TokenTree"],["impl Display for Group"],["impl Display for Ident"],["impl Display for LexError"],["impl Display for Literal"],["impl Display for Punct"],["impl Display for TokenStream"]]],["syn",[["impl Display for Error"],["impl Display for Lifetime"],["impl Display for LitFloat"],["impl Display for LitInt"],["impl<'a> Display for ParseBuffer<'a>"]]]]); + var implementors = Object.fromEntries([["delog",[["impl<T, U, S> Display for HexStr<'_, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]],["flexiber",[["impl Display for ErrorKind"],["impl Display for Error"],["impl Display for Length"],["impl Display for Tag"]]],["log",[["impl Display for Level"],["impl Display for LevelFilter"],["impl Display for ParseLevelError"],["impl Display for SetLoggerError"]]],["proc_macro2",[["impl Display for TokenTree"],["impl Display for Group"],["impl Display for Ident"],["impl Display for LexError"],["impl Display for Literal"],["impl Display for Punct"],["impl Display for TokenStream"]]],["syn",[["impl Display for Error"],["impl Display for Lifetime"],["impl Display for LitFloat"],["impl Display for LitInt"],["impl<'a> Display for ParseBuffer<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.LowerHex.js b/trait.impl/core/fmt/trait.LowerHex.js index 4d09078..eb1c110 100644 --- a/trait.impl/core/fmt/trait.LowerHex.js +++ b/trait.impl/core/fmt/trait.LowerHex.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl<'a, T, U, S> LowerHex for HexStr<'a, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]]]); + var implementors = Object.fromEntries([["delog",[["impl<'a, T, U, S> LowerHex for HexStr<'a, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.UpperHex.js b/trait.impl/core/fmt/trait.UpperHex.js index f271b61..98577e9 100644 --- a/trait.impl/core/fmt/trait.UpperHex.js +++ b/trait.impl/core/fmt/trait.UpperHex.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl<'a, T, U, S> UpperHex for HexStr<'a, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]]]); + var implementors = Object.fromEntries([["delog",[["impl<'a, T, U, S> UpperHex for HexStr<'a, T, U, S>
    where\n T: AsRef<[u8]> + ?Sized,\n U: Unsigned,\n S: Separator,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js index 92bdb7e..7da1f75 100644 --- a/trait.impl/core/hash/trait.Hash.js +++ b/trait.impl/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["log",[["impl Hash for Level"],["impl Hash for LevelFilter"],["impl<'a> Hash for Metadata<'a>"],["impl<'a> Hash for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Hash for Ident"]]],["syn",[["impl Hash for AttrStyle"],["impl Hash for BinOp"],["impl Hash for Data"],["impl Hash for Expr"],["impl Hash for FieldMutability"],["impl Hash for Fields"],["impl Hash for GenericArgument"],["impl Hash for GenericParam"],["impl Hash for Lit"],["impl Hash for MacroDelimiter"],["impl Hash for Member"],["impl Hash for Meta"],["impl Hash for PathArguments"],["impl Hash for ReturnType"],["impl Hash for TraitBoundModifier"],["impl Hash for Type"],["impl Hash for TypeParamBound"],["impl Hash for UnOp"],["impl Hash for Visibility"],["impl Hash for WherePredicate"],["impl Hash for Nothing"],["impl Hash for Abi"],["impl Hash for AngleBracketedGenericArguments"],["impl Hash for AssocConst"],["impl Hash for AssocType"],["impl Hash for Attribute"],["impl Hash for BareFnArg"],["impl Hash for BareVariadic"],["impl Hash for BoundLifetimes"],["impl Hash for ConstParam"],["impl Hash for Constraint"],["impl Hash for DataEnum"],["impl Hash for DataStruct"],["impl Hash for DataUnion"],["impl Hash for DeriveInput"],["impl Hash for ExprBinary"],["impl Hash for ExprCall"],["impl Hash for ExprCast"],["impl Hash for ExprField"],["impl Hash for ExprGroup"],["impl Hash for ExprIndex"],["impl Hash for ExprLit"],["impl Hash for ExprMacro"],["impl Hash for ExprMethodCall"],["impl Hash for ExprParen"],["impl Hash for ExprPath"],["impl Hash for ExprReference"],["impl Hash for ExprStruct"],["impl Hash for ExprTuple"],["impl Hash for ExprUnary"],["impl Hash for Field"],["impl Hash for FieldValue"],["impl Hash for FieldsNamed"],["impl Hash for FieldsUnnamed"],["impl Hash for Generics"],["impl Hash for Index"],["impl Hash for Lifetime"],["impl Hash for LifetimeParam"],["impl Hash for LitBool"],["impl Hash for LitByte"],["impl Hash for LitByteStr"],["impl Hash for LitCStr"],["impl Hash for LitChar"],["impl Hash for LitFloat"],["impl Hash for LitInt"],["impl Hash for LitStr"],["impl Hash for Macro"],["impl Hash for MetaList"],["impl Hash for MetaNameValue"],["impl Hash for ParenthesizedGenericArguments"],["impl Hash for Path"],["impl Hash for PathSegment"],["impl Hash for PredicateLifetime"],["impl Hash for PredicateType"],["impl Hash for QSelf"],["impl Hash for TraitBound"],["impl Hash for TypeArray"],["impl Hash for TypeBareFn"],["impl Hash for TypeGroup"],["impl Hash for TypeImplTrait"],["impl Hash for TypeInfer"],["impl Hash for TypeMacro"],["impl Hash for TypeNever"],["impl Hash for TypeParam"],["impl Hash for TypeParen"],["impl Hash for TypePath"],["impl Hash for TypePtr"],["impl Hash for TypeReference"],["impl Hash for TypeSlice"],["impl Hash for TypeTraitObject"],["impl Hash for TypeTuple"],["impl Hash for Variant"],["impl Hash for VisRestricted"],["impl Hash for WhereClause"],["impl Hash for Abstract"],["impl Hash for And"],["impl Hash for AndAnd"],["impl Hash for AndEq"],["impl Hash for As"],["impl Hash for Async"],["impl Hash for At"],["impl Hash for Auto"],["impl Hash for Await"],["impl Hash for Become"],["impl Hash for Box"],["impl Hash for Brace"],["impl Hash for Bracket"],["impl Hash for Break"],["impl Hash for Caret"],["impl Hash for CaretEq"],["impl Hash for Colon"],["impl Hash for Comma"],["impl Hash for Const"],["impl Hash for Continue"],["impl Hash for Crate"],["impl Hash for Default"],["impl Hash for Do"],["impl Hash for Dollar"],["impl Hash for Dot"],["impl Hash for DotDot"],["impl Hash for DotDotDot"],["impl Hash for DotDotEq"],["impl Hash for Dyn"],["impl Hash for Else"],["impl Hash for Enum"],["impl Hash for Eq"],["impl Hash for EqEq"],["impl Hash for Extern"],["impl Hash for FatArrow"],["impl Hash for Final"],["impl Hash for Fn"],["impl Hash for For"],["impl Hash for Ge"],["impl Hash for Group"],["impl Hash for Gt"],["impl Hash for If"],["impl Hash for Impl"],["impl Hash for In"],["impl Hash for LArrow"],["impl Hash for Le"],["impl Hash for Let"],["impl Hash for Loop"],["impl Hash for Lt"],["impl Hash for Macro"],["impl Hash for Match"],["impl Hash for Minus"],["impl Hash for MinusEq"],["impl Hash for Mod"],["impl Hash for Move"],["impl Hash for Mut"],["impl Hash for Ne"],["impl Hash for Not"],["impl Hash for Or"],["impl Hash for OrEq"],["impl Hash for OrOr"],["impl Hash for Override"],["impl Hash for Paren"],["impl Hash for PathSep"],["impl Hash for Percent"],["impl Hash for PercentEq"],["impl Hash for Plus"],["impl Hash for PlusEq"],["impl Hash for Pound"],["impl Hash for Priv"],["impl Hash for Pub"],["impl Hash for Question"],["impl Hash for RArrow"],["impl Hash for Raw"],["impl Hash for Ref"],["impl Hash for Return"],["impl Hash for SelfType"],["impl Hash for SelfValue"],["impl Hash for Semi"],["impl Hash for Shl"],["impl Hash for ShlEq"],["impl Hash for Shr"],["impl Hash for ShrEq"],["impl Hash for Slash"],["impl Hash for SlashEq"],["impl Hash for Star"],["impl Hash for StarEq"],["impl Hash for Static"],["impl Hash for Struct"],["impl Hash for Super"],["impl Hash for Tilde"],["impl Hash for Trait"],["impl Hash for Try"],["impl Hash for Type"],["impl Hash for Typeof"],["impl Hash for Underscore"],["impl Hash for Union"],["impl Hash for Unsafe"],["impl Hash for Unsized"],["impl Hash for Use"],["impl Hash for Virtual"],["impl Hash for Where"],["impl Hash for While"],["impl Hash for Yield"],["impl<'a> Hash for ImplGenerics<'a>"],["impl<'a> Hash for Turbofish<'a>"],["impl<'a> Hash for TypeGenerics<'a>"],["impl<T, P> Hash for Punctuated<T, P>
    where\n T: Hash,\n P: Hash,
    "]]],["synstructure",[["impl Hash for AddBounds"],["impl Hash for BindStyle"],["impl<'a> Hash for BindingInfo<'a>"],["impl<'a> Hash for Structure<'a>"],["impl<'a> Hash for VariantAst<'a>"],["impl<'a> Hash for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["log",[["impl Hash for Level"],["impl Hash for LevelFilter"],["impl<'a> Hash for Metadata<'a>"],["impl<'a> Hash for MetadataBuilder<'a>"]]],["proc_macro2",[["impl Hash for Ident"]]],["syn",[["impl Hash for AttrStyle"],["impl Hash for BinOp"],["impl Hash for Data"],["impl Hash for Expr"],["impl Hash for FieldMutability"],["impl Hash for Fields"],["impl Hash for GenericArgument"],["impl Hash for GenericParam"],["impl Hash for Lit"],["impl Hash for MacroDelimiter"],["impl Hash for Member"],["impl Hash for Meta"],["impl Hash for PathArguments"],["impl Hash for ReturnType"],["impl Hash for TraitBoundModifier"],["impl Hash for Type"],["impl Hash for TypeParamBound"],["impl Hash for UnOp"],["impl Hash for Visibility"],["impl Hash for WherePredicate"],["impl Hash for Nothing"],["impl Hash for Abi"],["impl Hash for AngleBracketedGenericArguments"],["impl Hash for AssocConst"],["impl Hash for AssocType"],["impl Hash for Attribute"],["impl Hash for BareFnArg"],["impl Hash for BareVariadic"],["impl Hash for BoundLifetimes"],["impl Hash for ConstParam"],["impl Hash for Constraint"],["impl Hash for DataEnum"],["impl Hash for DataStruct"],["impl Hash for DataUnion"],["impl Hash for DeriveInput"],["impl Hash for ExprBinary"],["impl Hash for ExprCall"],["impl Hash for ExprCast"],["impl Hash for ExprField"],["impl Hash for ExprGroup"],["impl Hash for ExprIndex"],["impl Hash for ExprLit"],["impl Hash for ExprMacro"],["impl Hash for ExprMethodCall"],["impl Hash for ExprParen"],["impl Hash for ExprPath"],["impl Hash for ExprReference"],["impl Hash for ExprStruct"],["impl Hash for ExprTuple"],["impl Hash for ExprUnary"],["impl Hash for Field"],["impl Hash for FieldValue"],["impl Hash for FieldsNamed"],["impl Hash for FieldsUnnamed"],["impl Hash for Generics"],["impl Hash for Index"],["impl Hash for Lifetime"],["impl Hash for LifetimeParam"],["impl Hash for LitBool"],["impl Hash for LitByte"],["impl Hash for LitByteStr"],["impl Hash for LitCStr"],["impl Hash for LitChar"],["impl Hash for LitFloat"],["impl Hash for LitInt"],["impl Hash for LitStr"],["impl Hash for Macro"],["impl Hash for MetaList"],["impl Hash for MetaNameValue"],["impl Hash for ParenthesizedGenericArguments"],["impl Hash for Path"],["impl Hash for PathSegment"],["impl Hash for PredicateLifetime"],["impl Hash for PredicateType"],["impl Hash for QSelf"],["impl Hash for TraitBound"],["impl Hash for TypeArray"],["impl Hash for TypeBareFn"],["impl Hash for TypeGroup"],["impl Hash for TypeImplTrait"],["impl Hash for TypeInfer"],["impl Hash for TypeMacro"],["impl Hash for TypeNever"],["impl Hash for TypeParam"],["impl Hash for TypeParen"],["impl Hash for TypePath"],["impl Hash for TypePtr"],["impl Hash for TypeReference"],["impl Hash for TypeSlice"],["impl Hash for TypeTraitObject"],["impl Hash for TypeTuple"],["impl Hash for Variant"],["impl Hash for VisRestricted"],["impl Hash for WhereClause"],["impl Hash for Abstract"],["impl Hash for And"],["impl Hash for AndAnd"],["impl Hash for AndEq"],["impl Hash for As"],["impl Hash for Async"],["impl Hash for At"],["impl Hash for Auto"],["impl Hash for Await"],["impl Hash for Become"],["impl Hash for Box"],["impl Hash for Brace"],["impl Hash for Bracket"],["impl Hash for Break"],["impl Hash for Caret"],["impl Hash for CaretEq"],["impl Hash for Colon"],["impl Hash for Comma"],["impl Hash for Const"],["impl Hash for Continue"],["impl Hash for Crate"],["impl Hash for Default"],["impl Hash for Do"],["impl Hash for Dollar"],["impl Hash for Dot"],["impl Hash for DotDot"],["impl Hash for DotDotDot"],["impl Hash for DotDotEq"],["impl Hash for Dyn"],["impl Hash for Else"],["impl Hash for Enum"],["impl Hash for Eq"],["impl Hash for EqEq"],["impl Hash for Extern"],["impl Hash for FatArrow"],["impl Hash for Final"],["impl Hash for Fn"],["impl Hash for For"],["impl Hash for Ge"],["impl Hash for Group"],["impl Hash for Gt"],["impl Hash for If"],["impl Hash for Impl"],["impl Hash for In"],["impl Hash for LArrow"],["impl Hash for Le"],["impl Hash for Let"],["impl Hash for Loop"],["impl Hash for Lt"],["impl Hash for Macro"],["impl Hash for Match"],["impl Hash for Minus"],["impl Hash for MinusEq"],["impl Hash for Mod"],["impl Hash for Move"],["impl Hash for Mut"],["impl Hash for Ne"],["impl Hash for Not"],["impl Hash for Or"],["impl Hash for OrEq"],["impl Hash for OrOr"],["impl Hash for Override"],["impl Hash for Paren"],["impl Hash for PathSep"],["impl Hash for Percent"],["impl Hash for PercentEq"],["impl Hash for Plus"],["impl Hash for PlusEq"],["impl Hash for Pound"],["impl Hash for Priv"],["impl Hash for Pub"],["impl Hash for Question"],["impl Hash for RArrow"],["impl Hash for Raw"],["impl Hash for Ref"],["impl Hash for Return"],["impl Hash for SelfType"],["impl Hash for SelfValue"],["impl Hash for Semi"],["impl Hash for Shl"],["impl Hash for ShlEq"],["impl Hash for Shr"],["impl Hash for ShrEq"],["impl Hash for Slash"],["impl Hash for SlashEq"],["impl Hash for Star"],["impl Hash for StarEq"],["impl Hash for Static"],["impl Hash for Struct"],["impl Hash for Super"],["impl Hash for Tilde"],["impl Hash for Trait"],["impl Hash for Try"],["impl Hash for Type"],["impl Hash for Typeof"],["impl Hash for Underscore"],["impl Hash for Union"],["impl Hash for Unsafe"],["impl Hash for Unsized"],["impl Hash for Use"],["impl Hash for Virtual"],["impl Hash for Where"],["impl Hash for While"],["impl Hash for Yield"],["impl<'a> Hash for ImplGenerics<'a>"],["impl<'a> Hash for Turbofish<'a>"],["impl<'a> Hash for TypeGenerics<'a>"],["impl<T, P> Hash for Punctuated<T, P>
    where\n T: Hash,\n P: Hash,
    "]]],["synstructure",[["impl Hash for AddBounds"],["impl Hash for BindStyle"],["impl<'a> Hash for BindingInfo<'a>"],["impl<'a> Hash for Structure<'a>"],["impl<'a> Hash for VariantAst<'a>"],["impl<'a> Hash for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.Extend.js b/trait.impl/core/iter/traits/collect/trait.Extend.js index 50c3f24..6be09a4 100644 --- a/trait.impl/core/iter/traits/collect/trait.Extend.js +++ b/trait.impl/core/iter/traits/collect/trait.Extend.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["proc_macro2",[["impl Extend<TokenTree> for TokenStream"],["impl Extend<TokenStream> for TokenStream"]]],["syn",[["impl Extend<Error> for Error"],["impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where\n P: Default,
    "],["impl<T, P> Extend<T> for Punctuated<T, P>
    where\n P: Default,
    "]]]]); + var implementors = Object.fromEntries([["proc_macro2",[["impl Extend<TokenTree> for TokenStream"],["impl Extend<TokenStream> for TokenStream"]]],["syn",[["impl Extend<Error> for Error"],["impl<T, P> Extend<Pair<T, P>> for Punctuated<T, P>
    where\n P: Default,
    "],["impl<T, P> Extend<T> for Punctuated<T, P>
    where\n P: Default,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/trait.impl/core/iter/traits/collect/trait.FromIterator.js index 19834a8..ddcb42c 100644 --- a/trait.impl/core/iter/traits/collect/trait.FromIterator.js +++ b/trait.impl/core/iter/traits/collect/trait.FromIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["proc_macro2",[["impl FromIterator<TokenTree> for TokenStream"],["impl FromIterator<TokenStream> for TokenStream"]]],["syn",[["impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>"],["impl<T, P> FromIterator<T> for Punctuated<T, P>
    where\n P: Default,
    "]]]]); + var implementors = Object.fromEntries([["proc_macro2",[["impl FromIterator<TokenTree> for TokenStream"],["impl FromIterator<TokenStream> for TokenStream"]]],["syn",[["impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P>"],["impl<T, P> FromIterator<T> for Punctuated<T, P>
    where\n P: Default,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js index 4273bd6..f533891 100644 --- a/trait.impl/core/iter/traits/collect/trait.IntoIterator.js +++ b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["proc_macro2",[["impl IntoIterator for TokenStream"]]],["syn",[["impl IntoIterator for Fields"],["impl IntoIterator for Error"],["impl<'a> IntoIterator for &'a Fields"],["impl<'a> IntoIterator for &'a Error"],["impl<'a> IntoIterator for &'a mut Fields"],["impl<'a, T, P> IntoIterator for &'a Punctuated<T, P>"],["impl<'a, T, P> IntoIterator for &'a mut Punctuated<T, P>"],["impl<T, P> IntoIterator for Punctuated<T, P>"]]]]); + var implementors = Object.fromEntries([["proc_macro2",[["impl IntoIterator for TokenStream"]]],["syn",[["impl IntoIterator for Fields"],["impl IntoIterator for Error"],["impl<'a> IntoIterator for &'a Fields"],["impl<'a> IntoIterator for &'a Error"],["impl<'a> IntoIterator for &'a mut Fields"],["impl<'a, T, P> IntoIterator for &'a Punctuated<T, P>"],["impl<'a, T, P> IntoIterator for &'a mut Punctuated<T, P>"],["impl<T, P> IntoIterator for Punctuated<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/double_ended/trait.DoubleEndedIterator.js b/trait.impl/core/iter/traits/double_ended/trait.DoubleEndedIterator.js index 82ea0d1..bcb6c5d 100644 --- a/trait.impl/core/iter/traits/double_ended/trait.DoubleEndedIterator.js +++ b/trait.impl/core/iter/traits/double_ended/trait.DoubleEndedIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl<'a, T> DoubleEndedIterator for Iter<'a, T>"],["impl<'a, T> DoubleEndedIterator for IterMut<'a, T>"],["impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P>"],["impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P>"],["impl<T> DoubleEndedIterator for IntoIter<T>"],["impl<T, P> DoubleEndedIterator for IntoPairs<T, P>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl<'a, T> DoubleEndedIterator for Iter<'a, T>"],["impl<'a, T> DoubleEndedIterator for IterMut<'a, T>"],["impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P>"],["impl<'a, T, P> DoubleEndedIterator for PairsMut<'a, T, P>"],["impl<T> DoubleEndedIterator for IntoIter<T>"],["impl<T, P> DoubleEndedIterator for IntoPairs<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/exact_size/trait.ExactSizeIterator.js b/trait.impl/core/iter/traits/exact_size/trait.ExactSizeIterator.js index fa4b344..c766e0a 100644 --- a/trait.impl/core/iter/traits/exact_size/trait.ExactSizeIterator.js +++ b/trait.impl/core/iter/traits/exact_size/trait.ExactSizeIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl<'a, T> ExactSizeIterator for Iter<'a, T>"],["impl<'a, T> ExactSizeIterator for IterMut<'a, T>"],["impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P>"],["impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P>"],["impl<T> ExactSizeIterator for IntoIter<T>"],["impl<T, P> ExactSizeIterator for IntoPairs<T, P>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl<'a, T> ExactSizeIterator for Iter<'a, T>"],["impl<'a, T> ExactSizeIterator for IterMut<'a, T>"],["impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P>"],["impl<'a, T, P> ExactSizeIterator for PairsMut<'a, T, P>"],["impl<T> ExactSizeIterator for IntoIter<T>"],["impl<T, P> ExactSizeIterator for IntoPairs<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/iterator/trait.Iterator.js b/trait.impl/core/iter/traits/iterator/trait.Iterator.js index f8bdf80..7ea7cdf 100644 --- a/trait.impl/core/iter/traits/iterator/trait.Iterator.js +++ b/trait.impl/core/iter/traits/iterator/trait.Iterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["proc_macro2",[["impl Iterator for IntoIter"]]],["syn",[["impl<'a, T> Iterator for Iter<'a, T>"],["impl<'a, T> Iterator for IterMut<'a, T>"],["impl<'a, T, P> Iterator for Pairs<'a, T, P>"],["impl<'a, T, P> Iterator for PairsMut<'a, T, P>"],["impl<T> Iterator for IntoIter<T>"],["impl<T, P> Iterator for IntoPairs<T, P>"]]]]); + var implementors = Object.fromEntries([["proc_macro2",[["impl Iterator for IntoIter"]]],["syn",[["impl<'a, T> Iterator for Iter<'a, T>"],["impl<'a, T> Iterator for IterMut<'a, T>"],["impl<'a, T, P> Iterator for Pairs<'a, T, P>"],["impl<'a, T, P> Iterator for PairsMut<'a, T, P>"],["impl<T> Iterator for IntoIter<T>"],["impl<T, P> Iterator for IntoPairs<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js index fe2f485..0e3bb46 100644 --- a/trait.impl/core/marker/trait.Copy.js +++ b/trait.impl/core/marker/trait.Copy.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Copy for DefaultRenderer"],["impl Copy for RipgrepRenderer"],["impl Copy for Statistics"]]],["flexiber",[["impl Copy for Class"],["impl Copy for ErrorKind"],["impl Copy for Error"],["impl Copy for Length"],["impl Copy for SimpleTag"],["impl Copy for Tag"],["impl<'a> Copy for Slice<'a>"],["impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>"]]],["log",[["impl Copy for Level"],["impl Copy for LevelFilter"]]],["proc_macro2",[["impl Copy for Delimiter"],["impl Copy for Spacing"],["impl Copy for DelimSpan"],["impl Copy for Span"]]],["syn",[["impl Copy for AttrStyle"],["impl Copy for BinOp"],["impl Copy for TraitBoundModifier"],["impl Copy for UnOp"],["impl Copy for End"],["impl Copy for Nothing"],["impl Copy for Abstract"],["impl Copy for And"],["impl Copy for AndAnd"],["impl Copy for AndEq"],["impl Copy for As"],["impl Copy for Async"],["impl Copy for At"],["impl Copy for Auto"],["impl Copy for Await"],["impl Copy for Become"],["impl Copy for Box"],["impl Copy for Brace"],["impl Copy for Bracket"],["impl Copy for Break"],["impl Copy for Caret"],["impl Copy for CaretEq"],["impl Copy for Colon"],["impl Copy for Comma"],["impl Copy for Const"],["impl Copy for Continue"],["impl Copy for Crate"],["impl Copy for Default"],["impl Copy for Do"],["impl Copy for Dollar"],["impl Copy for Dot"],["impl Copy for DotDot"],["impl Copy for DotDotDot"],["impl Copy for DotDotEq"],["impl Copy for Dyn"],["impl Copy for Else"],["impl Copy for Enum"],["impl Copy for Eq"],["impl Copy for EqEq"],["impl Copy for Extern"],["impl Copy for FatArrow"],["impl Copy for Final"],["impl Copy for Fn"],["impl Copy for For"],["impl Copy for Ge"],["impl Copy for Group"],["impl Copy for Gt"],["impl Copy for If"],["impl Copy for Impl"],["impl Copy for In"],["impl Copy for LArrow"],["impl Copy for Le"],["impl Copy for Let"],["impl Copy for Loop"],["impl Copy for Lt"],["impl Copy for Macro"],["impl Copy for Match"],["impl Copy for Minus"],["impl Copy for MinusEq"],["impl Copy for Mod"],["impl Copy for Move"],["impl Copy for Mut"],["impl Copy for Ne"],["impl Copy for Not"],["impl Copy for Or"],["impl Copy for OrEq"],["impl Copy for OrOr"],["impl Copy for Override"],["impl Copy for Paren"],["impl Copy for PathSep"],["impl Copy for Percent"],["impl Copy for PercentEq"],["impl Copy for Plus"],["impl Copy for PlusEq"],["impl Copy for Pound"],["impl Copy for Priv"],["impl Copy for Pub"],["impl Copy for Question"],["impl Copy for RArrow"],["impl Copy for Raw"],["impl Copy for Ref"],["impl Copy for Return"],["impl Copy for SelfType"],["impl Copy for SelfValue"],["impl Copy for Semi"],["impl Copy for Shl"],["impl Copy for ShlEq"],["impl Copy for Shr"],["impl Copy for ShrEq"],["impl Copy for Slash"],["impl Copy for SlashEq"],["impl Copy for Star"],["impl Copy for StarEq"],["impl Copy for Static"],["impl Copy for Struct"],["impl Copy for Super"],["impl Copy for Tilde"],["impl Copy for Trait"],["impl Copy for Try"],["impl Copy for Type"],["impl Copy for Typeof"],["impl Copy for Underscore"],["impl Copy for Union"],["impl Copy for Unsafe"],["impl Copy for Unsized"],["impl Copy for Use"],["impl Copy for Virtual"],["impl Copy for Where"],["impl Copy for While"],["impl Copy for Yield"],["impl<'a> Copy for Cursor<'a>"],["impl<'c, 'a> Copy for StepCursor<'c, 'a>"],["impl<T, P> Copy for Pair<T, P>
    where\n T: Copy,\n P: Copy,
    "]]],["synstructure",[["impl Copy for AddBounds"],["impl Copy for BindStyle"],["impl<'a> Copy for VariantAst<'a>"]]]]); + var implementors = Object.fromEntries([["delog",[["impl Copy for DefaultRenderer"],["impl Copy for RipgrepRenderer"],["impl Copy for Statistics"]]],["flexiber",[["impl Copy for Class"],["impl Copy for ErrorKind"],["impl Copy for Error"],["impl Copy for Length"],["impl Copy for SimpleTag"],["impl Copy for Tag"],["impl<'a> Copy for Slice<'a>"],["impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>"]]],["log",[["impl Copy for Level"],["impl Copy for LevelFilter"]]],["proc_macro2",[["impl Copy for Delimiter"],["impl Copy for Spacing"],["impl Copy for DelimSpan"],["impl Copy for Span"]]],["syn",[["impl Copy for AttrStyle"],["impl Copy for BinOp"],["impl Copy for TraitBoundModifier"],["impl Copy for UnOp"],["impl Copy for End"],["impl Copy for Nothing"],["impl Copy for Abstract"],["impl Copy for And"],["impl Copy for AndAnd"],["impl Copy for AndEq"],["impl Copy for As"],["impl Copy for Async"],["impl Copy for At"],["impl Copy for Auto"],["impl Copy for Await"],["impl Copy for Become"],["impl Copy for Box"],["impl Copy for Brace"],["impl Copy for Bracket"],["impl Copy for Break"],["impl Copy for Caret"],["impl Copy for CaretEq"],["impl Copy for Colon"],["impl Copy for Comma"],["impl Copy for Const"],["impl Copy for Continue"],["impl Copy for Crate"],["impl Copy for Default"],["impl Copy for Do"],["impl Copy for Dollar"],["impl Copy for Dot"],["impl Copy for DotDot"],["impl Copy for DotDotDot"],["impl Copy for DotDotEq"],["impl Copy for Dyn"],["impl Copy for Else"],["impl Copy for Enum"],["impl Copy for Eq"],["impl Copy for EqEq"],["impl Copy for Extern"],["impl Copy for FatArrow"],["impl Copy for Final"],["impl Copy for Fn"],["impl Copy for For"],["impl Copy for Ge"],["impl Copy for Group"],["impl Copy for Gt"],["impl Copy for If"],["impl Copy for Impl"],["impl Copy for In"],["impl Copy for LArrow"],["impl Copy for Le"],["impl Copy for Let"],["impl Copy for Loop"],["impl Copy for Lt"],["impl Copy for Macro"],["impl Copy for Match"],["impl Copy for Minus"],["impl Copy for MinusEq"],["impl Copy for Mod"],["impl Copy for Move"],["impl Copy for Mut"],["impl Copy for Ne"],["impl Copy for Not"],["impl Copy for Or"],["impl Copy for OrEq"],["impl Copy for OrOr"],["impl Copy for Override"],["impl Copy for Paren"],["impl Copy for PathSep"],["impl Copy for Percent"],["impl Copy for PercentEq"],["impl Copy for Plus"],["impl Copy for PlusEq"],["impl Copy for Pound"],["impl Copy for Priv"],["impl Copy for Pub"],["impl Copy for Question"],["impl Copy for RArrow"],["impl Copy for Raw"],["impl Copy for Ref"],["impl Copy for Return"],["impl Copy for SelfType"],["impl Copy for SelfValue"],["impl Copy for Semi"],["impl Copy for Shl"],["impl Copy for ShlEq"],["impl Copy for Shr"],["impl Copy for ShrEq"],["impl Copy for Slash"],["impl Copy for SlashEq"],["impl Copy for Star"],["impl Copy for StarEq"],["impl Copy for Static"],["impl Copy for Struct"],["impl Copy for Super"],["impl Copy for Tilde"],["impl Copy for Trait"],["impl Copy for Try"],["impl Copy for Type"],["impl Copy for Typeof"],["impl Copy for Underscore"],["impl Copy for Union"],["impl Copy for Unsafe"],["impl Copy for Unsized"],["impl Copy for Use"],["impl Copy for Virtual"],["impl Copy for Where"],["impl Copy for While"],["impl Copy for Yield"],["impl<'a> Copy for Cursor<'a>"],["impl<'c, 'a> Copy for StepCursor<'c, 'a>"],["impl<T, P> Copy for Pair<T, P>
    where\n T: Copy,\n P: Copy,
    "]]],["synstructure",[["impl Copy for AddBounds"],["impl Copy for BindStyle"],["impl<'a> Copy for VariantAst<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index 8400b6c..f13b2c5 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Freeze for U1",1,["delog::hex::U1"]],["impl Freeze for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl Freeze for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Freeze for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Freeze for HexStr<'a, T, U, S>
    where\n T: ?Sized,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Freeze for Class",1,["flexiber::tag::Class"]],["impl Freeze for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Freeze for Error",1,["flexiber::error::Error"]],["impl Freeze for Length",1,["flexiber::length::Length"]],["impl Freeze for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Freeze for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Freeze for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Freeze for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Freeze for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Freeze for TaggedValue<V, T>
    where\n T: Freeze,\n V: Freeze,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Freeze for Level",1,["log::Level"]],["impl Freeze for LevelFilter",1,["log::LevelFilter"]],["impl Freeze for ParseLevelError",1,["log::ParseLevelError"]],["impl Freeze for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> Freeze for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Freeze for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> Freeze for Record<'a>",1,["log::Record"]],["impl<'a> Freeze for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl Freeze for Delimiter",1,["proc_macro2::Delimiter"]],["impl Freeze for Spacing",1,["proc_macro2::Spacing"]],["impl Freeze for TokenTree",1,["proc_macro2::TokenTree"]],["impl Freeze for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Freeze for Group",1,["proc_macro2::Group"]],["impl Freeze for Ident",1,["proc_macro2::Ident"]],["impl Freeze for LexError",1,["proc_macro2::LexError"]],["impl Freeze for Literal",1,["proc_macro2::Literal"]],["impl Freeze for Punct",1,["proc_macro2::Punct"]],["impl Freeze for Span",1,["proc_macro2::Span"]],["impl Freeze for TokenStream",1,["proc_macro2::TokenStream"]],["impl Freeze for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl Freeze for AttrStyle",1,["syn::attr::AttrStyle"]],["impl Freeze for BinOp",1,["syn::op::BinOp"]],["impl Freeze for Data",1,["syn::derive::Data"]],["impl Freeze for Expr",1,["syn::expr::Expr"]],["impl Freeze for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Freeze for Fields",1,["syn::data::Fields"]],["impl Freeze for GenericArgument",1,["syn::path::GenericArgument"]],["impl Freeze for GenericParam",1,["syn::generics::GenericParam"]],["impl Freeze for Lit",1,["syn::lit::Lit"]],["impl Freeze for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl Freeze for Member",1,["syn::expr::Member"]],["impl Freeze for Meta",1,["syn::attr::Meta"]],["impl Freeze for PathArguments",1,["syn::path::PathArguments"]],["impl Freeze for ReturnType",1,["syn::ty::ReturnType"]],["impl Freeze for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl Freeze for Type",1,["syn::ty::Type"]],["impl Freeze for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl Freeze for UnOp",1,["syn::op::UnOp"]],["impl Freeze for Visibility",1,["syn::restriction::Visibility"]],["impl Freeze for WherePredicate",1,["syn::generics::WherePredicate"]],["impl Freeze for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl Freeze for End",1,["syn::lookahead::End"]],["impl Freeze for Error",1,["syn::error::Error"]],["impl Freeze for Nothing",1,["syn::parse::Nothing"]],["impl Freeze for Abi",1,["syn::ty::Abi"]],["impl Freeze for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl Freeze for AssocConst",1,["syn::path::AssocConst"]],["impl Freeze for AssocType",1,["syn::path::AssocType"]],["impl Freeze for Attribute",1,["syn::attr::Attribute"]],["impl Freeze for BareFnArg",1,["syn::ty::BareFnArg"]],["impl Freeze for BareVariadic",1,["syn::ty::BareVariadic"]],["impl Freeze for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl Freeze for ConstParam",1,["syn::generics::ConstParam"]],["impl Freeze for Constraint",1,["syn::path::Constraint"]],["impl Freeze for DataEnum",1,["syn::derive::DataEnum"]],["impl Freeze for DataStruct",1,["syn::derive::DataStruct"]],["impl Freeze for DataUnion",1,["syn::derive::DataUnion"]],["impl Freeze for DeriveInput",1,["syn::derive::DeriveInput"]],["impl Freeze for ExprArray",1,["syn::expr::ExprArray"]],["impl Freeze for ExprAssign",1,["syn::expr::ExprAssign"]],["impl Freeze for ExprAsync",1,["syn::expr::ExprAsync"]],["impl Freeze for ExprAwait",1,["syn::expr::ExprAwait"]],["impl Freeze for ExprBinary",1,["syn::expr::ExprBinary"]],["impl Freeze for ExprBlock",1,["syn::expr::ExprBlock"]],["impl Freeze for ExprBreak",1,["syn::expr::ExprBreak"]],["impl Freeze for ExprCall",1,["syn::expr::ExprCall"]],["impl Freeze for ExprCast",1,["syn::expr::ExprCast"]],["impl Freeze for ExprClosure",1,["syn::expr::ExprClosure"]],["impl Freeze for ExprConst",1,["syn::expr::ExprConst"]],["impl Freeze for ExprContinue",1,["syn::expr::ExprContinue"]],["impl Freeze for ExprField",1,["syn::expr::ExprField"]],["impl Freeze for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl Freeze for ExprGroup",1,["syn::expr::ExprGroup"]],["impl Freeze for ExprIf",1,["syn::expr::ExprIf"]],["impl Freeze for ExprIndex",1,["syn::expr::ExprIndex"]],["impl Freeze for ExprInfer",1,["syn::expr::ExprInfer"]],["impl Freeze for ExprLet",1,["syn::expr::ExprLet"]],["impl Freeze for ExprLit",1,["syn::expr::ExprLit"]],["impl Freeze for ExprLoop",1,["syn::expr::ExprLoop"]],["impl Freeze for ExprMacro",1,["syn::expr::ExprMacro"]],["impl Freeze for ExprMatch",1,["syn::expr::ExprMatch"]],["impl Freeze for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl Freeze for ExprParen",1,["syn::expr::ExprParen"]],["impl Freeze for ExprPath",1,["syn::expr::ExprPath"]],["impl Freeze for ExprRange",1,["syn::expr::ExprRange"]],["impl Freeze for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl Freeze for ExprReference",1,["syn::expr::ExprReference"]],["impl Freeze for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl Freeze for ExprReturn",1,["syn::expr::ExprReturn"]],["impl Freeze for ExprStruct",1,["syn::expr::ExprStruct"]],["impl Freeze for ExprTry",1,["syn::expr::ExprTry"]],["impl Freeze for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl Freeze for ExprTuple",1,["syn::expr::ExprTuple"]],["impl Freeze for ExprUnary",1,["syn::expr::ExprUnary"]],["impl Freeze for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl Freeze for ExprWhile",1,["syn::expr::ExprWhile"]],["impl Freeze for ExprYield",1,["syn::expr::ExprYield"]],["impl Freeze for Field",1,["syn::data::Field"]],["impl Freeze for FieldValue",1,["syn::expr::FieldValue"]],["impl Freeze for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl Freeze for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl Freeze for Generics",1,["syn::generics::Generics"]],["impl Freeze for Index",1,["syn::expr::Index"]],["impl Freeze for Lifetime",1,["syn::lifetime::Lifetime"]],["impl Freeze for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl Freeze for LitBool",1,["syn::lit::LitBool"]],["impl Freeze for LitByte",1,["syn::lit::LitByte"]],["impl Freeze for LitByteStr",1,["syn::lit::LitByteStr"]],["impl Freeze for LitCStr",1,["syn::lit::LitCStr"]],["impl Freeze for LitChar",1,["syn::lit::LitChar"]],["impl Freeze for LitFloat",1,["syn::lit::LitFloat"]],["impl Freeze for LitInt",1,["syn::lit::LitInt"]],["impl Freeze for LitStr",1,["syn::lit::LitStr"]],["impl Freeze for Macro",1,["syn::mac::Macro"]],["impl Freeze for MetaList",1,["syn::attr::MetaList"]],["impl Freeze for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl Freeze for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl Freeze for Path",1,["syn::path::Path"]],["impl Freeze for PathSegment",1,["syn::path::PathSegment"]],["impl Freeze for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl Freeze for PredicateType",1,["syn::generics::PredicateType"]],["impl Freeze for QSelf",1,["syn::path::QSelf"]],["impl Freeze for TraitBound",1,["syn::generics::TraitBound"]],["impl Freeze for TypeArray",1,["syn::ty::TypeArray"]],["impl Freeze for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl Freeze for TypeGroup",1,["syn::ty::TypeGroup"]],["impl Freeze for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl Freeze for TypeInfer",1,["syn::ty::TypeInfer"]],["impl Freeze for TypeMacro",1,["syn::ty::TypeMacro"]],["impl Freeze for TypeNever",1,["syn::ty::TypeNever"]],["impl Freeze for TypeParam",1,["syn::generics::TypeParam"]],["impl Freeze for TypeParen",1,["syn::ty::TypeParen"]],["impl Freeze for TypePath",1,["syn::ty::TypePath"]],["impl Freeze for TypePtr",1,["syn::ty::TypePtr"]],["impl Freeze for TypeReference",1,["syn::ty::TypeReference"]],["impl Freeze for TypeSlice",1,["syn::ty::TypeSlice"]],["impl Freeze for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl Freeze for TypeTuple",1,["syn::ty::TypeTuple"]],["impl Freeze for Variant",1,["syn::data::Variant"]],["impl Freeze for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl Freeze for WhereClause",1,["syn::generics::WhereClause"]],["impl Freeze for Abstract",1,["syn::token::Abstract"]],["impl Freeze for And",1,["syn::token::And"]],["impl Freeze for AndAnd",1,["syn::token::AndAnd"]],["impl Freeze for AndEq",1,["syn::token::AndEq"]],["impl Freeze for As",1,["syn::token::As"]],["impl Freeze for Async",1,["syn::token::Async"]],["impl Freeze for At",1,["syn::token::At"]],["impl Freeze for Auto",1,["syn::token::Auto"]],["impl Freeze for Await",1,["syn::token::Await"]],["impl Freeze for Become",1,["syn::token::Become"]],["impl Freeze for Box",1,["syn::token::Box"]],["impl Freeze for Brace",1,["syn::token::Brace"]],["impl Freeze for Bracket",1,["syn::token::Bracket"]],["impl Freeze for Break",1,["syn::token::Break"]],["impl Freeze for Caret",1,["syn::token::Caret"]],["impl Freeze for CaretEq",1,["syn::token::CaretEq"]],["impl Freeze for Colon",1,["syn::token::Colon"]],["impl Freeze for Comma",1,["syn::token::Comma"]],["impl Freeze for Const",1,["syn::token::Const"]],["impl Freeze for Continue",1,["syn::token::Continue"]],["impl Freeze for Crate",1,["syn::token::Crate"]],["impl Freeze for Default",1,["syn::token::Default"]],["impl Freeze for Do",1,["syn::token::Do"]],["impl Freeze for Dollar",1,["syn::token::Dollar"]],["impl Freeze for Dot",1,["syn::token::Dot"]],["impl Freeze for DotDot",1,["syn::token::DotDot"]],["impl Freeze for DotDotDot",1,["syn::token::DotDotDot"]],["impl Freeze for DotDotEq",1,["syn::token::DotDotEq"]],["impl Freeze for Dyn",1,["syn::token::Dyn"]],["impl Freeze for Else",1,["syn::token::Else"]],["impl Freeze for Enum",1,["syn::token::Enum"]],["impl Freeze for Eq",1,["syn::token::Eq"]],["impl Freeze for EqEq",1,["syn::token::EqEq"]],["impl Freeze for Extern",1,["syn::token::Extern"]],["impl Freeze for FatArrow",1,["syn::token::FatArrow"]],["impl Freeze for Final",1,["syn::token::Final"]],["impl Freeze for Fn",1,["syn::token::Fn"]],["impl Freeze for For",1,["syn::token::For"]],["impl Freeze for Ge",1,["syn::token::Ge"]],["impl Freeze for Group",1,["syn::token::Group"]],["impl Freeze for Gt",1,["syn::token::Gt"]],["impl Freeze for If",1,["syn::token::If"]],["impl Freeze for Impl",1,["syn::token::Impl"]],["impl Freeze for In",1,["syn::token::In"]],["impl Freeze for LArrow",1,["syn::token::LArrow"]],["impl Freeze for Le",1,["syn::token::Le"]],["impl Freeze for Let",1,["syn::token::Let"]],["impl Freeze for Loop",1,["syn::token::Loop"]],["impl Freeze for Lt",1,["syn::token::Lt"]],["impl Freeze for Macro",1,["syn::token::Macro"]],["impl Freeze for Match",1,["syn::token::Match"]],["impl Freeze for Minus",1,["syn::token::Minus"]],["impl Freeze for MinusEq",1,["syn::token::MinusEq"]],["impl Freeze for Mod",1,["syn::token::Mod"]],["impl Freeze for Move",1,["syn::token::Move"]],["impl Freeze for Mut",1,["syn::token::Mut"]],["impl Freeze for Ne",1,["syn::token::Ne"]],["impl Freeze for Not",1,["syn::token::Not"]],["impl Freeze for Or",1,["syn::token::Or"]],["impl Freeze for OrEq",1,["syn::token::OrEq"]],["impl Freeze for OrOr",1,["syn::token::OrOr"]],["impl Freeze for Override",1,["syn::token::Override"]],["impl Freeze for Paren",1,["syn::token::Paren"]],["impl Freeze for PathSep",1,["syn::token::PathSep"]],["impl Freeze for Percent",1,["syn::token::Percent"]],["impl Freeze for PercentEq",1,["syn::token::PercentEq"]],["impl Freeze for Plus",1,["syn::token::Plus"]],["impl Freeze for PlusEq",1,["syn::token::PlusEq"]],["impl Freeze for Pound",1,["syn::token::Pound"]],["impl Freeze for Priv",1,["syn::token::Priv"]],["impl Freeze for Pub",1,["syn::token::Pub"]],["impl Freeze for Question",1,["syn::token::Question"]],["impl Freeze for RArrow",1,["syn::token::RArrow"]],["impl Freeze for Raw",1,["syn::token::Raw"]],["impl Freeze for Ref",1,["syn::token::Ref"]],["impl Freeze for Return",1,["syn::token::Return"]],["impl Freeze for SelfType",1,["syn::token::SelfType"]],["impl Freeze for SelfValue",1,["syn::token::SelfValue"]],["impl Freeze for Semi",1,["syn::token::Semi"]],["impl Freeze for Shl",1,["syn::token::Shl"]],["impl Freeze for ShlEq",1,["syn::token::ShlEq"]],["impl Freeze for Shr",1,["syn::token::Shr"]],["impl Freeze for ShrEq",1,["syn::token::ShrEq"]],["impl Freeze for Slash",1,["syn::token::Slash"]],["impl Freeze for SlashEq",1,["syn::token::SlashEq"]],["impl Freeze for Star",1,["syn::token::Star"]],["impl Freeze for StarEq",1,["syn::token::StarEq"]],["impl Freeze for Static",1,["syn::token::Static"]],["impl Freeze for Struct",1,["syn::token::Struct"]],["impl Freeze for Super",1,["syn::token::Super"]],["impl Freeze for Tilde",1,["syn::token::Tilde"]],["impl Freeze for Trait",1,["syn::token::Trait"]],["impl Freeze for Try",1,["syn::token::Try"]],["impl Freeze for Type",1,["syn::token::Type"]],["impl Freeze for Typeof",1,["syn::token::Typeof"]],["impl Freeze for Underscore",1,["syn::token::Underscore"]],["impl Freeze for Union",1,["syn::token::Union"]],["impl Freeze for Unsafe",1,["syn::token::Unsafe"]],["impl Freeze for Unsized",1,["syn::token::Unsized"]],["impl Freeze for Use",1,["syn::token::Use"]],["impl Freeze for Virtual",1,["syn::token::Virtual"]],["impl Freeze for Where",1,["syn::token::Where"]],["impl Freeze for While",1,["syn::token::While"]],["impl Freeze for Yield",1,["syn::token::Yield"]],["impl<'a> !Freeze for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Freeze for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> Freeze for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> Freeze for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> Freeze for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> Freeze for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> Freeze for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> Freeze for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> Freeze for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Freeze for Pairs<'a, T, P>",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Freeze for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> Freeze for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Freeze for IntoIter<T>",1,["syn::punctuated::IntoIter"]],["impl<T, P> Freeze for Pair<T, P>
    where\n T: Freeze,\n P: Freeze,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Freeze for IntoPairs<T, P>
    where\n T: Freeze,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Freeze for Punctuated<T, P>",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Freeze for AddBounds",1,["synstructure::AddBounds"]],["impl Freeze for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> Freeze for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> Freeze for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> Freeze for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> Freeze for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl Freeze for U1",1,["delog::hex::U1"]],["impl Freeze for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl Freeze for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Freeze for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Freeze for HexStr<'a, T, U, S>
    where\n T: ?Sized,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Freeze for Class",1,["flexiber::tag::Class"]],["impl Freeze for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Freeze for Error",1,["flexiber::error::Error"]],["impl Freeze for Length",1,["flexiber::length::Length"]],["impl Freeze for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Freeze for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Freeze for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Freeze for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Freeze for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Freeze for TaggedValue<V, T>
    where\n T: Freeze,\n V: Freeze,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Freeze for Level",1,["log::Level"]],["impl Freeze for LevelFilter",1,["log::LevelFilter"]],["impl Freeze for ParseLevelError",1,["log::ParseLevelError"]],["impl Freeze for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> Freeze for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Freeze for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> Freeze for Record<'a>",1,["log::Record"]],["impl<'a> Freeze for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl Freeze for Delimiter",1,["proc_macro2::Delimiter"]],["impl Freeze for Spacing",1,["proc_macro2::Spacing"]],["impl Freeze for TokenTree",1,["proc_macro2::TokenTree"]],["impl Freeze for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Freeze for Group",1,["proc_macro2::Group"]],["impl Freeze for Ident",1,["proc_macro2::Ident"]],["impl Freeze for LexError",1,["proc_macro2::LexError"]],["impl Freeze for Literal",1,["proc_macro2::Literal"]],["impl Freeze for Punct",1,["proc_macro2::Punct"]],["impl Freeze for Span",1,["proc_macro2::Span"]],["impl Freeze for TokenStream",1,["proc_macro2::TokenStream"]],["impl Freeze for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl Freeze for AttrStyle",1,["syn::attr::AttrStyle"]],["impl Freeze for BinOp",1,["syn::op::BinOp"]],["impl Freeze for Data",1,["syn::derive::Data"]],["impl Freeze for Expr",1,["syn::expr::Expr"]],["impl Freeze for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Freeze for Fields",1,["syn::data::Fields"]],["impl Freeze for GenericArgument",1,["syn::path::GenericArgument"]],["impl Freeze for GenericParam",1,["syn::generics::GenericParam"]],["impl Freeze for Lit",1,["syn::lit::Lit"]],["impl Freeze for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl Freeze for Member",1,["syn::expr::Member"]],["impl Freeze for Meta",1,["syn::attr::Meta"]],["impl Freeze for PathArguments",1,["syn::path::PathArguments"]],["impl Freeze for ReturnType",1,["syn::ty::ReturnType"]],["impl Freeze for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl Freeze for Type",1,["syn::ty::Type"]],["impl Freeze for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl Freeze for UnOp",1,["syn::op::UnOp"]],["impl Freeze for Visibility",1,["syn::restriction::Visibility"]],["impl Freeze for WherePredicate",1,["syn::generics::WherePredicate"]],["impl Freeze for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl Freeze for End",1,["syn::lookahead::End"]],["impl Freeze for Error",1,["syn::error::Error"]],["impl Freeze for Nothing",1,["syn::parse::Nothing"]],["impl Freeze for Abi",1,["syn::ty::Abi"]],["impl Freeze for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl Freeze for AssocConst",1,["syn::path::AssocConst"]],["impl Freeze for AssocType",1,["syn::path::AssocType"]],["impl Freeze for Attribute",1,["syn::attr::Attribute"]],["impl Freeze for BareFnArg",1,["syn::ty::BareFnArg"]],["impl Freeze for BareVariadic",1,["syn::ty::BareVariadic"]],["impl Freeze for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl Freeze for ConstParam",1,["syn::generics::ConstParam"]],["impl Freeze for Constraint",1,["syn::path::Constraint"]],["impl Freeze for DataEnum",1,["syn::derive::DataEnum"]],["impl Freeze for DataStruct",1,["syn::derive::DataStruct"]],["impl Freeze for DataUnion",1,["syn::derive::DataUnion"]],["impl Freeze for DeriveInput",1,["syn::derive::DeriveInput"]],["impl Freeze for ExprArray",1,["syn::expr::ExprArray"]],["impl Freeze for ExprAssign",1,["syn::expr::ExprAssign"]],["impl Freeze for ExprAsync",1,["syn::expr::ExprAsync"]],["impl Freeze for ExprAwait",1,["syn::expr::ExprAwait"]],["impl Freeze for ExprBinary",1,["syn::expr::ExprBinary"]],["impl Freeze for ExprBlock",1,["syn::expr::ExprBlock"]],["impl Freeze for ExprBreak",1,["syn::expr::ExprBreak"]],["impl Freeze for ExprCall",1,["syn::expr::ExprCall"]],["impl Freeze for ExprCast",1,["syn::expr::ExprCast"]],["impl Freeze for ExprClosure",1,["syn::expr::ExprClosure"]],["impl Freeze for ExprConst",1,["syn::expr::ExprConst"]],["impl Freeze for ExprContinue",1,["syn::expr::ExprContinue"]],["impl Freeze for ExprField",1,["syn::expr::ExprField"]],["impl Freeze for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl Freeze for ExprGroup",1,["syn::expr::ExprGroup"]],["impl Freeze for ExprIf",1,["syn::expr::ExprIf"]],["impl Freeze for ExprIndex",1,["syn::expr::ExprIndex"]],["impl Freeze for ExprInfer",1,["syn::expr::ExprInfer"]],["impl Freeze for ExprLet",1,["syn::expr::ExprLet"]],["impl Freeze for ExprLit",1,["syn::expr::ExprLit"]],["impl Freeze for ExprLoop",1,["syn::expr::ExprLoop"]],["impl Freeze for ExprMacro",1,["syn::expr::ExprMacro"]],["impl Freeze for ExprMatch",1,["syn::expr::ExprMatch"]],["impl Freeze for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl Freeze for ExprParen",1,["syn::expr::ExprParen"]],["impl Freeze for ExprPath",1,["syn::expr::ExprPath"]],["impl Freeze for ExprRange",1,["syn::expr::ExprRange"]],["impl Freeze for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl Freeze for ExprReference",1,["syn::expr::ExprReference"]],["impl Freeze for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl Freeze for ExprReturn",1,["syn::expr::ExprReturn"]],["impl Freeze for ExprStruct",1,["syn::expr::ExprStruct"]],["impl Freeze for ExprTry",1,["syn::expr::ExprTry"]],["impl Freeze for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl Freeze for ExprTuple",1,["syn::expr::ExprTuple"]],["impl Freeze for ExprUnary",1,["syn::expr::ExprUnary"]],["impl Freeze for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl Freeze for ExprWhile",1,["syn::expr::ExprWhile"]],["impl Freeze for ExprYield",1,["syn::expr::ExprYield"]],["impl Freeze for Field",1,["syn::data::Field"]],["impl Freeze for FieldValue",1,["syn::expr::FieldValue"]],["impl Freeze for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl Freeze for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl Freeze for Generics",1,["syn::generics::Generics"]],["impl Freeze for Index",1,["syn::expr::Index"]],["impl Freeze for Lifetime",1,["syn::lifetime::Lifetime"]],["impl Freeze for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl Freeze for LitBool",1,["syn::lit::LitBool"]],["impl Freeze for LitByte",1,["syn::lit::LitByte"]],["impl Freeze for LitByteStr",1,["syn::lit::LitByteStr"]],["impl Freeze for LitCStr",1,["syn::lit::LitCStr"]],["impl Freeze for LitChar",1,["syn::lit::LitChar"]],["impl Freeze for LitFloat",1,["syn::lit::LitFloat"]],["impl Freeze for LitInt",1,["syn::lit::LitInt"]],["impl Freeze for LitStr",1,["syn::lit::LitStr"]],["impl Freeze for Macro",1,["syn::mac::Macro"]],["impl Freeze for MetaList",1,["syn::attr::MetaList"]],["impl Freeze for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl Freeze for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl Freeze for Path",1,["syn::path::Path"]],["impl Freeze for PathSegment",1,["syn::path::PathSegment"]],["impl Freeze for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl Freeze for PredicateType",1,["syn::generics::PredicateType"]],["impl Freeze for QSelf",1,["syn::path::QSelf"]],["impl Freeze for TraitBound",1,["syn::generics::TraitBound"]],["impl Freeze for TypeArray",1,["syn::ty::TypeArray"]],["impl Freeze for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl Freeze for TypeGroup",1,["syn::ty::TypeGroup"]],["impl Freeze for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl Freeze for TypeInfer",1,["syn::ty::TypeInfer"]],["impl Freeze for TypeMacro",1,["syn::ty::TypeMacro"]],["impl Freeze for TypeNever",1,["syn::ty::TypeNever"]],["impl Freeze for TypeParam",1,["syn::generics::TypeParam"]],["impl Freeze for TypeParen",1,["syn::ty::TypeParen"]],["impl Freeze for TypePath",1,["syn::ty::TypePath"]],["impl Freeze for TypePtr",1,["syn::ty::TypePtr"]],["impl Freeze for TypeReference",1,["syn::ty::TypeReference"]],["impl Freeze for TypeSlice",1,["syn::ty::TypeSlice"]],["impl Freeze for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl Freeze for TypeTuple",1,["syn::ty::TypeTuple"]],["impl Freeze for Variant",1,["syn::data::Variant"]],["impl Freeze for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl Freeze for WhereClause",1,["syn::generics::WhereClause"]],["impl Freeze for Abstract",1,["syn::token::Abstract"]],["impl Freeze for And",1,["syn::token::And"]],["impl Freeze for AndAnd",1,["syn::token::AndAnd"]],["impl Freeze for AndEq",1,["syn::token::AndEq"]],["impl Freeze for As",1,["syn::token::As"]],["impl Freeze for Async",1,["syn::token::Async"]],["impl Freeze for At",1,["syn::token::At"]],["impl Freeze for Auto",1,["syn::token::Auto"]],["impl Freeze for Await",1,["syn::token::Await"]],["impl Freeze for Become",1,["syn::token::Become"]],["impl Freeze for Box",1,["syn::token::Box"]],["impl Freeze for Brace",1,["syn::token::Brace"]],["impl Freeze for Bracket",1,["syn::token::Bracket"]],["impl Freeze for Break",1,["syn::token::Break"]],["impl Freeze for Caret",1,["syn::token::Caret"]],["impl Freeze for CaretEq",1,["syn::token::CaretEq"]],["impl Freeze for Colon",1,["syn::token::Colon"]],["impl Freeze for Comma",1,["syn::token::Comma"]],["impl Freeze for Const",1,["syn::token::Const"]],["impl Freeze for Continue",1,["syn::token::Continue"]],["impl Freeze for Crate",1,["syn::token::Crate"]],["impl Freeze for Default",1,["syn::token::Default"]],["impl Freeze for Do",1,["syn::token::Do"]],["impl Freeze for Dollar",1,["syn::token::Dollar"]],["impl Freeze for Dot",1,["syn::token::Dot"]],["impl Freeze for DotDot",1,["syn::token::DotDot"]],["impl Freeze for DotDotDot",1,["syn::token::DotDotDot"]],["impl Freeze for DotDotEq",1,["syn::token::DotDotEq"]],["impl Freeze for Dyn",1,["syn::token::Dyn"]],["impl Freeze for Else",1,["syn::token::Else"]],["impl Freeze for Enum",1,["syn::token::Enum"]],["impl Freeze for Eq",1,["syn::token::Eq"]],["impl Freeze for EqEq",1,["syn::token::EqEq"]],["impl Freeze for Extern",1,["syn::token::Extern"]],["impl Freeze for FatArrow",1,["syn::token::FatArrow"]],["impl Freeze for Final",1,["syn::token::Final"]],["impl Freeze for Fn",1,["syn::token::Fn"]],["impl Freeze for For",1,["syn::token::For"]],["impl Freeze for Ge",1,["syn::token::Ge"]],["impl Freeze for Group",1,["syn::token::Group"]],["impl Freeze for Gt",1,["syn::token::Gt"]],["impl Freeze for If",1,["syn::token::If"]],["impl Freeze for Impl",1,["syn::token::Impl"]],["impl Freeze for In",1,["syn::token::In"]],["impl Freeze for LArrow",1,["syn::token::LArrow"]],["impl Freeze for Le",1,["syn::token::Le"]],["impl Freeze for Let",1,["syn::token::Let"]],["impl Freeze for Loop",1,["syn::token::Loop"]],["impl Freeze for Lt",1,["syn::token::Lt"]],["impl Freeze for Macro",1,["syn::token::Macro"]],["impl Freeze for Match",1,["syn::token::Match"]],["impl Freeze for Minus",1,["syn::token::Minus"]],["impl Freeze for MinusEq",1,["syn::token::MinusEq"]],["impl Freeze for Mod",1,["syn::token::Mod"]],["impl Freeze for Move",1,["syn::token::Move"]],["impl Freeze for Mut",1,["syn::token::Mut"]],["impl Freeze for Ne",1,["syn::token::Ne"]],["impl Freeze for Not",1,["syn::token::Not"]],["impl Freeze for Or",1,["syn::token::Or"]],["impl Freeze for OrEq",1,["syn::token::OrEq"]],["impl Freeze for OrOr",1,["syn::token::OrOr"]],["impl Freeze for Override",1,["syn::token::Override"]],["impl Freeze for Paren",1,["syn::token::Paren"]],["impl Freeze for PathSep",1,["syn::token::PathSep"]],["impl Freeze for Percent",1,["syn::token::Percent"]],["impl Freeze for PercentEq",1,["syn::token::PercentEq"]],["impl Freeze for Plus",1,["syn::token::Plus"]],["impl Freeze for PlusEq",1,["syn::token::PlusEq"]],["impl Freeze for Pound",1,["syn::token::Pound"]],["impl Freeze for Priv",1,["syn::token::Priv"]],["impl Freeze for Pub",1,["syn::token::Pub"]],["impl Freeze for Question",1,["syn::token::Question"]],["impl Freeze for RArrow",1,["syn::token::RArrow"]],["impl Freeze for Raw",1,["syn::token::Raw"]],["impl Freeze for Ref",1,["syn::token::Ref"]],["impl Freeze for Return",1,["syn::token::Return"]],["impl Freeze for SelfType",1,["syn::token::SelfType"]],["impl Freeze for SelfValue",1,["syn::token::SelfValue"]],["impl Freeze for Semi",1,["syn::token::Semi"]],["impl Freeze for Shl",1,["syn::token::Shl"]],["impl Freeze for ShlEq",1,["syn::token::ShlEq"]],["impl Freeze for Shr",1,["syn::token::Shr"]],["impl Freeze for ShrEq",1,["syn::token::ShrEq"]],["impl Freeze for Slash",1,["syn::token::Slash"]],["impl Freeze for SlashEq",1,["syn::token::SlashEq"]],["impl Freeze for Star",1,["syn::token::Star"]],["impl Freeze for StarEq",1,["syn::token::StarEq"]],["impl Freeze for Static",1,["syn::token::Static"]],["impl Freeze for Struct",1,["syn::token::Struct"]],["impl Freeze for Super",1,["syn::token::Super"]],["impl Freeze for Tilde",1,["syn::token::Tilde"]],["impl Freeze for Trait",1,["syn::token::Trait"]],["impl Freeze for Try",1,["syn::token::Try"]],["impl Freeze for Type",1,["syn::token::Type"]],["impl Freeze for Typeof",1,["syn::token::Typeof"]],["impl Freeze for Underscore",1,["syn::token::Underscore"]],["impl Freeze for Union",1,["syn::token::Union"]],["impl Freeze for Unsafe",1,["syn::token::Unsafe"]],["impl Freeze for Unsized",1,["syn::token::Unsized"]],["impl Freeze for Use",1,["syn::token::Use"]],["impl Freeze for Virtual",1,["syn::token::Virtual"]],["impl Freeze for Where",1,["syn::token::Where"]],["impl Freeze for While",1,["syn::token::While"]],["impl Freeze for Yield",1,["syn::token::Yield"]],["impl<'a> !Freeze for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Freeze for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> Freeze for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> Freeze for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> Freeze for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> Freeze for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> Freeze for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> Freeze for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> Freeze for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Freeze for Pairs<'a, T, P>",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Freeze for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> Freeze for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Freeze for IntoIter<T>",1,["syn::punctuated::IntoIter"]],["impl<T, P> Freeze for Pair<T, P>
    where\n T: Freeze,\n P: Freeze,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Freeze for IntoPairs<T, P>
    where\n T: Freeze,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Freeze for Punctuated<T, P>",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Freeze for AddBounds",1,["synstructure::AddBounds"]],["impl Freeze for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> Freeze for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> Freeze for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> Freeze for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> Freeze for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index cfc00ab..985e495 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Send for U1",1,["delog::hex::U1"]],["impl Send for DefaultRenderer"],["impl Send for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Send for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Send for HexStr<'a, T, U, S>
    where\n T: Sync + ?Sized,\n U: Send,\n S: Send,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Send for Class",1,["flexiber::tag::Class"]],["impl Send for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Send for Error",1,["flexiber::error::Error"]],["impl Send for Length",1,["flexiber::length::Length"]],["impl Send for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Send for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Send for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Send for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Send for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Send for TaggedValue<V, T>
    where\n T: Send,\n V: Send,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Send for Level",1,["log::Level"]],["impl Send for LevelFilter",1,["log::LevelFilter"]],["impl Send for ParseLevelError",1,["log::ParseLevelError"]],["impl Send for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> !Send for Record<'a>",1,["log::Record"]],["impl<'a> !Send for RecordBuilder<'a>",1,["log::RecordBuilder"]],["impl<'a> Send for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Send for MetadataBuilder<'a>",1,["log::MetadataBuilder"]]]],["proc_macro2",[["impl !Send for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Send for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Send for Group",1,["proc_macro2::Group"]],["impl !Send for Ident",1,["proc_macro2::Ident"]],["impl !Send for LexError",1,["proc_macro2::LexError"]],["impl !Send for Literal",1,["proc_macro2::Literal"]],["impl !Send for Punct",1,["proc_macro2::Punct"]],["impl !Send for Span",1,["proc_macro2::Span"]],["impl !Send for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Send for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Send for Delimiter",1,["proc_macro2::Delimiter"]],["impl Send for Spacing",1,["proc_macro2::Spacing"]]]],["syn",[["impl !Send for AttrStyle",1,["syn::attr::AttrStyle"]],["impl !Send for BinOp",1,["syn::op::BinOp"]],["impl !Send for Data",1,["syn::derive::Data"]],["impl !Send for Expr",1,["syn::expr::Expr"]],["impl !Send for Fields",1,["syn::data::Fields"]],["impl !Send for GenericArgument",1,["syn::path::GenericArgument"]],["impl !Send for GenericParam",1,["syn::generics::GenericParam"]],["impl !Send for Lit",1,["syn::lit::Lit"]],["impl !Send for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl !Send for Member",1,["syn::expr::Member"]],["impl !Send for Meta",1,["syn::attr::Meta"]],["impl !Send for PathArguments",1,["syn::path::PathArguments"]],["impl !Send for ReturnType",1,["syn::ty::ReturnType"]],["impl !Send for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl !Send for Type",1,["syn::ty::Type"]],["impl !Send for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl !Send for UnOp",1,["syn::op::UnOp"]],["impl !Send for Visibility",1,["syn::restriction::Visibility"]],["impl !Send for WherePredicate",1,["syn::generics::WherePredicate"]],["impl !Send for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl !Send for Abi",1,["syn::ty::Abi"]],["impl !Send for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl !Send for AssocConst",1,["syn::path::AssocConst"]],["impl !Send for AssocType",1,["syn::path::AssocType"]],["impl !Send for Attribute",1,["syn::attr::Attribute"]],["impl !Send for BareFnArg",1,["syn::ty::BareFnArg"]],["impl !Send for BareVariadic",1,["syn::ty::BareVariadic"]],["impl !Send for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl !Send for ConstParam",1,["syn::generics::ConstParam"]],["impl !Send for Constraint",1,["syn::path::Constraint"]],["impl !Send for DataEnum",1,["syn::derive::DataEnum"]],["impl !Send for DataStruct",1,["syn::derive::DataStruct"]],["impl !Send for DataUnion",1,["syn::derive::DataUnion"]],["impl !Send for DeriveInput",1,["syn::derive::DeriveInput"]],["impl !Send for ExprArray",1,["syn::expr::ExprArray"]],["impl !Send for ExprAssign",1,["syn::expr::ExprAssign"]],["impl !Send for ExprAsync",1,["syn::expr::ExprAsync"]],["impl !Send for ExprAwait",1,["syn::expr::ExprAwait"]],["impl !Send for ExprBinary",1,["syn::expr::ExprBinary"]],["impl !Send for ExprBlock",1,["syn::expr::ExprBlock"]],["impl !Send for ExprBreak",1,["syn::expr::ExprBreak"]],["impl !Send for ExprCall",1,["syn::expr::ExprCall"]],["impl !Send for ExprCast",1,["syn::expr::ExprCast"]],["impl !Send for ExprClosure",1,["syn::expr::ExprClosure"]],["impl !Send for ExprConst",1,["syn::expr::ExprConst"]],["impl !Send for ExprContinue",1,["syn::expr::ExprContinue"]],["impl !Send for ExprField",1,["syn::expr::ExprField"]],["impl !Send for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl !Send for ExprGroup",1,["syn::expr::ExprGroup"]],["impl !Send for ExprIf",1,["syn::expr::ExprIf"]],["impl !Send for ExprIndex",1,["syn::expr::ExprIndex"]],["impl !Send for ExprInfer",1,["syn::expr::ExprInfer"]],["impl !Send for ExprLet",1,["syn::expr::ExprLet"]],["impl !Send for ExprLit",1,["syn::expr::ExprLit"]],["impl !Send for ExprLoop",1,["syn::expr::ExprLoop"]],["impl !Send for ExprMacro",1,["syn::expr::ExprMacro"]],["impl !Send for ExprMatch",1,["syn::expr::ExprMatch"]],["impl !Send for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl !Send for ExprParen",1,["syn::expr::ExprParen"]],["impl !Send for ExprPath",1,["syn::expr::ExprPath"]],["impl !Send for ExprRange",1,["syn::expr::ExprRange"]],["impl !Send for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl !Send for ExprReference",1,["syn::expr::ExprReference"]],["impl !Send for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl !Send for ExprReturn",1,["syn::expr::ExprReturn"]],["impl !Send for ExprStruct",1,["syn::expr::ExprStruct"]],["impl !Send for ExprTry",1,["syn::expr::ExprTry"]],["impl !Send for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl !Send for ExprTuple",1,["syn::expr::ExprTuple"]],["impl !Send for ExprUnary",1,["syn::expr::ExprUnary"]],["impl !Send for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl !Send for ExprWhile",1,["syn::expr::ExprWhile"]],["impl !Send for ExprYield",1,["syn::expr::ExprYield"]],["impl !Send for Field",1,["syn::data::Field"]],["impl !Send for FieldValue",1,["syn::expr::FieldValue"]],["impl !Send for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl !Send for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl !Send for Generics",1,["syn::generics::Generics"]],["impl !Send for Index",1,["syn::expr::Index"]],["impl !Send for Lifetime",1,["syn::lifetime::Lifetime"]],["impl !Send for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl !Send for LitBool",1,["syn::lit::LitBool"]],["impl !Send for LitByte",1,["syn::lit::LitByte"]],["impl !Send for LitByteStr",1,["syn::lit::LitByteStr"]],["impl !Send for LitCStr",1,["syn::lit::LitCStr"]],["impl !Send for LitChar",1,["syn::lit::LitChar"]],["impl !Send for LitFloat",1,["syn::lit::LitFloat"]],["impl !Send for LitInt",1,["syn::lit::LitInt"]],["impl !Send for LitStr",1,["syn::lit::LitStr"]],["impl !Send for Macro",1,["syn::mac::Macro"]],["impl !Send for MetaList",1,["syn::attr::MetaList"]],["impl !Send for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl !Send for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl !Send for Path",1,["syn::path::Path"]],["impl !Send for PathSegment",1,["syn::path::PathSegment"]],["impl !Send for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl !Send for PredicateType",1,["syn::generics::PredicateType"]],["impl !Send for QSelf",1,["syn::path::QSelf"]],["impl !Send for TraitBound",1,["syn::generics::TraitBound"]],["impl !Send for TypeArray",1,["syn::ty::TypeArray"]],["impl !Send for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl !Send for TypeGroup",1,["syn::ty::TypeGroup"]],["impl !Send for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl !Send for TypeInfer",1,["syn::ty::TypeInfer"]],["impl !Send for TypeMacro",1,["syn::ty::TypeMacro"]],["impl !Send for TypeNever",1,["syn::ty::TypeNever"]],["impl !Send for TypeParam",1,["syn::generics::TypeParam"]],["impl !Send for TypeParen",1,["syn::ty::TypeParen"]],["impl !Send for TypePath",1,["syn::ty::TypePath"]],["impl !Send for TypePtr",1,["syn::ty::TypePtr"]],["impl !Send for TypeReference",1,["syn::ty::TypeReference"]],["impl !Send for TypeSlice",1,["syn::ty::TypeSlice"]],["impl !Send for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl !Send for TypeTuple",1,["syn::ty::TypeTuple"]],["impl !Send for Variant",1,["syn::data::Variant"]],["impl !Send for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl !Send for WhereClause",1,["syn::generics::WhereClause"]],["impl !Send for Abstract",1,["syn::token::Abstract"]],["impl !Send for And",1,["syn::token::And"]],["impl !Send for AndAnd",1,["syn::token::AndAnd"]],["impl !Send for AndEq",1,["syn::token::AndEq"]],["impl !Send for As",1,["syn::token::As"]],["impl !Send for Async",1,["syn::token::Async"]],["impl !Send for At",1,["syn::token::At"]],["impl !Send for Auto",1,["syn::token::Auto"]],["impl !Send for Await",1,["syn::token::Await"]],["impl !Send for Become",1,["syn::token::Become"]],["impl !Send for Box",1,["syn::token::Box"]],["impl !Send for Brace",1,["syn::token::Brace"]],["impl !Send for Bracket",1,["syn::token::Bracket"]],["impl !Send for Break",1,["syn::token::Break"]],["impl !Send for Caret",1,["syn::token::Caret"]],["impl !Send for CaretEq",1,["syn::token::CaretEq"]],["impl !Send for Colon",1,["syn::token::Colon"]],["impl !Send for Comma",1,["syn::token::Comma"]],["impl !Send for Const",1,["syn::token::Const"]],["impl !Send for Continue",1,["syn::token::Continue"]],["impl !Send for Crate",1,["syn::token::Crate"]],["impl !Send for Default",1,["syn::token::Default"]],["impl !Send for Do",1,["syn::token::Do"]],["impl !Send for Dollar",1,["syn::token::Dollar"]],["impl !Send for Dot",1,["syn::token::Dot"]],["impl !Send for DotDot",1,["syn::token::DotDot"]],["impl !Send for DotDotDot",1,["syn::token::DotDotDot"]],["impl !Send for DotDotEq",1,["syn::token::DotDotEq"]],["impl !Send for Dyn",1,["syn::token::Dyn"]],["impl !Send for Else",1,["syn::token::Else"]],["impl !Send for Enum",1,["syn::token::Enum"]],["impl !Send for Eq",1,["syn::token::Eq"]],["impl !Send for EqEq",1,["syn::token::EqEq"]],["impl !Send for Extern",1,["syn::token::Extern"]],["impl !Send for FatArrow",1,["syn::token::FatArrow"]],["impl !Send for Final",1,["syn::token::Final"]],["impl !Send for Fn",1,["syn::token::Fn"]],["impl !Send for For",1,["syn::token::For"]],["impl !Send for Ge",1,["syn::token::Ge"]],["impl !Send for Group",1,["syn::token::Group"]],["impl !Send for Gt",1,["syn::token::Gt"]],["impl !Send for If",1,["syn::token::If"]],["impl !Send for Impl",1,["syn::token::Impl"]],["impl !Send for In",1,["syn::token::In"]],["impl !Send for LArrow",1,["syn::token::LArrow"]],["impl !Send for Le",1,["syn::token::Le"]],["impl !Send for Let",1,["syn::token::Let"]],["impl !Send for Loop",1,["syn::token::Loop"]],["impl !Send for Lt",1,["syn::token::Lt"]],["impl !Send for Macro",1,["syn::token::Macro"]],["impl !Send for Match",1,["syn::token::Match"]],["impl !Send for Minus",1,["syn::token::Minus"]],["impl !Send for MinusEq",1,["syn::token::MinusEq"]],["impl !Send for Mod",1,["syn::token::Mod"]],["impl !Send for Move",1,["syn::token::Move"]],["impl !Send for Mut",1,["syn::token::Mut"]],["impl !Send for Ne",1,["syn::token::Ne"]],["impl !Send for Not",1,["syn::token::Not"]],["impl !Send for Or",1,["syn::token::Or"]],["impl !Send for OrEq",1,["syn::token::OrEq"]],["impl !Send for OrOr",1,["syn::token::OrOr"]],["impl !Send for Override",1,["syn::token::Override"]],["impl !Send for Paren",1,["syn::token::Paren"]],["impl !Send for PathSep",1,["syn::token::PathSep"]],["impl !Send for Percent",1,["syn::token::Percent"]],["impl !Send for PercentEq",1,["syn::token::PercentEq"]],["impl !Send for Plus",1,["syn::token::Plus"]],["impl !Send for PlusEq",1,["syn::token::PlusEq"]],["impl !Send for Pound",1,["syn::token::Pound"]],["impl !Send for Priv",1,["syn::token::Priv"]],["impl !Send for Pub",1,["syn::token::Pub"]],["impl !Send for Question",1,["syn::token::Question"]],["impl !Send for RArrow",1,["syn::token::RArrow"]],["impl !Send for Raw",1,["syn::token::Raw"]],["impl !Send for Ref",1,["syn::token::Ref"]],["impl !Send for Return",1,["syn::token::Return"]],["impl !Send for SelfType",1,["syn::token::SelfType"]],["impl !Send for SelfValue",1,["syn::token::SelfValue"]],["impl !Send for Semi",1,["syn::token::Semi"]],["impl !Send for Shl",1,["syn::token::Shl"]],["impl !Send for ShlEq",1,["syn::token::ShlEq"]],["impl !Send for Shr",1,["syn::token::Shr"]],["impl !Send for ShrEq",1,["syn::token::ShrEq"]],["impl !Send for Slash",1,["syn::token::Slash"]],["impl !Send for SlashEq",1,["syn::token::SlashEq"]],["impl !Send for Star",1,["syn::token::Star"]],["impl !Send for StarEq",1,["syn::token::StarEq"]],["impl !Send for Static",1,["syn::token::Static"]],["impl !Send for Struct",1,["syn::token::Struct"]],["impl !Send for Super",1,["syn::token::Super"]],["impl !Send for Tilde",1,["syn::token::Tilde"]],["impl !Send for Trait",1,["syn::token::Trait"]],["impl !Send for Try",1,["syn::token::Try"]],["impl !Send for Type",1,["syn::token::Type"]],["impl !Send for Typeof",1,["syn::token::Typeof"]],["impl !Send for Underscore",1,["syn::token::Underscore"]],["impl !Send for Union",1,["syn::token::Union"]],["impl !Send for Unsafe",1,["syn::token::Unsafe"]],["impl !Send for Unsized",1,["syn::token::Unsized"]],["impl !Send for Use",1,["syn::token::Use"]],["impl !Send for Virtual",1,["syn::token::Virtual"]],["impl !Send for Where",1,["syn::token::Where"]],["impl !Send for While",1,["syn::token::While"]],["impl !Send for Yield",1,["syn::token::Yield"]],["impl Send for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Send for End",1,["syn::lookahead::End"]],["impl Send for Error",1,["syn::error::Error"]],["impl Send for Nothing",1,["syn::parse::Nothing"]],["impl<'a> !Send for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> !Send for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> !Send for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Send for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> !Send for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> !Send for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> !Send for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !Send for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !Send for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Send for Pairs<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Send for PairsMut<'a, T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> !Send for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Send for IntoIter<T>
    where\n T: Send,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Send for Pair<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Send for IntoPairs<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Send for Punctuated<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Send for AddBounds",1,["synstructure::AddBounds"]],["impl Send for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> !Send for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> !Send for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> !Send for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> !Send for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl Send for U1",1,["delog::hex::U1"]],["impl Send for DefaultRenderer"],["impl Send for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Send for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Send for HexStr<'a, T, U, S>
    where\n T: Sync + ?Sized,\n U: Send,\n S: Send,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Send for Class",1,["flexiber::tag::Class"]],["impl Send for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Send for Error",1,["flexiber::error::Error"]],["impl Send for Length",1,["flexiber::length::Length"]],["impl Send for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Send for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Send for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Send for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Send for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Send for TaggedValue<V, T>
    where\n T: Send,\n V: Send,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Send for Level",1,["log::Level"]],["impl Send for LevelFilter",1,["log::LevelFilter"]],["impl Send for ParseLevelError",1,["log::ParseLevelError"]],["impl Send for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> !Send for Record<'a>",1,["log::Record"]],["impl<'a> !Send for RecordBuilder<'a>",1,["log::RecordBuilder"]],["impl<'a> Send for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Send for MetadataBuilder<'a>",1,["log::MetadataBuilder"]]]],["proc_macro2",[["impl !Send for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Send for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Send for Group",1,["proc_macro2::Group"]],["impl !Send for Ident",1,["proc_macro2::Ident"]],["impl !Send for LexError",1,["proc_macro2::LexError"]],["impl !Send for Literal",1,["proc_macro2::Literal"]],["impl !Send for Punct",1,["proc_macro2::Punct"]],["impl !Send for Span",1,["proc_macro2::Span"]],["impl !Send for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Send for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Send for Delimiter",1,["proc_macro2::Delimiter"]],["impl Send for Spacing",1,["proc_macro2::Spacing"]]]],["syn",[["impl !Send for AttrStyle",1,["syn::attr::AttrStyle"]],["impl !Send for BinOp",1,["syn::op::BinOp"]],["impl !Send for Data",1,["syn::derive::Data"]],["impl !Send for Expr",1,["syn::expr::Expr"]],["impl !Send for Fields",1,["syn::data::Fields"]],["impl !Send for GenericArgument",1,["syn::path::GenericArgument"]],["impl !Send for GenericParam",1,["syn::generics::GenericParam"]],["impl !Send for Lit",1,["syn::lit::Lit"]],["impl !Send for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl !Send for Member",1,["syn::expr::Member"]],["impl !Send for Meta",1,["syn::attr::Meta"]],["impl !Send for PathArguments",1,["syn::path::PathArguments"]],["impl !Send for ReturnType",1,["syn::ty::ReturnType"]],["impl !Send for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl !Send for Type",1,["syn::ty::Type"]],["impl !Send for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl !Send for UnOp",1,["syn::op::UnOp"]],["impl !Send for Visibility",1,["syn::restriction::Visibility"]],["impl !Send for WherePredicate",1,["syn::generics::WherePredicate"]],["impl !Send for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl !Send for Abi",1,["syn::ty::Abi"]],["impl !Send for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl !Send for AssocConst",1,["syn::path::AssocConst"]],["impl !Send for AssocType",1,["syn::path::AssocType"]],["impl !Send for Attribute",1,["syn::attr::Attribute"]],["impl !Send for BareFnArg",1,["syn::ty::BareFnArg"]],["impl !Send for BareVariadic",1,["syn::ty::BareVariadic"]],["impl !Send for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl !Send for ConstParam",1,["syn::generics::ConstParam"]],["impl !Send for Constraint",1,["syn::path::Constraint"]],["impl !Send for DataEnum",1,["syn::derive::DataEnum"]],["impl !Send for DataStruct",1,["syn::derive::DataStruct"]],["impl !Send for DataUnion",1,["syn::derive::DataUnion"]],["impl !Send for DeriveInput",1,["syn::derive::DeriveInput"]],["impl !Send for ExprArray",1,["syn::expr::ExprArray"]],["impl !Send for ExprAssign",1,["syn::expr::ExprAssign"]],["impl !Send for ExprAsync",1,["syn::expr::ExprAsync"]],["impl !Send for ExprAwait",1,["syn::expr::ExprAwait"]],["impl !Send for ExprBinary",1,["syn::expr::ExprBinary"]],["impl !Send for ExprBlock",1,["syn::expr::ExprBlock"]],["impl !Send for ExprBreak",1,["syn::expr::ExprBreak"]],["impl !Send for ExprCall",1,["syn::expr::ExprCall"]],["impl !Send for ExprCast",1,["syn::expr::ExprCast"]],["impl !Send for ExprClosure",1,["syn::expr::ExprClosure"]],["impl !Send for ExprConst",1,["syn::expr::ExprConst"]],["impl !Send for ExprContinue",1,["syn::expr::ExprContinue"]],["impl !Send for ExprField",1,["syn::expr::ExprField"]],["impl !Send for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl !Send for ExprGroup",1,["syn::expr::ExprGroup"]],["impl !Send for ExprIf",1,["syn::expr::ExprIf"]],["impl !Send for ExprIndex",1,["syn::expr::ExprIndex"]],["impl !Send for ExprInfer",1,["syn::expr::ExprInfer"]],["impl !Send for ExprLet",1,["syn::expr::ExprLet"]],["impl !Send for ExprLit",1,["syn::expr::ExprLit"]],["impl !Send for ExprLoop",1,["syn::expr::ExprLoop"]],["impl !Send for ExprMacro",1,["syn::expr::ExprMacro"]],["impl !Send for ExprMatch",1,["syn::expr::ExprMatch"]],["impl !Send for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl !Send for ExprParen",1,["syn::expr::ExprParen"]],["impl !Send for ExprPath",1,["syn::expr::ExprPath"]],["impl !Send for ExprRange",1,["syn::expr::ExprRange"]],["impl !Send for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl !Send for ExprReference",1,["syn::expr::ExprReference"]],["impl !Send for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl !Send for ExprReturn",1,["syn::expr::ExprReturn"]],["impl !Send for ExprStruct",1,["syn::expr::ExprStruct"]],["impl !Send for ExprTry",1,["syn::expr::ExprTry"]],["impl !Send for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl !Send for ExprTuple",1,["syn::expr::ExprTuple"]],["impl !Send for ExprUnary",1,["syn::expr::ExprUnary"]],["impl !Send for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl !Send for ExprWhile",1,["syn::expr::ExprWhile"]],["impl !Send for ExprYield",1,["syn::expr::ExprYield"]],["impl !Send for Field",1,["syn::data::Field"]],["impl !Send for FieldValue",1,["syn::expr::FieldValue"]],["impl !Send for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl !Send for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl !Send for Generics",1,["syn::generics::Generics"]],["impl !Send for Index",1,["syn::expr::Index"]],["impl !Send for Lifetime",1,["syn::lifetime::Lifetime"]],["impl !Send for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl !Send for LitBool",1,["syn::lit::LitBool"]],["impl !Send for LitByte",1,["syn::lit::LitByte"]],["impl !Send for LitByteStr",1,["syn::lit::LitByteStr"]],["impl !Send for LitCStr",1,["syn::lit::LitCStr"]],["impl !Send for LitChar",1,["syn::lit::LitChar"]],["impl !Send for LitFloat",1,["syn::lit::LitFloat"]],["impl !Send for LitInt",1,["syn::lit::LitInt"]],["impl !Send for LitStr",1,["syn::lit::LitStr"]],["impl !Send for Macro",1,["syn::mac::Macro"]],["impl !Send for MetaList",1,["syn::attr::MetaList"]],["impl !Send for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl !Send for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl !Send for Path",1,["syn::path::Path"]],["impl !Send for PathSegment",1,["syn::path::PathSegment"]],["impl !Send for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl !Send for PredicateType",1,["syn::generics::PredicateType"]],["impl !Send for QSelf",1,["syn::path::QSelf"]],["impl !Send for TraitBound",1,["syn::generics::TraitBound"]],["impl !Send for TypeArray",1,["syn::ty::TypeArray"]],["impl !Send for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl !Send for TypeGroup",1,["syn::ty::TypeGroup"]],["impl !Send for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl !Send for TypeInfer",1,["syn::ty::TypeInfer"]],["impl !Send for TypeMacro",1,["syn::ty::TypeMacro"]],["impl !Send for TypeNever",1,["syn::ty::TypeNever"]],["impl !Send for TypeParam",1,["syn::generics::TypeParam"]],["impl !Send for TypeParen",1,["syn::ty::TypeParen"]],["impl !Send for TypePath",1,["syn::ty::TypePath"]],["impl !Send for TypePtr",1,["syn::ty::TypePtr"]],["impl !Send for TypeReference",1,["syn::ty::TypeReference"]],["impl !Send for TypeSlice",1,["syn::ty::TypeSlice"]],["impl !Send for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl !Send for TypeTuple",1,["syn::ty::TypeTuple"]],["impl !Send for Variant",1,["syn::data::Variant"]],["impl !Send for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl !Send for WhereClause",1,["syn::generics::WhereClause"]],["impl !Send for Abstract",1,["syn::token::Abstract"]],["impl !Send for And",1,["syn::token::And"]],["impl !Send for AndAnd",1,["syn::token::AndAnd"]],["impl !Send for AndEq",1,["syn::token::AndEq"]],["impl !Send for As",1,["syn::token::As"]],["impl !Send for Async",1,["syn::token::Async"]],["impl !Send for At",1,["syn::token::At"]],["impl !Send for Auto",1,["syn::token::Auto"]],["impl !Send for Await",1,["syn::token::Await"]],["impl !Send for Become",1,["syn::token::Become"]],["impl !Send for Box",1,["syn::token::Box"]],["impl !Send for Brace",1,["syn::token::Brace"]],["impl !Send for Bracket",1,["syn::token::Bracket"]],["impl !Send for Break",1,["syn::token::Break"]],["impl !Send for Caret",1,["syn::token::Caret"]],["impl !Send for CaretEq",1,["syn::token::CaretEq"]],["impl !Send for Colon",1,["syn::token::Colon"]],["impl !Send for Comma",1,["syn::token::Comma"]],["impl !Send for Const",1,["syn::token::Const"]],["impl !Send for Continue",1,["syn::token::Continue"]],["impl !Send for Crate",1,["syn::token::Crate"]],["impl !Send for Default",1,["syn::token::Default"]],["impl !Send for Do",1,["syn::token::Do"]],["impl !Send for Dollar",1,["syn::token::Dollar"]],["impl !Send for Dot",1,["syn::token::Dot"]],["impl !Send for DotDot",1,["syn::token::DotDot"]],["impl !Send for DotDotDot",1,["syn::token::DotDotDot"]],["impl !Send for DotDotEq",1,["syn::token::DotDotEq"]],["impl !Send for Dyn",1,["syn::token::Dyn"]],["impl !Send for Else",1,["syn::token::Else"]],["impl !Send for Enum",1,["syn::token::Enum"]],["impl !Send for Eq",1,["syn::token::Eq"]],["impl !Send for EqEq",1,["syn::token::EqEq"]],["impl !Send for Extern",1,["syn::token::Extern"]],["impl !Send for FatArrow",1,["syn::token::FatArrow"]],["impl !Send for Final",1,["syn::token::Final"]],["impl !Send for Fn",1,["syn::token::Fn"]],["impl !Send for For",1,["syn::token::For"]],["impl !Send for Ge",1,["syn::token::Ge"]],["impl !Send for Group",1,["syn::token::Group"]],["impl !Send for Gt",1,["syn::token::Gt"]],["impl !Send for If",1,["syn::token::If"]],["impl !Send for Impl",1,["syn::token::Impl"]],["impl !Send for In",1,["syn::token::In"]],["impl !Send for LArrow",1,["syn::token::LArrow"]],["impl !Send for Le",1,["syn::token::Le"]],["impl !Send for Let",1,["syn::token::Let"]],["impl !Send for Loop",1,["syn::token::Loop"]],["impl !Send for Lt",1,["syn::token::Lt"]],["impl !Send for Macro",1,["syn::token::Macro"]],["impl !Send for Match",1,["syn::token::Match"]],["impl !Send for Minus",1,["syn::token::Minus"]],["impl !Send for MinusEq",1,["syn::token::MinusEq"]],["impl !Send for Mod",1,["syn::token::Mod"]],["impl !Send for Move",1,["syn::token::Move"]],["impl !Send for Mut",1,["syn::token::Mut"]],["impl !Send for Ne",1,["syn::token::Ne"]],["impl !Send for Not",1,["syn::token::Not"]],["impl !Send for Or",1,["syn::token::Or"]],["impl !Send for OrEq",1,["syn::token::OrEq"]],["impl !Send for OrOr",1,["syn::token::OrOr"]],["impl !Send for Override",1,["syn::token::Override"]],["impl !Send for Paren",1,["syn::token::Paren"]],["impl !Send for PathSep",1,["syn::token::PathSep"]],["impl !Send for Percent",1,["syn::token::Percent"]],["impl !Send for PercentEq",1,["syn::token::PercentEq"]],["impl !Send for Plus",1,["syn::token::Plus"]],["impl !Send for PlusEq",1,["syn::token::PlusEq"]],["impl !Send for Pound",1,["syn::token::Pound"]],["impl !Send for Priv",1,["syn::token::Priv"]],["impl !Send for Pub",1,["syn::token::Pub"]],["impl !Send for Question",1,["syn::token::Question"]],["impl !Send for RArrow",1,["syn::token::RArrow"]],["impl !Send for Raw",1,["syn::token::Raw"]],["impl !Send for Ref",1,["syn::token::Ref"]],["impl !Send for Return",1,["syn::token::Return"]],["impl !Send for SelfType",1,["syn::token::SelfType"]],["impl !Send for SelfValue",1,["syn::token::SelfValue"]],["impl !Send for Semi",1,["syn::token::Semi"]],["impl !Send for Shl",1,["syn::token::Shl"]],["impl !Send for ShlEq",1,["syn::token::ShlEq"]],["impl !Send for Shr",1,["syn::token::Shr"]],["impl !Send for ShrEq",1,["syn::token::ShrEq"]],["impl !Send for Slash",1,["syn::token::Slash"]],["impl !Send for SlashEq",1,["syn::token::SlashEq"]],["impl !Send for Star",1,["syn::token::Star"]],["impl !Send for StarEq",1,["syn::token::StarEq"]],["impl !Send for Static",1,["syn::token::Static"]],["impl !Send for Struct",1,["syn::token::Struct"]],["impl !Send for Super",1,["syn::token::Super"]],["impl !Send for Tilde",1,["syn::token::Tilde"]],["impl !Send for Trait",1,["syn::token::Trait"]],["impl !Send for Try",1,["syn::token::Try"]],["impl !Send for Type",1,["syn::token::Type"]],["impl !Send for Typeof",1,["syn::token::Typeof"]],["impl !Send for Underscore",1,["syn::token::Underscore"]],["impl !Send for Union",1,["syn::token::Union"]],["impl !Send for Unsafe",1,["syn::token::Unsafe"]],["impl !Send for Unsized",1,["syn::token::Unsized"]],["impl !Send for Use",1,["syn::token::Use"]],["impl !Send for Virtual",1,["syn::token::Virtual"]],["impl !Send for Where",1,["syn::token::Where"]],["impl !Send for While",1,["syn::token::While"]],["impl !Send for Yield",1,["syn::token::Yield"]],["impl Send for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Send for End",1,["syn::lookahead::End"]],["impl Send for Error",1,["syn::error::Error"]],["impl Send for Nothing",1,["syn::parse::Nothing"]],["impl<'a> !Send for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> !Send for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> !Send for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Send for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> !Send for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> !Send for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> !Send for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !Send for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !Send for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Send for Pairs<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Send for PairsMut<'a, T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> !Send for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Send for IntoIter<T>
    where\n T: Send,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Send for Pair<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Send for IntoPairs<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Send for Punctuated<T, P>
    where\n T: Send,\n P: Send,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Send for AddBounds",1,["synstructure::AddBounds"]],["impl Send for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> !Send for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> !Send for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> !Send for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> !Send for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js index 90bb688..4891c67 100644 --- a/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl StructuralPartialEq for Class"],["impl StructuralPartialEq for ErrorKind"],["impl StructuralPartialEq for Error"],["impl StructuralPartialEq for Length"],["impl StructuralPartialEq for SimpleTag"],["impl StructuralPartialEq for Tag"],["impl<'a> StructuralPartialEq for Slice<'a>"],["impl<V, T> StructuralPartialEq for TaggedValue<V, T>"]]],["log",[["impl StructuralPartialEq for Level"],["impl StructuralPartialEq for LevelFilter"],["impl StructuralPartialEq for ParseLevelError"],["impl<'a> StructuralPartialEq for Metadata<'a>"],["impl<'a> StructuralPartialEq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl StructuralPartialEq for Delimiter"],["impl StructuralPartialEq for Spacing"]]],["synstructure",[["impl StructuralPartialEq for AddBounds"],["impl StructuralPartialEq for BindStyle"],["impl<'a> StructuralPartialEq for BindingInfo<'a>"],["impl<'a> StructuralPartialEq for Structure<'a>"],["impl<'a> StructuralPartialEq for VariantAst<'a>"],["impl<'a> StructuralPartialEq for VariantInfo<'a>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl StructuralPartialEq for Class"],["impl StructuralPartialEq for ErrorKind"],["impl StructuralPartialEq for Error"],["impl StructuralPartialEq for Length"],["impl StructuralPartialEq for SimpleTag"],["impl StructuralPartialEq for Tag"],["impl<'a> StructuralPartialEq for Slice<'a>"],["impl<V, T> StructuralPartialEq for TaggedValue<V, T>"]]],["log",[["impl StructuralPartialEq for Level"],["impl StructuralPartialEq for LevelFilter"],["impl StructuralPartialEq for ParseLevelError"],["impl<'a> StructuralPartialEq for Metadata<'a>"],["impl<'a> StructuralPartialEq for MetadataBuilder<'a>"]]],["proc_macro2",[["impl StructuralPartialEq for Delimiter"],["impl StructuralPartialEq for Spacing"]]],["synstructure",[["impl StructuralPartialEq for AddBounds"],["impl StructuralPartialEq for BindStyle"],["impl<'a> StructuralPartialEq for BindingInfo<'a>"],["impl<'a> StructuralPartialEq for Structure<'a>"],["impl<'a> StructuralPartialEq for VariantAst<'a>"],["impl<'a> StructuralPartialEq for VariantInfo<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index 386f712..aaf7fb4 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Sync for U1",1,["delog::hex::U1"]],["impl Sync for DefaultRenderer"],["impl Sync for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Sync for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Sync for HexStr<'a, T, U, S>
    where\n T: Sync + ?Sized,\n U: Sync,\n S: Sync,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Sync for Class",1,["flexiber::tag::Class"]],["impl Sync for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Sync for Error",1,["flexiber::error::Error"]],["impl Sync for Length",1,["flexiber::length::Length"]],["impl Sync for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Sync for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Sync for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Sync for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Sync for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Sync for TaggedValue<V, T>
    where\n T: Sync,\n V: Sync,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Sync for Level",1,["log::Level"]],["impl Sync for LevelFilter",1,["log::LevelFilter"]],["impl Sync for ParseLevelError",1,["log::ParseLevelError"]],["impl Sync for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> !Sync for Record<'a>",1,["log::Record"]],["impl<'a> !Sync for RecordBuilder<'a>",1,["log::RecordBuilder"]],["impl<'a> Sync for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Sync for MetadataBuilder<'a>",1,["log::MetadataBuilder"]]]],["proc_macro2",[["impl !Sync for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Sync for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Sync for Group",1,["proc_macro2::Group"]],["impl !Sync for Ident",1,["proc_macro2::Ident"]],["impl !Sync for LexError",1,["proc_macro2::LexError"]],["impl !Sync for Literal",1,["proc_macro2::Literal"]],["impl !Sync for Punct",1,["proc_macro2::Punct"]],["impl !Sync for Span",1,["proc_macro2::Span"]],["impl !Sync for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Sync for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Sync for Delimiter",1,["proc_macro2::Delimiter"]],["impl Sync for Spacing",1,["proc_macro2::Spacing"]]]],["syn",[["impl !Sync for AttrStyle",1,["syn::attr::AttrStyle"]],["impl !Sync for BinOp",1,["syn::op::BinOp"]],["impl !Sync for Data",1,["syn::derive::Data"]],["impl !Sync for Expr",1,["syn::expr::Expr"]],["impl !Sync for Fields",1,["syn::data::Fields"]],["impl !Sync for GenericArgument",1,["syn::path::GenericArgument"]],["impl !Sync for GenericParam",1,["syn::generics::GenericParam"]],["impl !Sync for Lit",1,["syn::lit::Lit"]],["impl !Sync for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl !Sync for Member",1,["syn::expr::Member"]],["impl !Sync for Meta",1,["syn::attr::Meta"]],["impl !Sync for PathArguments",1,["syn::path::PathArguments"]],["impl !Sync for ReturnType",1,["syn::ty::ReturnType"]],["impl !Sync for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl !Sync for Type",1,["syn::ty::Type"]],["impl !Sync for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl !Sync for UnOp",1,["syn::op::UnOp"]],["impl !Sync for Visibility",1,["syn::restriction::Visibility"]],["impl !Sync for WherePredicate",1,["syn::generics::WherePredicate"]],["impl !Sync for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl !Sync for Abi",1,["syn::ty::Abi"]],["impl !Sync for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl !Sync for AssocConst",1,["syn::path::AssocConst"]],["impl !Sync for AssocType",1,["syn::path::AssocType"]],["impl !Sync for Attribute",1,["syn::attr::Attribute"]],["impl !Sync for BareFnArg",1,["syn::ty::BareFnArg"]],["impl !Sync for BareVariadic",1,["syn::ty::BareVariadic"]],["impl !Sync for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl !Sync for ConstParam",1,["syn::generics::ConstParam"]],["impl !Sync for Constraint",1,["syn::path::Constraint"]],["impl !Sync for DataEnum",1,["syn::derive::DataEnum"]],["impl !Sync for DataStruct",1,["syn::derive::DataStruct"]],["impl !Sync for DataUnion",1,["syn::derive::DataUnion"]],["impl !Sync for DeriveInput",1,["syn::derive::DeriveInput"]],["impl !Sync for ExprArray",1,["syn::expr::ExprArray"]],["impl !Sync for ExprAssign",1,["syn::expr::ExprAssign"]],["impl !Sync for ExprAsync",1,["syn::expr::ExprAsync"]],["impl !Sync for ExprAwait",1,["syn::expr::ExprAwait"]],["impl !Sync for ExprBinary",1,["syn::expr::ExprBinary"]],["impl !Sync for ExprBlock",1,["syn::expr::ExprBlock"]],["impl !Sync for ExprBreak",1,["syn::expr::ExprBreak"]],["impl !Sync for ExprCall",1,["syn::expr::ExprCall"]],["impl !Sync for ExprCast",1,["syn::expr::ExprCast"]],["impl !Sync for ExprClosure",1,["syn::expr::ExprClosure"]],["impl !Sync for ExprConst",1,["syn::expr::ExprConst"]],["impl !Sync for ExprContinue",1,["syn::expr::ExprContinue"]],["impl !Sync for ExprField",1,["syn::expr::ExprField"]],["impl !Sync for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl !Sync for ExprGroup",1,["syn::expr::ExprGroup"]],["impl !Sync for ExprIf",1,["syn::expr::ExprIf"]],["impl !Sync for ExprIndex",1,["syn::expr::ExprIndex"]],["impl !Sync for ExprInfer",1,["syn::expr::ExprInfer"]],["impl !Sync for ExprLet",1,["syn::expr::ExprLet"]],["impl !Sync for ExprLit",1,["syn::expr::ExprLit"]],["impl !Sync for ExprLoop",1,["syn::expr::ExprLoop"]],["impl !Sync for ExprMacro",1,["syn::expr::ExprMacro"]],["impl !Sync for ExprMatch",1,["syn::expr::ExprMatch"]],["impl !Sync for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl !Sync for ExprParen",1,["syn::expr::ExprParen"]],["impl !Sync for ExprPath",1,["syn::expr::ExprPath"]],["impl !Sync for ExprRange",1,["syn::expr::ExprRange"]],["impl !Sync for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl !Sync for ExprReference",1,["syn::expr::ExprReference"]],["impl !Sync for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl !Sync for ExprReturn",1,["syn::expr::ExprReturn"]],["impl !Sync for ExprStruct",1,["syn::expr::ExprStruct"]],["impl !Sync for ExprTry",1,["syn::expr::ExprTry"]],["impl !Sync for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl !Sync for ExprTuple",1,["syn::expr::ExprTuple"]],["impl !Sync for ExprUnary",1,["syn::expr::ExprUnary"]],["impl !Sync for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl !Sync for ExprWhile",1,["syn::expr::ExprWhile"]],["impl !Sync for ExprYield",1,["syn::expr::ExprYield"]],["impl !Sync for Field",1,["syn::data::Field"]],["impl !Sync for FieldValue",1,["syn::expr::FieldValue"]],["impl !Sync for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl !Sync for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl !Sync for Generics",1,["syn::generics::Generics"]],["impl !Sync for Index",1,["syn::expr::Index"]],["impl !Sync for Lifetime",1,["syn::lifetime::Lifetime"]],["impl !Sync for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl !Sync for LitBool",1,["syn::lit::LitBool"]],["impl !Sync for LitByte",1,["syn::lit::LitByte"]],["impl !Sync for LitByteStr",1,["syn::lit::LitByteStr"]],["impl !Sync for LitCStr",1,["syn::lit::LitCStr"]],["impl !Sync for LitChar",1,["syn::lit::LitChar"]],["impl !Sync for LitFloat",1,["syn::lit::LitFloat"]],["impl !Sync for LitInt",1,["syn::lit::LitInt"]],["impl !Sync for LitStr",1,["syn::lit::LitStr"]],["impl !Sync for Macro",1,["syn::mac::Macro"]],["impl !Sync for MetaList",1,["syn::attr::MetaList"]],["impl !Sync for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl !Sync for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl !Sync for Path",1,["syn::path::Path"]],["impl !Sync for PathSegment",1,["syn::path::PathSegment"]],["impl !Sync for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl !Sync for PredicateType",1,["syn::generics::PredicateType"]],["impl !Sync for QSelf",1,["syn::path::QSelf"]],["impl !Sync for TraitBound",1,["syn::generics::TraitBound"]],["impl !Sync for TypeArray",1,["syn::ty::TypeArray"]],["impl !Sync for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl !Sync for TypeGroup",1,["syn::ty::TypeGroup"]],["impl !Sync for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl !Sync for TypeInfer",1,["syn::ty::TypeInfer"]],["impl !Sync for TypeMacro",1,["syn::ty::TypeMacro"]],["impl !Sync for TypeNever",1,["syn::ty::TypeNever"]],["impl !Sync for TypeParam",1,["syn::generics::TypeParam"]],["impl !Sync for TypeParen",1,["syn::ty::TypeParen"]],["impl !Sync for TypePath",1,["syn::ty::TypePath"]],["impl !Sync for TypePtr",1,["syn::ty::TypePtr"]],["impl !Sync for TypeReference",1,["syn::ty::TypeReference"]],["impl !Sync for TypeSlice",1,["syn::ty::TypeSlice"]],["impl !Sync for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl !Sync for TypeTuple",1,["syn::ty::TypeTuple"]],["impl !Sync for Variant",1,["syn::data::Variant"]],["impl !Sync for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl !Sync for WhereClause",1,["syn::generics::WhereClause"]],["impl !Sync for Abstract",1,["syn::token::Abstract"]],["impl !Sync for And",1,["syn::token::And"]],["impl !Sync for AndAnd",1,["syn::token::AndAnd"]],["impl !Sync for AndEq",1,["syn::token::AndEq"]],["impl !Sync for As",1,["syn::token::As"]],["impl !Sync for Async",1,["syn::token::Async"]],["impl !Sync for At",1,["syn::token::At"]],["impl !Sync for Auto",1,["syn::token::Auto"]],["impl !Sync for Await",1,["syn::token::Await"]],["impl !Sync for Become",1,["syn::token::Become"]],["impl !Sync for Box",1,["syn::token::Box"]],["impl !Sync for Brace",1,["syn::token::Brace"]],["impl !Sync for Bracket",1,["syn::token::Bracket"]],["impl !Sync for Break",1,["syn::token::Break"]],["impl !Sync for Caret",1,["syn::token::Caret"]],["impl !Sync for CaretEq",1,["syn::token::CaretEq"]],["impl !Sync for Colon",1,["syn::token::Colon"]],["impl !Sync for Comma",1,["syn::token::Comma"]],["impl !Sync for Const",1,["syn::token::Const"]],["impl !Sync for Continue",1,["syn::token::Continue"]],["impl !Sync for Crate",1,["syn::token::Crate"]],["impl !Sync for Default",1,["syn::token::Default"]],["impl !Sync for Do",1,["syn::token::Do"]],["impl !Sync for Dollar",1,["syn::token::Dollar"]],["impl !Sync for Dot",1,["syn::token::Dot"]],["impl !Sync for DotDot",1,["syn::token::DotDot"]],["impl !Sync for DotDotDot",1,["syn::token::DotDotDot"]],["impl !Sync for DotDotEq",1,["syn::token::DotDotEq"]],["impl !Sync for Dyn",1,["syn::token::Dyn"]],["impl !Sync for Else",1,["syn::token::Else"]],["impl !Sync for Enum",1,["syn::token::Enum"]],["impl !Sync for Eq",1,["syn::token::Eq"]],["impl !Sync for EqEq",1,["syn::token::EqEq"]],["impl !Sync for Extern",1,["syn::token::Extern"]],["impl !Sync for FatArrow",1,["syn::token::FatArrow"]],["impl !Sync for Final",1,["syn::token::Final"]],["impl !Sync for Fn",1,["syn::token::Fn"]],["impl !Sync for For",1,["syn::token::For"]],["impl !Sync for Ge",1,["syn::token::Ge"]],["impl !Sync for Group",1,["syn::token::Group"]],["impl !Sync for Gt",1,["syn::token::Gt"]],["impl !Sync for If",1,["syn::token::If"]],["impl !Sync for Impl",1,["syn::token::Impl"]],["impl !Sync for In",1,["syn::token::In"]],["impl !Sync for LArrow",1,["syn::token::LArrow"]],["impl !Sync for Le",1,["syn::token::Le"]],["impl !Sync for Let",1,["syn::token::Let"]],["impl !Sync for Loop",1,["syn::token::Loop"]],["impl !Sync for Lt",1,["syn::token::Lt"]],["impl !Sync for Macro",1,["syn::token::Macro"]],["impl !Sync for Match",1,["syn::token::Match"]],["impl !Sync for Minus",1,["syn::token::Minus"]],["impl !Sync for MinusEq",1,["syn::token::MinusEq"]],["impl !Sync for Mod",1,["syn::token::Mod"]],["impl !Sync for Move",1,["syn::token::Move"]],["impl !Sync for Mut",1,["syn::token::Mut"]],["impl !Sync for Ne",1,["syn::token::Ne"]],["impl !Sync for Not",1,["syn::token::Not"]],["impl !Sync for Or",1,["syn::token::Or"]],["impl !Sync for OrEq",1,["syn::token::OrEq"]],["impl !Sync for OrOr",1,["syn::token::OrOr"]],["impl !Sync for Override",1,["syn::token::Override"]],["impl !Sync for Paren",1,["syn::token::Paren"]],["impl !Sync for PathSep",1,["syn::token::PathSep"]],["impl !Sync for Percent",1,["syn::token::Percent"]],["impl !Sync for PercentEq",1,["syn::token::PercentEq"]],["impl !Sync for Plus",1,["syn::token::Plus"]],["impl !Sync for PlusEq",1,["syn::token::PlusEq"]],["impl !Sync for Pound",1,["syn::token::Pound"]],["impl !Sync for Priv",1,["syn::token::Priv"]],["impl !Sync for Pub",1,["syn::token::Pub"]],["impl !Sync for Question",1,["syn::token::Question"]],["impl !Sync for RArrow",1,["syn::token::RArrow"]],["impl !Sync for Raw",1,["syn::token::Raw"]],["impl !Sync for Ref",1,["syn::token::Ref"]],["impl !Sync for Return",1,["syn::token::Return"]],["impl !Sync for SelfType",1,["syn::token::SelfType"]],["impl !Sync for SelfValue",1,["syn::token::SelfValue"]],["impl !Sync for Semi",1,["syn::token::Semi"]],["impl !Sync for Shl",1,["syn::token::Shl"]],["impl !Sync for ShlEq",1,["syn::token::ShlEq"]],["impl !Sync for Shr",1,["syn::token::Shr"]],["impl !Sync for ShrEq",1,["syn::token::ShrEq"]],["impl !Sync for Slash",1,["syn::token::Slash"]],["impl !Sync for SlashEq",1,["syn::token::SlashEq"]],["impl !Sync for Star",1,["syn::token::Star"]],["impl !Sync for StarEq",1,["syn::token::StarEq"]],["impl !Sync for Static",1,["syn::token::Static"]],["impl !Sync for Struct",1,["syn::token::Struct"]],["impl !Sync for Super",1,["syn::token::Super"]],["impl !Sync for Tilde",1,["syn::token::Tilde"]],["impl !Sync for Trait",1,["syn::token::Trait"]],["impl !Sync for Try",1,["syn::token::Try"]],["impl !Sync for Type",1,["syn::token::Type"]],["impl !Sync for Typeof",1,["syn::token::Typeof"]],["impl !Sync for Underscore",1,["syn::token::Underscore"]],["impl !Sync for Union",1,["syn::token::Union"]],["impl !Sync for Unsafe",1,["syn::token::Unsafe"]],["impl !Sync for Unsized",1,["syn::token::Unsized"]],["impl !Sync for Use",1,["syn::token::Use"]],["impl !Sync for Virtual",1,["syn::token::Virtual"]],["impl !Sync for Where",1,["syn::token::Where"]],["impl !Sync for While",1,["syn::token::While"]],["impl !Sync for Yield",1,["syn::token::Yield"]],["impl Sync for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Sync for End",1,["syn::lookahead::End"]],["impl Sync for Error",1,["syn::error::Error"]],["impl Sync for Nothing",1,["syn::parse::Nothing"]],["impl<'a> !Sync for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> !Sync for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> !Sync for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Sync for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> !Sync for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> !Sync for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> !Sync for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !Sync for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !Sync for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Sync for Pairs<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Sync for PairsMut<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> !Sync for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Sync for IntoIter<T>
    where\n T: Sync,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Sync for Pair<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Sync for IntoPairs<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Sync for Punctuated<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Sync for AddBounds",1,["synstructure::AddBounds"]],["impl Sync for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> !Sync for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> !Sync for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> !Sync for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> !Sync for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl Sync for U1",1,["delog::hex::U1"]],["impl Sync for DefaultRenderer"],["impl Sync for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Sync for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Sync for HexStr<'a, T, U, S>
    where\n T: Sync + ?Sized,\n U: Sync,\n S: Sync,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Sync for Class",1,["flexiber::tag::Class"]],["impl Sync for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Sync for Error",1,["flexiber::error::Error"]],["impl Sync for Length",1,["flexiber::length::Length"]],["impl Sync for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Sync for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Sync for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Sync for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Sync for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Sync for TaggedValue<V, T>
    where\n T: Sync,\n V: Sync,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Sync for Level",1,["log::Level"]],["impl Sync for LevelFilter",1,["log::LevelFilter"]],["impl Sync for ParseLevelError",1,["log::ParseLevelError"]],["impl Sync for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> !Sync for Record<'a>",1,["log::Record"]],["impl<'a> !Sync for RecordBuilder<'a>",1,["log::RecordBuilder"]],["impl<'a> Sync for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Sync for MetadataBuilder<'a>",1,["log::MetadataBuilder"]]]],["proc_macro2",[["impl !Sync for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Sync for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Sync for Group",1,["proc_macro2::Group"]],["impl !Sync for Ident",1,["proc_macro2::Ident"]],["impl !Sync for LexError",1,["proc_macro2::LexError"]],["impl !Sync for Literal",1,["proc_macro2::Literal"]],["impl !Sync for Punct",1,["proc_macro2::Punct"]],["impl !Sync for Span",1,["proc_macro2::Span"]],["impl !Sync for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Sync for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Sync for Delimiter",1,["proc_macro2::Delimiter"]],["impl Sync for Spacing",1,["proc_macro2::Spacing"]]]],["syn",[["impl !Sync for AttrStyle",1,["syn::attr::AttrStyle"]],["impl !Sync for BinOp",1,["syn::op::BinOp"]],["impl !Sync for Data",1,["syn::derive::Data"]],["impl !Sync for Expr",1,["syn::expr::Expr"]],["impl !Sync for Fields",1,["syn::data::Fields"]],["impl !Sync for GenericArgument",1,["syn::path::GenericArgument"]],["impl !Sync for GenericParam",1,["syn::generics::GenericParam"]],["impl !Sync for Lit",1,["syn::lit::Lit"]],["impl !Sync for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl !Sync for Member",1,["syn::expr::Member"]],["impl !Sync for Meta",1,["syn::attr::Meta"]],["impl !Sync for PathArguments",1,["syn::path::PathArguments"]],["impl !Sync for ReturnType",1,["syn::ty::ReturnType"]],["impl !Sync for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl !Sync for Type",1,["syn::ty::Type"]],["impl !Sync for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl !Sync for UnOp",1,["syn::op::UnOp"]],["impl !Sync for Visibility",1,["syn::restriction::Visibility"]],["impl !Sync for WherePredicate",1,["syn::generics::WherePredicate"]],["impl !Sync for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl !Sync for Abi",1,["syn::ty::Abi"]],["impl !Sync for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl !Sync for AssocConst",1,["syn::path::AssocConst"]],["impl !Sync for AssocType",1,["syn::path::AssocType"]],["impl !Sync for Attribute",1,["syn::attr::Attribute"]],["impl !Sync for BareFnArg",1,["syn::ty::BareFnArg"]],["impl !Sync for BareVariadic",1,["syn::ty::BareVariadic"]],["impl !Sync for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl !Sync for ConstParam",1,["syn::generics::ConstParam"]],["impl !Sync for Constraint",1,["syn::path::Constraint"]],["impl !Sync for DataEnum",1,["syn::derive::DataEnum"]],["impl !Sync for DataStruct",1,["syn::derive::DataStruct"]],["impl !Sync for DataUnion",1,["syn::derive::DataUnion"]],["impl !Sync for DeriveInput",1,["syn::derive::DeriveInput"]],["impl !Sync for ExprArray",1,["syn::expr::ExprArray"]],["impl !Sync for ExprAssign",1,["syn::expr::ExprAssign"]],["impl !Sync for ExprAsync",1,["syn::expr::ExprAsync"]],["impl !Sync for ExprAwait",1,["syn::expr::ExprAwait"]],["impl !Sync for ExprBinary",1,["syn::expr::ExprBinary"]],["impl !Sync for ExprBlock",1,["syn::expr::ExprBlock"]],["impl !Sync for ExprBreak",1,["syn::expr::ExprBreak"]],["impl !Sync for ExprCall",1,["syn::expr::ExprCall"]],["impl !Sync for ExprCast",1,["syn::expr::ExprCast"]],["impl !Sync for ExprClosure",1,["syn::expr::ExprClosure"]],["impl !Sync for ExprConst",1,["syn::expr::ExprConst"]],["impl !Sync for ExprContinue",1,["syn::expr::ExprContinue"]],["impl !Sync for ExprField",1,["syn::expr::ExprField"]],["impl !Sync for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl !Sync for ExprGroup",1,["syn::expr::ExprGroup"]],["impl !Sync for ExprIf",1,["syn::expr::ExprIf"]],["impl !Sync for ExprIndex",1,["syn::expr::ExprIndex"]],["impl !Sync for ExprInfer",1,["syn::expr::ExprInfer"]],["impl !Sync for ExprLet",1,["syn::expr::ExprLet"]],["impl !Sync for ExprLit",1,["syn::expr::ExprLit"]],["impl !Sync for ExprLoop",1,["syn::expr::ExprLoop"]],["impl !Sync for ExprMacro",1,["syn::expr::ExprMacro"]],["impl !Sync for ExprMatch",1,["syn::expr::ExprMatch"]],["impl !Sync for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl !Sync for ExprParen",1,["syn::expr::ExprParen"]],["impl !Sync for ExprPath",1,["syn::expr::ExprPath"]],["impl !Sync for ExprRange",1,["syn::expr::ExprRange"]],["impl !Sync for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl !Sync for ExprReference",1,["syn::expr::ExprReference"]],["impl !Sync for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl !Sync for ExprReturn",1,["syn::expr::ExprReturn"]],["impl !Sync for ExprStruct",1,["syn::expr::ExprStruct"]],["impl !Sync for ExprTry",1,["syn::expr::ExprTry"]],["impl !Sync for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl !Sync for ExprTuple",1,["syn::expr::ExprTuple"]],["impl !Sync for ExprUnary",1,["syn::expr::ExprUnary"]],["impl !Sync for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl !Sync for ExprWhile",1,["syn::expr::ExprWhile"]],["impl !Sync for ExprYield",1,["syn::expr::ExprYield"]],["impl !Sync for Field",1,["syn::data::Field"]],["impl !Sync for FieldValue",1,["syn::expr::FieldValue"]],["impl !Sync for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl !Sync for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl !Sync for Generics",1,["syn::generics::Generics"]],["impl !Sync for Index",1,["syn::expr::Index"]],["impl !Sync for Lifetime",1,["syn::lifetime::Lifetime"]],["impl !Sync for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl !Sync for LitBool",1,["syn::lit::LitBool"]],["impl !Sync for LitByte",1,["syn::lit::LitByte"]],["impl !Sync for LitByteStr",1,["syn::lit::LitByteStr"]],["impl !Sync for LitCStr",1,["syn::lit::LitCStr"]],["impl !Sync for LitChar",1,["syn::lit::LitChar"]],["impl !Sync for LitFloat",1,["syn::lit::LitFloat"]],["impl !Sync for LitInt",1,["syn::lit::LitInt"]],["impl !Sync for LitStr",1,["syn::lit::LitStr"]],["impl !Sync for Macro",1,["syn::mac::Macro"]],["impl !Sync for MetaList",1,["syn::attr::MetaList"]],["impl !Sync for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl !Sync for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl !Sync for Path",1,["syn::path::Path"]],["impl !Sync for PathSegment",1,["syn::path::PathSegment"]],["impl !Sync for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl !Sync for PredicateType",1,["syn::generics::PredicateType"]],["impl !Sync for QSelf",1,["syn::path::QSelf"]],["impl !Sync for TraitBound",1,["syn::generics::TraitBound"]],["impl !Sync for TypeArray",1,["syn::ty::TypeArray"]],["impl !Sync for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl !Sync for TypeGroup",1,["syn::ty::TypeGroup"]],["impl !Sync for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl !Sync for TypeInfer",1,["syn::ty::TypeInfer"]],["impl !Sync for TypeMacro",1,["syn::ty::TypeMacro"]],["impl !Sync for TypeNever",1,["syn::ty::TypeNever"]],["impl !Sync for TypeParam",1,["syn::generics::TypeParam"]],["impl !Sync for TypeParen",1,["syn::ty::TypeParen"]],["impl !Sync for TypePath",1,["syn::ty::TypePath"]],["impl !Sync for TypePtr",1,["syn::ty::TypePtr"]],["impl !Sync for TypeReference",1,["syn::ty::TypeReference"]],["impl !Sync for TypeSlice",1,["syn::ty::TypeSlice"]],["impl !Sync for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl !Sync for TypeTuple",1,["syn::ty::TypeTuple"]],["impl !Sync for Variant",1,["syn::data::Variant"]],["impl !Sync for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl !Sync for WhereClause",1,["syn::generics::WhereClause"]],["impl !Sync for Abstract",1,["syn::token::Abstract"]],["impl !Sync for And",1,["syn::token::And"]],["impl !Sync for AndAnd",1,["syn::token::AndAnd"]],["impl !Sync for AndEq",1,["syn::token::AndEq"]],["impl !Sync for As",1,["syn::token::As"]],["impl !Sync for Async",1,["syn::token::Async"]],["impl !Sync for At",1,["syn::token::At"]],["impl !Sync for Auto",1,["syn::token::Auto"]],["impl !Sync for Await",1,["syn::token::Await"]],["impl !Sync for Become",1,["syn::token::Become"]],["impl !Sync for Box",1,["syn::token::Box"]],["impl !Sync for Brace",1,["syn::token::Brace"]],["impl !Sync for Bracket",1,["syn::token::Bracket"]],["impl !Sync for Break",1,["syn::token::Break"]],["impl !Sync for Caret",1,["syn::token::Caret"]],["impl !Sync for CaretEq",1,["syn::token::CaretEq"]],["impl !Sync for Colon",1,["syn::token::Colon"]],["impl !Sync for Comma",1,["syn::token::Comma"]],["impl !Sync for Const",1,["syn::token::Const"]],["impl !Sync for Continue",1,["syn::token::Continue"]],["impl !Sync for Crate",1,["syn::token::Crate"]],["impl !Sync for Default",1,["syn::token::Default"]],["impl !Sync for Do",1,["syn::token::Do"]],["impl !Sync for Dollar",1,["syn::token::Dollar"]],["impl !Sync for Dot",1,["syn::token::Dot"]],["impl !Sync for DotDot",1,["syn::token::DotDot"]],["impl !Sync for DotDotDot",1,["syn::token::DotDotDot"]],["impl !Sync for DotDotEq",1,["syn::token::DotDotEq"]],["impl !Sync for Dyn",1,["syn::token::Dyn"]],["impl !Sync for Else",1,["syn::token::Else"]],["impl !Sync for Enum",1,["syn::token::Enum"]],["impl !Sync for Eq",1,["syn::token::Eq"]],["impl !Sync for EqEq",1,["syn::token::EqEq"]],["impl !Sync for Extern",1,["syn::token::Extern"]],["impl !Sync for FatArrow",1,["syn::token::FatArrow"]],["impl !Sync for Final",1,["syn::token::Final"]],["impl !Sync for Fn",1,["syn::token::Fn"]],["impl !Sync for For",1,["syn::token::For"]],["impl !Sync for Ge",1,["syn::token::Ge"]],["impl !Sync for Group",1,["syn::token::Group"]],["impl !Sync for Gt",1,["syn::token::Gt"]],["impl !Sync for If",1,["syn::token::If"]],["impl !Sync for Impl",1,["syn::token::Impl"]],["impl !Sync for In",1,["syn::token::In"]],["impl !Sync for LArrow",1,["syn::token::LArrow"]],["impl !Sync for Le",1,["syn::token::Le"]],["impl !Sync for Let",1,["syn::token::Let"]],["impl !Sync for Loop",1,["syn::token::Loop"]],["impl !Sync for Lt",1,["syn::token::Lt"]],["impl !Sync for Macro",1,["syn::token::Macro"]],["impl !Sync for Match",1,["syn::token::Match"]],["impl !Sync for Minus",1,["syn::token::Minus"]],["impl !Sync for MinusEq",1,["syn::token::MinusEq"]],["impl !Sync for Mod",1,["syn::token::Mod"]],["impl !Sync for Move",1,["syn::token::Move"]],["impl !Sync for Mut",1,["syn::token::Mut"]],["impl !Sync for Ne",1,["syn::token::Ne"]],["impl !Sync for Not",1,["syn::token::Not"]],["impl !Sync for Or",1,["syn::token::Or"]],["impl !Sync for OrEq",1,["syn::token::OrEq"]],["impl !Sync for OrOr",1,["syn::token::OrOr"]],["impl !Sync for Override",1,["syn::token::Override"]],["impl !Sync for Paren",1,["syn::token::Paren"]],["impl !Sync for PathSep",1,["syn::token::PathSep"]],["impl !Sync for Percent",1,["syn::token::Percent"]],["impl !Sync for PercentEq",1,["syn::token::PercentEq"]],["impl !Sync for Plus",1,["syn::token::Plus"]],["impl !Sync for PlusEq",1,["syn::token::PlusEq"]],["impl !Sync for Pound",1,["syn::token::Pound"]],["impl !Sync for Priv",1,["syn::token::Priv"]],["impl !Sync for Pub",1,["syn::token::Pub"]],["impl !Sync for Question",1,["syn::token::Question"]],["impl !Sync for RArrow",1,["syn::token::RArrow"]],["impl !Sync for Raw",1,["syn::token::Raw"]],["impl !Sync for Ref",1,["syn::token::Ref"]],["impl !Sync for Return",1,["syn::token::Return"]],["impl !Sync for SelfType",1,["syn::token::SelfType"]],["impl !Sync for SelfValue",1,["syn::token::SelfValue"]],["impl !Sync for Semi",1,["syn::token::Semi"]],["impl !Sync for Shl",1,["syn::token::Shl"]],["impl !Sync for ShlEq",1,["syn::token::ShlEq"]],["impl !Sync for Shr",1,["syn::token::Shr"]],["impl !Sync for ShrEq",1,["syn::token::ShrEq"]],["impl !Sync for Slash",1,["syn::token::Slash"]],["impl !Sync for SlashEq",1,["syn::token::SlashEq"]],["impl !Sync for Star",1,["syn::token::Star"]],["impl !Sync for StarEq",1,["syn::token::StarEq"]],["impl !Sync for Static",1,["syn::token::Static"]],["impl !Sync for Struct",1,["syn::token::Struct"]],["impl !Sync for Super",1,["syn::token::Super"]],["impl !Sync for Tilde",1,["syn::token::Tilde"]],["impl !Sync for Trait",1,["syn::token::Trait"]],["impl !Sync for Try",1,["syn::token::Try"]],["impl !Sync for Type",1,["syn::token::Type"]],["impl !Sync for Typeof",1,["syn::token::Typeof"]],["impl !Sync for Underscore",1,["syn::token::Underscore"]],["impl !Sync for Union",1,["syn::token::Union"]],["impl !Sync for Unsafe",1,["syn::token::Unsafe"]],["impl !Sync for Unsized",1,["syn::token::Unsized"]],["impl !Sync for Use",1,["syn::token::Use"]],["impl !Sync for Virtual",1,["syn::token::Virtual"]],["impl !Sync for Where",1,["syn::token::Where"]],["impl !Sync for While",1,["syn::token::While"]],["impl !Sync for Yield",1,["syn::token::Yield"]],["impl Sync for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Sync for End",1,["syn::lookahead::End"]],["impl Sync for Error",1,["syn::error::Error"]],["impl Sync for Nothing",1,["syn::parse::Nothing"]],["impl<'a> !Sync for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> !Sync for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> !Sync for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> !Sync for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> !Sync for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> !Sync for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> !Sync for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !Sync for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !Sync for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Sync for Pairs<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Sync for PairsMut<'a, T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> !Sync for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Sync for IntoIter<T>
    where\n T: Sync,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Sync for Pair<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Sync for IntoPairs<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Sync for Punctuated<T, P>
    where\n T: Sync,\n P: Sync,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Sync for AddBounds",1,["synstructure::AddBounds"]],["impl Sync for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> !Sync for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> !Sync for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> !Sync for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> !Sync for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js index 5ddb013..9d9c84a 100644 --- a/trait.impl/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl Unpin for U1",1,["delog::hex::U1"]],["impl Unpin for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl Unpin for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Unpin for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Unpin for HexStr<'a, T, U, S>
    where\n U: Unpin,\n S: Unpin,\n T: ?Sized,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Unpin for Class",1,["flexiber::tag::Class"]],["impl Unpin for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Unpin for Error",1,["flexiber::error::Error"]],["impl Unpin for Length",1,["flexiber::length::Length"]],["impl Unpin for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Unpin for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Unpin for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Unpin for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Unpin for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Unpin for TaggedValue<V, T>
    where\n T: Unpin,\n V: Unpin,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Unpin for Level",1,["log::Level"]],["impl Unpin for LevelFilter",1,["log::LevelFilter"]],["impl Unpin for ParseLevelError",1,["log::ParseLevelError"]],["impl Unpin for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> Unpin for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Unpin for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> Unpin for Record<'a>",1,["log::Record"]],["impl<'a> Unpin for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl Unpin for Delimiter",1,["proc_macro2::Delimiter"]],["impl Unpin for Spacing",1,["proc_macro2::Spacing"]],["impl Unpin for TokenTree",1,["proc_macro2::TokenTree"]],["impl Unpin for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Unpin for Group",1,["proc_macro2::Group"]],["impl Unpin for Ident",1,["proc_macro2::Ident"]],["impl Unpin for LexError",1,["proc_macro2::LexError"]],["impl Unpin for Literal",1,["proc_macro2::Literal"]],["impl Unpin for Punct",1,["proc_macro2::Punct"]],["impl Unpin for Span",1,["proc_macro2::Span"]],["impl Unpin for TokenStream",1,["proc_macro2::TokenStream"]],["impl Unpin for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl Unpin for AttrStyle",1,["syn::attr::AttrStyle"]],["impl Unpin for BinOp",1,["syn::op::BinOp"]],["impl Unpin for Data",1,["syn::derive::Data"]],["impl Unpin for Expr",1,["syn::expr::Expr"]],["impl Unpin for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Unpin for Fields",1,["syn::data::Fields"]],["impl Unpin for GenericArgument",1,["syn::path::GenericArgument"]],["impl Unpin for GenericParam",1,["syn::generics::GenericParam"]],["impl Unpin for Lit",1,["syn::lit::Lit"]],["impl Unpin for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl Unpin for Member",1,["syn::expr::Member"]],["impl Unpin for Meta",1,["syn::attr::Meta"]],["impl Unpin for PathArguments",1,["syn::path::PathArguments"]],["impl Unpin for ReturnType",1,["syn::ty::ReturnType"]],["impl Unpin for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl Unpin for Type",1,["syn::ty::Type"]],["impl Unpin for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl Unpin for UnOp",1,["syn::op::UnOp"]],["impl Unpin for Visibility",1,["syn::restriction::Visibility"]],["impl Unpin for WherePredicate",1,["syn::generics::WherePredicate"]],["impl Unpin for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl Unpin for End",1,["syn::lookahead::End"]],["impl Unpin for Error",1,["syn::error::Error"]],["impl Unpin for Nothing",1,["syn::parse::Nothing"]],["impl Unpin for Abi",1,["syn::ty::Abi"]],["impl Unpin for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl Unpin for AssocConst",1,["syn::path::AssocConst"]],["impl Unpin for AssocType",1,["syn::path::AssocType"]],["impl Unpin for Attribute",1,["syn::attr::Attribute"]],["impl Unpin for BareFnArg",1,["syn::ty::BareFnArg"]],["impl Unpin for BareVariadic",1,["syn::ty::BareVariadic"]],["impl Unpin for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl Unpin for ConstParam",1,["syn::generics::ConstParam"]],["impl Unpin for Constraint",1,["syn::path::Constraint"]],["impl Unpin for DataEnum",1,["syn::derive::DataEnum"]],["impl Unpin for DataStruct",1,["syn::derive::DataStruct"]],["impl Unpin for DataUnion",1,["syn::derive::DataUnion"]],["impl Unpin for DeriveInput",1,["syn::derive::DeriveInput"]],["impl Unpin for ExprArray",1,["syn::expr::ExprArray"]],["impl Unpin for ExprAssign",1,["syn::expr::ExprAssign"]],["impl Unpin for ExprAsync",1,["syn::expr::ExprAsync"]],["impl Unpin for ExprAwait",1,["syn::expr::ExprAwait"]],["impl Unpin for ExprBinary",1,["syn::expr::ExprBinary"]],["impl Unpin for ExprBlock",1,["syn::expr::ExprBlock"]],["impl Unpin for ExprBreak",1,["syn::expr::ExprBreak"]],["impl Unpin for ExprCall",1,["syn::expr::ExprCall"]],["impl Unpin for ExprCast",1,["syn::expr::ExprCast"]],["impl Unpin for ExprClosure",1,["syn::expr::ExprClosure"]],["impl Unpin for ExprConst",1,["syn::expr::ExprConst"]],["impl Unpin for ExprContinue",1,["syn::expr::ExprContinue"]],["impl Unpin for ExprField",1,["syn::expr::ExprField"]],["impl Unpin for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl Unpin for ExprGroup",1,["syn::expr::ExprGroup"]],["impl Unpin for ExprIf",1,["syn::expr::ExprIf"]],["impl Unpin for ExprIndex",1,["syn::expr::ExprIndex"]],["impl Unpin for ExprInfer",1,["syn::expr::ExprInfer"]],["impl Unpin for ExprLet",1,["syn::expr::ExprLet"]],["impl Unpin for ExprLit",1,["syn::expr::ExprLit"]],["impl Unpin for ExprLoop",1,["syn::expr::ExprLoop"]],["impl Unpin for ExprMacro",1,["syn::expr::ExprMacro"]],["impl Unpin for ExprMatch",1,["syn::expr::ExprMatch"]],["impl Unpin for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl Unpin for ExprParen",1,["syn::expr::ExprParen"]],["impl Unpin for ExprPath",1,["syn::expr::ExprPath"]],["impl Unpin for ExprRange",1,["syn::expr::ExprRange"]],["impl Unpin for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl Unpin for ExprReference",1,["syn::expr::ExprReference"]],["impl Unpin for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl Unpin for ExprReturn",1,["syn::expr::ExprReturn"]],["impl Unpin for ExprStruct",1,["syn::expr::ExprStruct"]],["impl Unpin for ExprTry",1,["syn::expr::ExprTry"]],["impl Unpin for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl Unpin for ExprTuple",1,["syn::expr::ExprTuple"]],["impl Unpin for ExprUnary",1,["syn::expr::ExprUnary"]],["impl Unpin for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl Unpin for ExprWhile",1,["syn::expr::ExprWhile"]],["impl Unpin for ExprYield",1,["syn::expr::ExprYield"]],["impl Unpin for Field",1,["syn::data::Field"]],["impl Unpin for FieldValue",1,["syn::expr::FieldValue"]],["impl Unpin for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl Unpin for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl Unpin for Generics",1,["syn::generics::Generics"]],["impl Unpin for Index",1,["syn::expr::Index"]],["impl Unpin for Lifetime",1,["syn::lifetime::Lifetime"]],["impl Unpin for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl Unpin for LitBool",1,["syn::lit::LitBool"]],["impl Unpin for LitByte",1,["syn::lit::LitByte"]],["impl Unpin for LitByteStr",1,["syn::lit::LitByteStr"]],["impl Unpin for LitCStr",1,["syn::lit::LitCStr"]],["impl Unpin for LitChar",1,["syn::lit::LitChar"]],["impl Unpin for LitFloat",1,["syn::lit::LitFloat"]],["impl Unpin for LitInt",1,["syn::lit::LitInt"]],["impl Unpin for LitStr",1,["syn::lit::LitStr"]],["impl Unpin for Macro",1,["syn::mac::Macro"]],["impl Unpin for MetaList",1,["syn::attr::MetaList"]],["impl Unpin for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl Unpin for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl Unpin for Path",1,["syn::path::Path"]],["impl Unpin for PathSegment",1,["syn::path::PathSegment"]],["impl Unpin for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl Unpin for PredicateType",1,["syn::generics::PredicateType"]],["impl Unpin for QSelf",1,["syn::path::QSelf"]],["impl Unpin for TraitBound",1,["syn::generics::TraitBound"]],["impl Unpin for TypeArray",1,["syn::ty::TypeArray"]],["impl Unpin for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl Unpin for TypeGroup",1,["syn::ty::TypeGroup"]],["impl Unpin for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl Unpin for TypeInfer",1,["syn::ty::TypeInfer"]],["impl Unpin for TypeMacro",1,["syn::ty::TypeMacro"]],["impl Unpin for TypeNever",1,["syn::ty::TypeNever"]],["impl Unpin for TypeParam",1,["syn::generics::TypeParam"]],["impl Unpin for TypeParen",1,["syn::ty::TypeParen"]],["impl Unpin for TypePath",1,["syn::ty::TypePath"]],["impl Unpin for TypePtr",1,["syn::ty::TypePtr"]],["impl Unpin for TypeReference",1,["syn::ty::TypeReference"]],["impl Unpin for TypeSlice",1,["syn::ty::TypeSlice"]],["impl Unpin for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl Unpin for TypeTuple",1,["syn::ty::TypeTuple"]],["impl Unpin for Variant",1,["syn::data::Variant"]],["impl Unpin for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl Unpin for WhereClause",1,["syn::generics::WhereClause"]],["impl Unpin for Abstract",1,["syn::token::Abstract"]],["impl Unpin for And",1,["syn::token::And"]],["impl Unpin for AndAnd",1,["syn::token::AndAnd"]],["impl Unpin for AndEq",1,["syn::token::AndEq"]],["impl Unpin for As",1,["syn::token::As"]],["impl Unpin for Async",1,["syn::token::Async"]],["impl Unpin for At",1,["syn::token::At"]],["impl Unpin for Auto",1,["syn::token::Auto"]],["impl Unpin for Await",1,["syn::token::Await"]],["impl Unpin for Become",1,["syn::token::Become"]],["impl Unpin for Box",1,["syn::token::Box"]],["impl Unpin for Brace",1,["syn::token::Brace"]],["impl Unpin for Bracket",1,["syn::token::Bracket"]],["impl Unpin for Break",1,["syn::token::Break"]],["impl Unpin for Caret",1,["syn::token::Caret"]],["impl Unpin for CaretEq",1,["syn::token::CaretEq"]],["impl Unpin for Colon",1,["syn::token::Colon"]],["impl Unpin for Comma",1,["syn::token::Comma"]],["impl Unpin for Const",1,["syn::token::Const"]],["impl Unpin for Continue",1,["syn::token::Continue"]],["impl Unpin for Crate",1,["syn::token::Crate"]],["impl Unpin for Default",1,["syn::token::Default"]],["impl Unpin for Do",1,["syn::token::Do"]],["impl Unpin for Dollar",1,["syn::token::Dollar"]],["impl Unpin for Dot",1,["syn::token::Dot"]],["impl Unpin for DotDot",1,["syn::token::DotDot"]],["impl Unpin for DotDotDot",1,["syn::token::DotDotDot"]],["impl Unpin for DotDotEq",1,["syn::token::DotDotEq"]],["impl Unpin for Dyn",1,["syn::token::Dyn"]],["impl Unpin for Else",1,["syn::token::Else"]],["impl Unpin for Enum",1,["syn::token::Enum"]],["impl Unpin for Eq",1,["syn::token::Eq"]],["impl Unpin for EqEq",1,["syn::token::EqEq"]],["impl Unpin for Extern",1,["syn::token::Extern"]],["impl Unpin for FatArrow",1,["syn::token::FatArrow"]],["impl Unpin for Final",1,["syn::token::Final"]],["impl Unpin for Fn",1,["syn::token::Fn"]],["impl Unpin for For",1,["syn::token::For"]],["impl Unpin for Ge",1,["syn::token::Ge"]],["impl Unpin for Group",1,["syn::token::Group"]],["impl Unpin for Gt",1,["syn::token::Gt"]],["impl Unpin for If",1,["syn::token::If"]],["impl Unpin for Impl",1,["syn::token::Impl"]],["impl Unpin for In",1,["syn::token::In"]],["impl Unpin for LArrow",1,["syn::token::LArrow"]],["impl Unpin for Le",1,["syn::token::Le"]],["impl Unpin for Let",1,["syn::token::Let"]],["impl Unpin for Loop",1,["syn::token::Loop"]],["impl Unpin for Lt",1,["syn::token::Lt"]],["impl Unpin for Macro",1,["syn::token::Macro"]],["impl Unpin for Match",1,["syn::token::Match"]],["impl Unpin for Minus",1,["syn::token::Minus"]],["impl Unpin for MinusEq",1,["syn::token::MinusEq"]],["impl Unpin for Mod",1,["syn::token::Mod"]],["impl Unpin for Move",1,["syn::token::Move"]],["impl Unpin for Mut",1,["syn::token::Mut"]],["impl Unpin for Ne",1,["syn::token::Ne"]],["impl Unpin for Not",1,["syn::token::Not"]],["impl Unpin for Or",1,["syn::token::Or"]],["impl Unpin for OrEq",1,["syn::token::OrEq"]],["impl Unpin for OrOr",1,["syn::token::OrOr"]],["impl Unpin for Override",1,["syn::token::Override"]],["impl Unpin for Paren",1,["syn::token::Paren"]],["impl Unpin for PathSep",1,["syn::token::PathSep"]],["impl Unpin for Percent",1,["syn::token::Percent"]],["impl Unpin for PercentEq",1,["syn::token::PercentEq"]],["impl Unpin for Plus",1,["syn::token::Plus"]],["impl Unpin for PlusEq",1,["syn::token::PlusEq"]],["impl Unpin for Pound",1,["syn::token::Pound"]],["impl Unpin for Priv",1,["syn::token::Priv"]],["impl Unpin for Pub",1,["syn::token::Pub"]],["impl Unpin for Question",1,["syn::token::Question"]],["impl Unpin for RArrow",1,["syn::token::RArrow"]],["impl Unpin for Raw",1,["syn::token::Raw"]],["impl Unpin for Ref",1,["syn::token::Ref"]],["impl Unpin for Return",1,["syn::token::Return"]],["impl Unpin for SelfType",1,["syn::token::SelfType"]],["impl Unpin for SelfValue",1,["syn::token::SelfValue"]],["impl Unpin for Semi",1,["syn::token::Semi"]],["impl Unpin for Shl",1,["syn::token::Shl"]],["impl Unpin for ShlEq",1,["syn::token::ShlEq"]],["impl Unpin for Shr",1,["syn::token::Shr"]],["impl Unpin for ShrEq",1,["syn::token::ShrEq"]],["impl Unpin for Slash",1,["syn::token::Slash"]],["impl Unpin for SlashEq",1,["syn::token::SlashEq"]],["impl Unpin for Star",1,["syn::token::Star"]],["impl Unpin for StarEq",1,["syn::token::StarEq"]],["impl Unpin for Static",1,["syn::token::Static"]],["impl Unpin for Struct",1,["syn::token::Struct"]],["impl Unpin for Super",1,["syn::token::Super"]],["impl Unpin for Tilde",1,["syn::token::Tilde"]],["impl Unpin for Trait",1,["syn::token::Trait"]],["impl Unpin for Try",1,["syn::token::Try"]],["impl Unpin for Type",1,["syn::token::Type"]],["impl Unpin for Typeof",1,["syn::token::Typeof"]],["impl Unpin for Underscore",1,["syn::token::Underscore"]],["impl Unpin for Union",1,["syn::token::Union"]],["impl Unpin for Unsafe",1,["syn::token::Unsafe"]],["impl Unpin for Unsized",1,["syn::token::Unsized"]],["impl Unpin for Use",1,["syn::token::Use"]],["impl Unpin for Virtual",1,["syn::token::Virtual"]],["impl Unpin for Where",1,["syn::token::Where"]],["impl Unpin for While",1,["syn::token::While"]],["impl Unpin for Yield",1,["syn::token::Yield"]],["impl<'a> Unpin for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> Unpin for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> Unpin for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> Unpin for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> Unpin for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> Unpin for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> Unpin for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> Unpin for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> Unpin for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Unpin for Pairs<'a, T, P>",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Unpin for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> Unpin for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Unpin for IntoIter<T>
    where\n T: Unpin,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Unpin for Pair<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Unpin for IntoPairs<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Unpin for Punctuated<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Unpin for AddBounds",1,["synstructure::AddBounds"]],["impl Unpin for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> Unpin for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> Unpin for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> Unpin for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> Unpin for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl Unpin for U1",1,["delog::hex::U1"]],["impl Unpin for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl Unpin for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl Unpin for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> Unpin for HexStr<'a, T, U, S>
    where\n U: Unpin,\n S: Unpin,\n T: ?Sized,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl Unpin for Class",1,["flexiber::tag::Class"]],["impl Unpin for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl Unpin for Error",1,["flexiber::error::Error"]],["impl Unpin for Length",1,["flexiber::length::Length"]],["impl Unpin for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl Unpin for Tag",1,["flexiber::tag::Tag"]],["impl<'a> Unpin for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> Unpin for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> Unpin for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> Unpin for TaggedValue<V, T>
    where\n T: Unpin,\n V: Unpin,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl Unpin for Level",1,["log::Level"]],["impl Unpin for LevelFilter",1,["log::LevelFilter"]],["impl Unpin for ParseLevelError",1,["log::ParseLevelError"]],["impl Unpin for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> Unpin for Metadata<'a>",1,["log::Metadata"]],["impl<'a> Unpin for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> Unpin for Record<'a>",1,["log::Record"]],["impl<'a> Unpin for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl Unpin for Delimiter",1,["proc_macro2::Delimiter"]],["impl Unpin for Spacing",1,["proc_macro2::Spacing"]],["impl Unpin for TokenTree",1,["proc_macro2::TokenTree"]],["impl Unpin for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Unpin for Group",1,["proc_macro2::Group"]],["impl Unpin for Ident",1,["proc_macro2::Ident"]],["impl Unpin for LexError",1,["proc_macro2::LexError"]],["impl Unpin for Literal",1,["proc_macro2::Literal"]],["impl Unpin for Punct",1,["proc_macro2::Punct"]],["impl Unpin for Span",1,["proc_macro2::Span"]],["impl Unpin for TokenStream",1,["proc_macro2::TokenStream"]],["impl Unpin for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl Unpin for AttrStyle",1,["syn::attr::AttrStyle"]],["impl Unpin for BinOp",1,["syn::op::BinOp"]],["impl Unpin for Data",1,["syn::derive::Data"]],["impl Unpin for Expr",1,["syn::expr::Expr"]],["impl Unpin for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl Unpin for Fields",1,["syn::data::Fields"]],["impl Unpin for GenericArgument",1,["syn::path::GenericArgument"]],["impl Unpin for GenericParam",1,["syn::generics::GenericParam"]],["impl Unpin for Lit",1,["syn::lit::Lit"]],["impl Unpin for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl Unpin for Member",1,["syn::expr::Member"]],["impl Unpin for Meta",1,["syn::attr::Meta"]],["impl Unpin for PathArguments",1,["syn::path::PathArguments"]],["impl Unpin for ReturnType",1,["syn::ty::ReturnType"]],["impl Unpin for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl Unpin for Type",1,["syn::ty::Type"]],["impl Unpin for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl Unpin for UnOp",1,["syn::op::UnOp"]],["impl Unpin for Visibility",1,["syn::restriction::Visibility"]],["impl Unpin for WherePredicate",1,["syn::generics::WherePredicate"]],["impl Unpin for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl Unpin for End",1,["syn::lookahead::End"]],["impl Unpin for Error",1,["syn::error::Error"]],["impl Unpin for Nothing",1,["syn::parse::Nothing"]],["impl Unpin for Abi",1,["syn::ty::Abi"]],["impl Unpin for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl Unpin for AssocConst",1,["syn::path::AssocConst"]],["impl Unpin for AssocType",1,["syn::path::AssocType"]],["impl Unpin for Attribute",1,["syn::attr::Attribute"]],["impl Unpin for BareFnArg",1,["syn::ty::BareFnArg"]],["impl Unpin for BareVariadic",1,["syn::ty::BareVariadic"]],["impl Unpin for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl Unpin for ConstParam",1,["syn::generics::ConstParam"]],["impl Unpin for Constraint",1,["syn::path::Constraint"]],["impl Unpin for DataEnum",1,["syn::derive::DataEnum"]],["impl Unpin for DataStruct",1,["syn::derive::DataStruct"]],["impl Unpin for DataUnion",1,["syn::derive::DataUnion"]],["impl Unpin for DeriveInput",1,["syn::derive::DeriveInput"]],["impl Unpin for ExprArray",1,["syn::expr::ExprArray"]],["impl Unpin for ExprAssign",1,["syn::expr::ExprAssign"]],["impl Unpin for ExprAsync",1,["syn::expr::ExprAsync"]],["impl Unpin for ExprAwait",1,["syn::expr::ExprAwait"]],["impl Unpin for ExprBinary",1,["syn::expr::ExprBinary"]],["impl Unpin for ExprBlock",1,["syn::expr::ExprBlock"]],["impl Unpin for ExprBreak",1,["syn::expr::ExprBreak"]],["impl Unpin for ExprCall",1,["syn::expr::ExprCall"]],["impl Unpin for ExprCast",1,["syn::expr::ExprCast"]],["impl Unpin for ExprClosure",1,["syn::expr::ExprClosure"]],["impl Unpin for ExprConst",1,["syn::expr::ExprConst"]],["impl Unpin for ExprContinue",1,["syn::expr::ExprContinue"]],["impl Unpin for ExprField",1,["syn::expr::ExprField"]],["impl Unpin for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl Unpin for ExprGroup",1,["syn::expr::ExprGroup"]],["impl Unpin for ExprIf",1,["syn::expr::ExprIf"]],["impl Unpin for ExprIndex",1,["syn::expr::ExprIndex"]],["impl Unpin for ExprInfer",1,["syn::expr::ExprInfer"]],["impl Unpin for ExprLet",1,["syn::expr::ExprLet"]],["impl Unpin for ExprLit",1,["syn::expr::ExprLit"]],["impl Unpin for ExprLoop",1,["syn::expr::ExprLoop"]],["impl Unpin for ExprMacro",1,["syn::expr::ExprMacro"]],["impl Unpin for ExprMatch",1,["syn::expr::ExprMatch"]],["impl Unpin for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl Unpin for ExprParen",1,["syn::expr::ExprParen"]],["impl Unpin for ExprPath",1,["syn::expr::ExprPath"]],["impl Unpin for ExprRange",1,["syn::expr::ExprRange"]],["impl Unpin for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl Unpin for ExprReference",1,["syn::expr::ExprReference"]],["impl Unpin for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl Unpin for ExprReturn",1,["syn::expr::ExprReturn"]],["impl Unpin for ExprStruct",1,["syn::expr::ExprStruct"]],["impl Unpin for ExprTry",1,["syn::expr::ExprTry"]],["impl Unpin for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl Unpin for ExprTuple",1,["syn::expr::ExprTuple"]],["impl Unpin for ExprUnary",1,["syn::expr::ExprUnary"]],["impl Unpin for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl Unpin for ExprWhile",1,["syn::expr::ExprWhile"]],["impl Unpin for ExprYield",1,["syn::expr::ExprYield"]],["impl Unpin for Field",1,["syn::data::Field"]],["impl Unpin for FieldValue",1,["syn::expr::FieldValue"]],["impl Unpin for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl Unpin for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl Unpin for Generics",1,["syn::generics::Generics"]],["impl Unpin for Index",1,["syn::expr::Index"]],["impl Unpin for Lifetime",1,["syn::lifetime::Lifetime"]],["impl Unpin for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl Unpin for LitBool",1,["syn::lit::LitBool"]],["impl Unpin for LitByte",1,["syn::lit::LitByte"]],["impl Unpin for LitByteStr",1,["syn::lit::LitByteStr"]],["impl Unpin for LitCStr",1,["syn::lit::LitCStr"]],["impl Unpin for LitChar",1,["syn::lit::LitChar"]],["impl Unpin for LitFloat",1,["syn::lit::LitFloat"]],["impl Unpin for LitInt",1,["syn::lit::LitInt"]],["impl Unpin for LitStr",1,["syn::lit::LitStr"]],["impl Unpin for Macro",1,["syn::mac::Macro"]],["impl Unpin for MetaList",1,["syn::attr::MetaList"]],["impl Unpin for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl Unpin for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl Unpin for Path",1,["syn::path::Path"]],["impl Unpin for PathSegment",1,["syn::path::PathSegment"]],["impl Unpin for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl Unpin for PredicateType",1,["syn::generics::PredicateType"]],["impl Unpin for QSelf",1,["syn::path::QSelf"]],["impl Unpin for TraitBound",1,["syn::generics::TraitBound"]],["impl Unpin for TypeArray",1,["syn::ty::TypeArray"]],["impl Unpin for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl Unpin for TypeGroup",1,["syn::ty::TypeGroup"]],["impl Unpin for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl Unpin for TypeInfer",1,["syn::ty::TypeInfer"]],["impl Unpin for TypeMacro",1,["syn::ty::TypeMacro"]],["impl Unpin for TypeNever",1,["syn::ty::TypeNever"]],["impl Unpin for TypeParam",1,["syn::generics::TypeParam"]],["impl Unpin for TypeParen",1,["syn::ty::TypeParen"]],["impl Unpin for TypePath",1,["syn::ty::TypePath"]],["impl Unpin for TypePtr",1,["syn::ty::TypePtr"]],["impl Unpin for TypeReference",1,["syn::ty::TypeReference"]],["impl Unpin for TypeSlice",1,["syn::ty::TypeSlice"]],["impl Unpin for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl Unpin for TypeTuple",1,["syn::ty::TypeTuple"]],["impl Unpin for Variant",1,["syn::data::Variant"]],["impl Unpin for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl Unpin for WhereClause",1,["syn::generics::WhereClause"]],["impl Unpin for Abstract",1,["syn::token::Abstract"]],["impl Unpin for And",1,["syn::token::And"]],["impl Unpin for AndAnd",1,["syn::token::AndAnd"]],["impl Unpin for AndEq",1,["syn::token::AndEq"]],["impl Unpin for As",1,["syn::token::As"]],["impl Unpin for Async",1,["syn::token::Async"]],["impl Unpin for At",1,["syn::token::At"]],["impl Unpin for Auto",1,["syn::token::Auto"]],["impl Unpin for Await",1,["syn::token::Await"]],["impl Unpin for Become",1,["syn::token::Become"]],["impl Unpin for Box",1,["syn::token::Box"]],["impl Unpin for Brace",1,["syn::token::Brace"]],["impl Unpin for Bracket",1,["syn::token::Bracket"]],["impl Unpin for Break",1,["syn::token::Break"]],["impl Unpin for Caret",1,["syn::token::Caret"]],["impl Unpin for CaretEq",1,["syn::token::CaretEq"]],["impl Unpin for Colon",1,["syn::token::Colon"]],["impl Unpin for Comma",1,["syn::token::Comma"]],["impl Unpin for Const",1,["syn::token::Const"]],["impl Unpin for Continue",1,["syn::token::Continue"]],["impl Unpin for Crate",1,["syn::token::Crate"]],["impl Unpin for Default",1,["syn::token::Default"]],["impl Unpin for Do",1,["syn::token::Do"]],["impl Unpin for Dollar",1,["syn::token::Dollar"]],["impl Unpin for Dot",1,["syn::token::Dot"]],["impl Unpin for DotDot",1,["syn::token::DotDot"]],["impl Unpin for DotDotDot",1,["syn::token::DotDotDot"]],["impl Unpin for DotDotEq",1,["syn::token::DotDotEq"]],["impl Unpin for Dyn",1,["syn::token::Dyn"]],["impl Unpin for Else",1,["syn::token::Else"]],["impl Unpin for Enum",1,["syn::token::Enum"]],["impl Unpin for Eq",1,["syn::token::Eq"]],["impl Unpin for EqEq",1,["syn::token::EqEq"]],["impl Unpin for Extern",1,["syn::token::Extern"]],["impl Unpin for FatArrow",1,["syn::token::FatArrow"]],["impl Unpin for Final",1,["syn::token::Final"]],["impl Unpin for Fn",1,["syn::token::Fn"]],["impl Unpin for For",1,["syn::token::For"]],["impl Unpin for Ge",1,["syn::token::Ge"]],["impl Unpin for Group",1,["syn::token::Group"]],["impl Unpin for Gt",1,["syn::token::Gt"]],["impl Unpin for If",1,["syn::token::If"]],["impl Unpin for Impl",1,["syn::token::Impl"]],["impl Unpin for In",1,["syn::token::In"]],["impl Unpin for LArrow",1,["syn::token::LArrow"]],["impl Unpin for Le",1,["syn::token::Le"]],["impl Unpin for Let",1,["syn::token::Let"]],["impl Unpin for Loop",1,["syn::token::Loop"]],["impl Unpin for Lt",1,["syn::token::Lt"]],["impl Unpin for Macro",1,["syn::token::Macro"]],["impl Unpin for Match",1,["syn::token::Match"]],["impl Unpin for Minus",1,["syn::token::Minus"]],["impl Unpin for MinusEq",1,["syn::token::MinusEq"]],["impl Unpin for Mod",1,["syn::token::Mod"]],["impl Unpin for Move",1,["syn::token::Move"]],["impl Unpin for Mut",1,["syn::token::Mut"]],["impl Unpin for Ne",1,["syn::token::Ne"]],["impl Unpin for Not",1,["syn::token::Not"]],["impl Unpin for Or",1,["syn::token::Or"]],["impl Unpin for OrEq",1,["syn::token::OrEq"]],["impl Unpin for OrOr",1,["syn::token::OrOr"]],["impl Unpin for Override",1,["syn::token::Override"]],["impl Unpin for Paren",1,["syn::token::Paren"]],["impl Unpin for PathSep",1,["syn::token::PathSep"]],["impl Unpin for Percent",1,["syn::token::Percent"]],["impl Unpin for PercentEq",1,["syn::token::PercentEq"]],["impl Unpin for Plus",1,["syn::token::Plus"]],["impl Unpin for PlusEq",1,["syn::token::PlusEq"]],["impl Unpin for Pound",1,["syn::token::Pound"]],["impl Unpin for Priv",1,["syn::token::Priv"]],["impl Unpin for Pub",1,["syn::token::Pub"]],["impl Unpin for Question",1,["syn::token::Question"]],["impl Unpin for RArrow",1,["syn::token::RArrow"]],["impl Unpin for Raw",1,["syn::token::Raw"]],["impl Unpin for Ref",1,["syn::token::Ref"]],["impl Unpin for Return",1,["syn::token::Return"]],["impl Unpin for SelfType",1,["syn::token::SelfType"]],["impl Unpin for SelfValue",1,["syn::token::SelfValue"]],["impl Unpin for Semi",1,["syn::token::Semi"]],["impl Unpin for Shl",1,["syn::token::Shl"]],["impl Unpin for ShlEq",1,["syn::token::ShlEq"]],["impl Unpin for Shr",1,["syn::token::Shr"]],["impl Unpin for ShrEq",1,["syn::token::ShrEq"]],["impl Unpin for Slash",1,["syn::token::Slash"]],["impl Unpin for SlashEq",1,["syn::token::SlashEq"]],["impl Unpin for Star",1,["syn::token::Star"]],["impl Unpin for StarEq",1,["syn::token::StarEq"]],["impl Unpin for Static",1,["syn::token::Static"]],["impl Unpin for Struct",1,["syn::token::Struct"]],["impl Unpin for Super",1,["syn::token::Super"]],["impl Unpin for Tilde",1,["syn::token::Tilde"]],["impl Unpin for Trait",1,["syn::token::Trait"]],["impl Unpin for Try",1,["syn::token::Try"]],["impl Unpin for Type",1,["syn::token::Type"]],["impl Unpin for Typeof",1,["syn::token::Typeof"]],["impl Unpin for Underscore",1,["syn::token::Underscore"]],["impl Unpin for Union",1,["syn::token::Union"]],["impl Unpin for Unsafe",1,["syn::token::Unsafe"]],["impl Unpin for Unsized",1,["syn::token::Unsized"]],["impl Unpin for Use",1,["syn::token::Use"]],["impl Unpin for Virtual",1,["syn::token::Virtual"]],["impl Unpin for Where",1,["syn::token::Where"]],["impl Unpin for While",1,["syn::token::While"]],["impl Unpin for Yield",1,["syn::token::Yield"]],["impl<'a> Unpin for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> Unpin for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> Unpin for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> Unpin for ParseBuffer<'a>",1,["syn::parse::ParseBuffer"]],["impl<'a> Unpin for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> Unpin for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> Unpin for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> Unpin for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> Unpin for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> Unpin for Pairs<'a, T, P>",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> Unpin for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> Unpin for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> Unpin for IntoIter<T>
    where\n T: Unpin,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> Unpin for Pair<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> Unpin for IntoPairs<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> Unpin for Punctuated<T, P>
    where\n T: Unpin,\n P: Unpin,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl Unpin for AddBounds",1,["synstructure::AddBounds"]],["impl Unpin for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> Unpin for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> Unpin for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> Unpin for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> Unpin for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/arith/trait.Add.js b/trait.impl/core/ops/arith/trait.Add.js index 63a25dc..ad7db6b 100644 --- a/trait.impl/core/ops/arith/trait.Add.js +++ b/trait.impl/core/ops/arith/trait.Add.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["flexiber",[["impl Add for Length"],["impl Add<u16> for Length"],["impl Add<u8> for Length"],["impl Add<usize> for Length"],["impl Add<Length> for Result<Length>"]]]]); + var implementors = Object.fromEntries([["flexiber",[["impl Add for Length"],["impl Add<u16> for Length"],["impl Add<u8> for Length"],["impl Add<usize> for Length"],["impl Add<Length> for Result<Length>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js index e47ebbe..483f287 100644 --- a/trait.impl/core/ops/deref/trait.Deref.js +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl Deref for And"],["impl Deref for At"],["impl Deref for Caret"],["impl Deref for Colon"],["impl Deref for Comma"],["impl Deref for Dollar"],["impl Deref for Dot"],["impl Deref for Eq"],["impl Deref for Gt"],["impl Deref for Lt"],["impl Deref for Minus"],["impl Deref for Not"],["impl Deref for Or"],["impl Deref for Percent"],["impl Deref for Plus"],["impl Deref for Pound"],["impl Deref for Question"],["impl Deref for Semi"],["impl Deref for Slash"],["impl Deref for Star"],["impl Deref for Tilde"],["impl Deref for Underscore"],["impl<'c, 'a> Deref for StepCursor<'c, 'a>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl Deref for And"],["impl Deref for At"],["impl Deref for Caret"],["impl Deref for Colon"],["impl Deref for Comma"],["impl Deref for Dollar"],["impl Deref for Dot"],["impl Deref for Eq"],["impl Deref for Gt"],["impl Deref for Lt"],["impl Deref for Minus"],["impl Deref for Not"],["impl Deref for Or"],["impl Deref for Percent"],["impl Deref for Plus"],["impl Deref for Pound"],["impl Deref for Question"],["impl Deref for Semi"],["impl Deref for Slash"],["impl Deref for Star"],["impl Deref for Tilde"],["impl Deref for Underscore"],["impl<'c, 'a> Deref for StepCursor<'c, 'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/deref/trait.DerefMut.js b/trait.impl/core/ops/deref/trait.DerefMut.js index a511299..549ef8d 100644 --- a/trait.impl/core/ops/deref/trait.DerefMut.js +++ b/trait.impl/core/ops/deref/trait.DerefMut.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl DerefMut for And"],["impl DerefMut for At"],["impl DerefMut for Caret"],["impl DerefMut for Colon"],["impl DerefMut for Comma"],["impl DerefMut for Dollar"],["impl DerefMut for Dot"],["impl DerefMut for Eq"],["impl DerefMut for Gt"],["impl DerefMut for Lt"],["impl DerefMut for Minus"],["impl DerefMut for Not"],["impl DerefMut for Or"],["impl DerefMut for Percent"],["impl DerefMut for Plus"],["impl DerefMut for Pound"],["impl DerefMut for Question"],["impl DerefMut for Semi"],["impl DerefMut for Slash"],["impl DerefMut for Star"],["impl DerefMut for Tilde"],["impl DerefMut for Underscore"]]]]); + var implementors = Object.fromEntries([["syn",[["impl DerefMut for And"],["impl DerefMut for At"],["impl DerefMut for Caret"],["impl DerefMut for Colon"],["impl DerefMut for Comma"],["impl DerefMut for Dollar"],["impl DerefMut for Dot"],["impl DerefMut for Eq"],["impl DerefMut for Gt"],["impl DerefMut for Lt"],["impl DerefMut for Minus"],["impl DerefMut for Not"],["impl DerefMut for Or"],["impl DerefMut for Percent"],["impl DerefMut for Plus"],["impl DerefMut for Pound"],["impl DerefMut for Question"],["impl DerefMut for Semi"],["impl DerefMut for Slash"],["impl DerefMut for Star"],["impl DerefMut for Tilde"],["impl DerefMut for Underscore"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/drop/trait.Drop.js b/trait.impl/core/ops/drop/trait.Drop.js index 19a5852..be9aac1 100644 --- a/trait.impl/core/ops/drop/trait.Drop.js +++ b/trait.impl/core/ops/drop/trait.Drop.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl<'a> Drop for ParseBuffer<'a>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl<'a> Drop for ParseBuffer<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/index/trait.Index.js b/trait.impl/core/ops/index/trait.Index.js index c871312..0a6bf60 100644 --- a/trait.impl/core/ops/index/trait.Index.js +++ b/trait.impl/core/ops/index/trait.Index.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl<T, P> Index<usize> for Punctuated<T, P>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl<T, P> Index<usize> for Punctuated<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/index/trait.IndexMut.js b/trait.impl/core/ops/index/trait.IndexMut.js index 5dab498..56c9fa0 100644 --- a/trait.impl/core/ops/index/trait.IndexMut.js +++ b/trait.impl/core/ops/index/trait.IndexMut.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["syn",[["impl<T, P> IndexMut<usize> for Punctuated<T, P>"]]]]); + var implementors = Object.fromEntries([["syn",[["impl<T, P> IndexMut<usize> for Punctuated<T, P>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 7f7dd2f..c910eec 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl RefUnwindSafe for U1",1,["delog::hex::U1"]],["impl RefUnwindSafe for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl RefUnwindSafe for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl RefUnwindSafe for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> RefUnwindSafe for HexStr<'a, T, U, S>
    where\n T: RefUnwindSafe + ?Sized,\n U: RefUnwindSafe,\n S: RefUnwindSafe,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl RefUnwindSafe for Class",1,["flexiber::tag::Class"]],["impl RefUnwindSafe for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl RefUnwindSafe for Error",1,["flexiber::error::Error"]],["impl RefUnwindSafe for Length",1,["flexiber::length::Length"]],["impl RefUnwindSafe for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl RefUnwindSafe for Tag",1,["flexiber::tag::Tag"]],["impl<'a> RefUnwindSafe for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> RefUnwindSafe for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> RefUnwindSafe for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> RefUnwindSafe for TaggedValue<V, T>
    where\n T: RefUnwindSafe,\n V: RefUnwindSafe,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl RefUnwindSafe for Level",1,["log::Level"]],["impl RefUnwindSafe for LevelFilter",1,["log::LevelFilter"]],["impl RefUnwindSafe for ParseLevelError",1,["log::ParseLevelError"]],["impl RefUnwindSafe for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> RefUnwindSafe for Metadata<'a>",1,["log::Metadata"]],["impl<'a> RefUnwindSafe for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> RefUnwindSafe for Record<'a>",1,["log::Record"]],["impl<'a> RefUnwindSafe for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl RefUnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl RefUnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl RefUnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl RefUnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl RefUnwindSafe for Group",1,["proc_macro2::Group"]],["impl RefUnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl RefUnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl RefUnwindSafe for Literal",1,["proc_macro2::Literal"]],["impl RefUnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl RefUnwindSafe for Span",1,["proc_macro2::Span"]],["impl RefUnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl RefUnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl RefUnwindSafe for AttrStyle",1,["syn::attr::AttrStyle"]],["impl RefUnwindSafe for BinOp",1,["syn::op::BinOp"]],["impl RefUnwindSafe for Data",1,["syn::derive::Data"]],["impl RefUnwindSafe for Expr",1,["syn::expr::Expr"]],["impl RefUnwindSafe for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl RefUnwindSafe for Fields",1,["syn::data::Fields"]],["impl RefUnwindSafe for GenericArgument",1,["syn::path::GenericArgument"]],["impl RefUnwindSafe for GenericParam",1,["syn::generics::GenericParam"]],["impl RefUnwindSafe for Lit",1,["syn::lit::Lit"]],["impl RefUnwindSafe for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl RefUnwindSafe for Member",1,["syn::expr::Member"]],["impl RefUnwindSafe for Meta",1,["syn::attr::Meta"]],["impl RefUnwindSafe for PathArguments",1,["syn::path::PathArguments"]],["impl RefUnwindSafe for ReturnType",1,["syn::ty::ReturnType"]],["impl RefUnwindSafe for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl RefUnwindSafe for Type",1,["syn::ty::Type"]],["impl RefUnwindSafe for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl RefUnwindSafe for UnOp",1,["syn::op::UnOp"]],["impl RefUnwindSafe for Visibility",1,["syn::restriction::Visibility"]],["impl RefUnwindSafe for WherePredicate",1,["syn::generics::WherePredicate"]],["impl RefUnwindSafe for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl RefUnwindSafe for End",1,["syn::lookahead::End"]],["impl RefUnwindSafe for Error",1,["syn::error::Error"]],["impl RefUnwindSafe for Nothing",1,["syn::parse::Nothing"]],["impl RefUnwindSafe for Abi",1,["syn::ty::Abi"]],["impl RefUnwindSafe for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl RefUnwindSafe for AssocConst",1,["syn::path::AssocConst"]],["impl RefUnwindSafe for AssocType",1,["syn::path::AssocType"]],["impl RefUnwindSafe for Attribute",1,["syn::attr::Attribute"]],["impl RefUnwindSafe for BareFnArg",1,["syn::ty::BareFnArg"]],["impl RefUnwindSafe for BareVariadic",1,["syn::ty::BareVariadic"]],["impl RefUnwindSafe for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl RefUnwindSafe for ConstParam",1,["syn::generics::ConstParam"]],["impl RefUnwindSafe for Constraint",1,["syn::path::Constraint"]],["impl RefUnwindSafe for DataEnum",1,["syn::derive::DataEnum"]],["impl RefUnwindSafe for DataStruct",1,["syn::derive::DataStruct"]],["impl RefUnwindSafe for DataUnion",1,["syn::derive::DataUnion"]],["impl RefUnwindSafe for DeriveInput",1,["syn::derive::DeriveInput"]],["impl RefUnwindSafe for ExprArray",1,["syn::expr::ExprArray"]],["impl RefUnwindSafe for ExprAssign",1,["syn::expr::ExprAssign"]],["impl RefUnwindSafe for ExprAsync",1,["syn::expr::ExprAsync"]],["impl RefUnwindSafe for ExprAwait",1,["syn::expr::ExprAwait"]],["impl RefUnwindSafe for ExprBinary",1,["syn::expr::ExprBinary"]],["impl RefUnwindSafe for ExprBlock",1,["syn::expr::ExprBlock"]],["impl RefUnwindSafe for ExprBreak",1,["syn::expr::ExprBreak"]],["impl RefUnwindSafe for ExprCall",1,["syn::expr::ExprCall"]],["impl RefUnwindSafe for ExprCast",1,["syn::expr::ExprCast"]],["impl RefUnwindSafe for ExprClosure",1,["syn::expr::ExprClosure"]],["impl RefUnwindSafe for ExprConst",1,["syn::expr::ExprConst"]],["impl RefUnwindSafe for ExprContinue",1,["syn::expr::ExprContinue"]],["impl RefUnwindSafe for ExprField",1,["syn::expr::ExprField"]],["impl RefUnwindSafe for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl RefUnwindSafe for ExprGroup",1,["syn::expr::ExprGroup"]],["impl RefUnwindSafe for ExprIf",1,["syn::expr::ExprIf"]],["impl RefUnwindSafe for ExprIndex",1,["syn::expr::ExprIndex"]],["impl RefUnwindSafe for ExprInfer",1,["syn::expr::ExprInfer"]],["impl RefUnwindSafe for ExprLet",1,["syn::expr::ExprLet"]],["impl RefUnwindSafe for ExprLit",1,["syn::expr::ExprLit"]],["impl RefUnwindSafe for ExprLoop",1,["syn::expr::ExprLoop"]],["impl RefUnwindSafe for ExprMacro",1,["syn::expr::ExprMacro"]],["impl RefUnwindSafe for ExprMatch",1,["syn::expr::ExprMatch"]],["impl RefUnwindSafe for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl RefUnwindSafe for ExprParen",1,["syn::expr::ExprParen"]],["impl RefUnwindSafe for ExprPath",1,["syn::expr::ExprPath"]],["impl RefUnwindSafe for ExprRange",1,["syn::expr::ExprRange"]],["impl RefUnwindSafe for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl RefUnwindSafe for ExprReference",1,["syn::expr::ExprReference"]],["impl RefUnwindSafe for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl RefUnwindSafe for ExprReturn",1,["syn::expr::ExprReturn"]],["impl RefUnwindSafe for ExprStruct",1,["syn::expr::ExprStruct"]],["impl RefUnwindSafe for ExprTry",1,["syn::expr::ExprTry"]],["impl RefUnwindSafe for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl RefUnwindSafe for ExprTuple",1,["syn::expr::ExprTuple"]],["impl RefUnwindSafe for ExprUnary",1,["syn::expr::ExprUnary"]],["impl RefUnwindSafe for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl RefUnwindSafe for ExprWhile",1,["syn::expr::ExprWhile"]],["impl RefUnwindSafe for ExprYield",1,["syn::expr::ExprYield"]],["impl RefUnwindSafe for Field",1,["syn::data::Field"]],["impl RefUnwindSafe for FieldValue",1,["syn::expr::FieldValue"]],["impl RefUnwindSafe for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl RefUnwindSafe for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl RefUnwindSafe for Generics",1,["syn::generics::Generics"]],["impl RefUnwindSafe for Index",1,["syn::expr::Index"]],["impl RefUnwindSafe for Lifetime",1,["syn::lifetime::Lifetime"]],["impl RefUnwindSafe for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl RefUnwindSafe for LitBool",1,["syn::lit::LitBool"]],["impl RefUnwindSafe for LitByte",1,["syn::lit::LitByte"]],["impl RefUnwindSafe for LitByteStr",1,["syn::lit::LitByteStr"]],["impl RefUnwindSafe for LitCStr",1,["syn::lit::LitCStr"]],["impl RefUnwindSafe for LitChar",1,["syn::lit::LitChar"]],["impl RefUnwindSafe for LitFloat",1,["syn::lit::LitFloat"]],["impl RefUnwindSafe for LitInt",1,["syn::lit::LitInt"]],["impl RefUnwindSafe for LitStr",1,["syn::lit::LitStr"]],["impl RefUnwindSafe for Macro",1,["syn::mac::Macro"]],["impl RefUnwindSafe for MetaList",1,["syn::attr::MetaList"]],["impl RefUnwindSafe for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl RefUnwindSafe for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl RefUnwindSafe for Path",1,["syn::path::Path"]],["impl RefUnwindSafe for PathSegment",1,["syn::path::PathSegment"]],["impl RefUnwindSafe for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl RefUnwindSafe for PredicateType",1,["syn::generics::PredicateType"]],["impl RefUnwindSafe for QSelf",1,["syn::path::QSelf"]],["impl RefUnwindSafe for TraitBound",1,["syn::generics::TraitBound"]],["impl RefUnwindSafe for TypeArray",1,["syn::ty::TypeArray"]],["impl RefUnwindSafe for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl RefUnwindSafe for TypeGroup",1,["syn::ty::TypeGroup"]],["impl RefUnwindSafe for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl RefUnwindSafe for TypeInfer",1,["syn::ty::TypeInfer"]],["impl RefUnwindSafe for TypeMacro",1,["syn::ty::TypeMacro"]],["impl RefUnwindSafe for TypeNever",1,["syn::ty::TypeNever"]],["impl RefUnwindSafe for TypeParam",1,["syn::generics::TypeParam"]],["impl RefUnwindSafe for TypeParen",1,["syn::ty::TypeParen"]],["impl RefUnwindSafe for TypePath",1,["syn::ty::TypePath"]],["impl RefUnwindSafe for TypePtr",1,["syn::ty::TypePtr"]],["impl RefUnwindSafe for TypeReference",1,["syn::ty::TypeReference"]],["impl RefUnwindSafe for TypeSlice",1,["syn::ty::TypeSlice"]],["impl RefUnwindSafe for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl RefUnwindSafe for TypeTuple",1,["syn::ty::TypeTuple"]],["impl RefUnwindSafe for Variant",1,["syn::data::Variant"]],["impl RefUnwindSafe for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl RefUnwindSafe for WhereClause",1,["syn::generics::WhereClause"]],["impl RefUnwindSafe for Abstract",1,["syn::token::Abstract"]],["impl RefUnwindSafe for And",1,["syn::token::And"]],["impl RefUnwindSafe for AndAnd",1,["syn::token::AndAnd"]],["impl RefUnwindSafe for AndEq",1,["syn::token::AndEq"]],["impl RefUnwindSafe for As",1,["syn::token::As"]],["impl RefUnwindSafe for Async",1,["syn::token::Async"]],["impl RefUnwindSafe for At",1,["syn::token::At"]],["impl RefUnwindSafe for Auto",1,["syn::token::Auto"]],["impl RefUnwindSafe for Await",1,["syn::token::Await"]],["impl RefUnwindSafe for Become",1,["syn::token::Become"]],["impl RefUnwindSafe for Box",1,["syn::token::Box"]],["impl RefUnwindSafe for Brace",1,["syn::token::Brace"]],["impl RefUnwindSafe for Bracket",1,["syn::token::Bracket"]],["impl RefUnwindSafe for Break",1,["syn::token::Break"]],["impl RefUnwindSafe for Caret",1,["syn::token::Caret"]],["impl RefUnwindSafe for CaretEq",1,["syn::token::CaretEq"]],["impl RefUnwindSafe for Colon",1,["syn::token::Colon"]],["impl RefUnwindSafe for Comma",1,["syn::token::Comma"]],["impl RefUnwindSafe for Const",1,["syn::token::Const"]],["impl RefUnwindSafe for Continue",1,["syn::token::Continue"]],["impl RefUnwindSafe for Crate",1,["syn::token::Crate"]],["impl RefUnwindSafe for Default",1,["syn::token::Default"]],["impl RefUnwindSafe for Do",1,["syn::token::Do"]],["impl RefUnwindSafe for Dollar",1,["syn::token::Dollar"]],["impl RefUnwindSafe for Dot",1,["syn::token::Dot"]],["impl RefUnwindSafe for DotDot",1,["syn::token::DotDot"]],["impl RefUnwindSafe for DotDotDot",1,["syn::token::DotDotDot"]],["impl RefUnwindSafe for DotDotEq",1,["syn::token::DotDotEq"]],["impl RefUnwindSafe for Dyn",1,["syn::token::Dyn"]],["impl RefUnwindSafe for Else",1,["syn::token::Else"]],["impl RefUnwindSafe for Enum",1,["syn::token::Enum"]],["impl RefUnwindSafe for Eq",1,["syn::token::Eq"]],["impl RefUnwindSafe for EqEq",1,["syn::token::EqEq"]],["impl RefUnwindSafe for Extern",1,["syn::token::Extern"]],["impl RefUnwindSafe for FatArrow",1,["syn::token::FatArrow"]],["impl RefUnwindSafe for Final",1,["syn::token::Final"]],["impl RefUnwindSafe for Fn",1,["syn::token::Fn"]],["impl RefUnwindSafe for For",1,["syn::token::For"]],["impl RefUnwindSafe for Ge",1,["syn::token::Ge"]],["impl RefUnwindSafe for Group",1,["syn::token::Group"]],["impl RefUnwindSafe for Gt",1,["syn::token::Gt"]],["impl RefUnwindSafe for If",1,["syn::token::If"]],["impl RefUnwindSafe for Impl",1,["syn::token::Impl"]],["impl RefUnwindSafe for In",1,["syn::token::In"]],["impl RefUnwindSafe for LArrow",1,["syn::token::LArrow"]],["impl RefUnwindSafe for Le",1,["syn::token::Le"]],["impl RefUnwindSafe for Let",1,["syn::token::Let"]],["impl RefUnwindSafe for Loop",1,["syn::token::Loop"]],["impl RefUnwindSafe for Lt",1,["syn::token::Lt"]],["impl RefUnwindSafe for Macro",1,["syn::token::Macro"]],["impl RefUnwindSafe for Match",1,["syn::token::Match"]],["impl RefUnwindSafe for Minus",1,["syn::token::Minus"]],["impl RefUnwindSafe for MinusEq",1,["syn::token::MinusEq"]],["impl RefUnwindSafe for Mod",1,["syn::token::Mod"]],["impl RefUnwindSafe for Move",1,["syn::token::Move"]],["impl RefUnwindSafe for Mut",1,["syn::token::Mut"]],["impl RefUnwindSafe for Ne",1,["syn::token::Ne"]],["impl RefUnwindSafe for Not",1,["syn::token::Not"]],["impl RefUnwindSafe for Or",1,["syn::token::Or"]],["impl RefUnwindSafe for OrEq",1,["syn::token::OrEq"]],["impl RefUnwindSafe for OrOr",1,["syn::token::OrOr"]],["impl RefUnwindSafe for Override",1,["syn::token::Override"]],["impl RefUnwindSafe for Paren",1,["syn::token::Paren"]],["impl RefUnwindSafe for PathSep",1,["syn::token::PathSep"]],["impl RefUnwindSafe for Percent",1,["syn::token::Percent"]],["impl RefUnwindSafe for PercentEq",1,["syn::token::PercentEq"]],["impl RefUnwindSafe for Plus",1,["syn::token::Plus"]],["impl RefUnwindSafe for PlusEq",1,["syn::token::PlusEq"]],["impl RefUnwindSafe for Pound",1,["syn::token::Pound"]],["impl RefUnwindSafe for Priv",1,["syn::token::Priv"]],["impl RefUnwindSafe for Pub",1,["syn::token::Pub"]],["impl RefUnwindSafe for Question",1,["syn::token::Question"]],["impl RefUnwindSafe for RArrow",1,["syn::token::RArrow"]],["impl RefUnwindSafe for Raw",1,["syn::token::Raw"]],["impl RefUnwindSafe for Ref",1,["syn::token::Ref"]],["impl RefUnwindSafe for Return",1,["syn::token::Return"]],["impl RefUnwindSafe for SelfType",1,["syn::token::SelfType"]],["impl RefUnwindSafe for SelfValue",1,["syn::token::SelfValue"]],["impl RefUnwindSafe for Semi",1,["syn::token::Semi"]],["impl RefUnwindSafe for Shl",1,["syn::token::Shl"]],["impl RefUnwindSafe for ShlEq",1,["syn::token::ShlEq"]],["impl RefUnwindSafe for Shr",1,["syn::token::Shr"]],["impl RefUnwindSafe for ShrEq",1,["syn::token::ShrEq"]],["impl RefUnwindSafe for Slash",1,["syn::token::Slash"]],["impl RefUnwindSafe for SlashEq",1,["syn::token::SlashEq"]],["impl RefUnwindSafe for Star",1,["syn::token::Star"]],["impl RefUnwindSafe for StarEq",1,["syn::token::StarEq"]],["impl RefUnwindSafe for Static",1,["syn::token::Static"]],["impl RefUnwindSafe for Struct",1,["syn::token::Struct"]],["impl RefUnwindSafe for Super",1,["syn::token::Super"]],["impl RefUnwindSafe for Tilde",1,["syn::token::Tilde"]],["impl RefUnwindSafe for Trait",1,["syn::token::Trait"]],["impl RefUnwindSafe for Try",1,["syn::token::Try"]],["impl RefUnwindSafe for Type",1,["syn::token::Type"]],["impl RefUnwindSafe for Typeof",1,["syn::token::Typeof"]],["impl RefUnwindSafe for Underscore",1,["syn::token::Underscore"]],["impl RefUnwindSafe for Union",1,["syn::token::Union"]],["impl RefUnwindSafe for Unsafe",1,["syn::token::Unsafe"]],["impl RefUnwindSafe for Unsized",1,["syn::token::Unsized"]],["impl RefUnwindSafe for Use",1,["syn::token::Use"]],["impl RefUnwindSafe for Virtual",1,["syn::token::Virtual"]],["impl RefUnwindSafe for Where",1,["syn::token::Where"]],["impl RefUnwindSafe for While",1,["syn::token::While"]],["impl RefUnwindSafe for Yield",1,["syn::token::Yield"]],["impl<'a> !RefUnwindSafe for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> RefUnwindSafe for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> RefUnwindSafe for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> RefUnwindSafe for ParseBuffer<'a>"],["impl<'a> RefUnwindSafe for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> RefUnwindSafe for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> RefUnwindSafe for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !RefUnwindSafe for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !RefUnwindSafe for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> RefUnwindSafe for Pairs<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> RefUnwindSafe for PairsMut<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> RefUnwindSafe for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> RefUnwindSafe for IntoIter<T>
    where\n T: RefUnwindSafe,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> RefUnwindSafe for Pair<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> RefUnwindSafe for IntoPairs<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> RefUnwindSafe for Punctuated<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl RefUnwindSafe for AddBounds",1,["synstructure::AddBounds"]],["impl RefUnwindSafe for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> RefUnwindSafe for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> RefUnwindSafe for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> RefUnwindSafe for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> RefUnwindSafe for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl RefUnwindSafe for U1",1,["delog::hex::U1"]],["impl RefUnwindSafe for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl RefUnwindSafe for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl RefUnwindSafe for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> RefUnwindSafe for HexStr<'a, T, U, S>
    where\n T: RefUnwindSafe + ?Sized,\n U: RefUnwindSafe,\n S: RefUnwindSafe,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl RefUnwindSafe for Class",1,["flexiber::tag::Class"]],["impl RefUnwindSafe for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl RefUnwindSafe for Error",1,["flexiber::error::Error"]],["impl RefUnwindSafe for Length",1,["flexiber::length::Length"]],["impl RefUnwindSafe for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl RefUnwindSafe for Tag",1,["flexiber::tag::Tag"]],["impl<'a> RefUnwindSafe for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> RefUnwindSafe for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> RefUnwindSafe for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> RefUnwindSafe for TaggedValue<V, T>
    where\n T: RefUnwindSafe,\n V: RefUnwindSafe,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl RefUnwindSafe for Level",1,["log::Level"]],["impl RefUnwindSafe for LevelFilter",1,["log::LevelFilter"]],["impl RefUnwindSafe for ParseLevelError",1,["log::ParseLevelError"]],["impl RefUnwindSafe for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> RefUnwindSafe for Metadata<'a>",1,["log::Metadata"]],["impl<'a> RefUnwindSafe for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> RefUnwindSafe for Record<'a>",1,["log::Record"]],["impl<'a> RefUnwindSafe for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl RefUnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl RefUnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl RefUnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl RefUnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl RefUnwindSafe for Group",1,["proc_macro2::Group"]],["impl RefUnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl RefUnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl RefUnwindSafe for Literal",1,["proc_macro2::Literal"]],["impl RefUnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl RefUnwindSafe for Span",1,["proc_macro2::Span"]],["impl RefUnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl RefUnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl RefUnwindSafe for AttrStyle",1,["syn::attr::AttrStyle"]],["impl RefUnwindSafe for BinOp",1,["syn::op::BinOp"]],["impl RefUnwindSafe for Data",1,["syn::derive::Data"]],["impl RefUnwindSafe for Expr",1,["syn::expr::Expr"]],["impl RefUnwindSafe for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl RefUnwindSafe for Fields",1,["syn::data::Fields"]],["impl RefUnwindSafe for GenericArgument",1,["syn::path::GenericArgument"]],["impl RefUnwindSafe for GenericParam",1,["syn::generics::GenericParam"]],["impl RefUnwindSafe for Lit",1,["syn::lit::Lit"]],["impl RefUnwindSafe for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl RefUnwindSafe for Member",1,["syn::expr::Member"]],["impl RefUnwindSafe for Meta",1,["syn::attr::Meta"]],["impl RefUnwindSafe for PathArguments",1,["syn::path::PathArguments"]],["impl RefUnwindSafe for ReturnType",1,["syn::ty::ReturnType"]],["impl RefUnwindSafe for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl RefUnwindSafe for Type",1,["syn::ty::Type"]],["impl RefUnwindSafe for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl RefUnwindSafe for UnOp",1,["syn::op::UnOp"]],["impl RefUnwindSafe for Visibility",1,["syn::restriction::Visibility"]],["impl RefUnwindSafe for WherePredicate",1,["syn::generics::WherePredicate"]],["impl RefUnwindSafe for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl RefUnwindSafe for End",1,["syn::lookahead::End"]],["impl RefUnwindSafe for Error",1,["syn::error::Error"]],["impl RefUnwindSafe for Nothing",1,["syn::parse::Nothing"]],["impl RefUnwindSafe for Abi",1,["syn::ty::Abi"]],["impl RefUnwindSafe for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl RefUnwindSafe for AssocConst",1,["syn::path::AssocConst"]],["impl RefUnwindSafe for AssocType",1,["syn::path::AssocType"]],["impl RefUnwindSafe for Attribute",1,["syn::attr::Attribute"]],["impl RefUnwindSafe for BareFnArg",1,["syn::ty::BareFnArg"]],["impl RefUnwindSafe for BareVariadic",1,["syn::ty::BareVariadic"]],["impl RefUnwindSafe for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl RefUnwindSafe for ConstParam",1,["syn::generics::ConstParam"]],["impl RefUnwindSafe for Constraint",1,["syn::path::Constraint"]],["impl RefUnwindSafe for DataEnum",1,["syn::derive::DataEnum"]],["impl RefUnwindSafe for DataStruct",1,["syn::derive::DataStruct"]],["impl RefUnwindSafe for DataUnion",1,["syn::derive::DataUnion"]],["impl RefUnwindSafe for DeriveInput",1,["syn::derive::DeriveInput"]],["impl RefUnwindSafe for ExprArray",1,["syn::expr::ExprArray"]],["impl RefUnwindSafe for ExprAssign",1,["syn::expr::ExprAssign"]],["impl RefUnwindSafe for ExprAsync",1,["syn::expr::ExprAsync"]],["impl RefUnwindSafe for ExprAwait",1,["syn::expr::ExprAwait"]],["impl RefUnwindSafe for ExprBinary",1,["syn::expr::ExprBinary"]],["impl RefUnwindSafe for ExprBlock",1,["syn::expr::ExprBlock"]],["impl RefUnwindSafe for ExprBreak",1,["syn::expr::ExprBreak"]],["impl RefUnwindSafe for ExprCall",1,["syn::expr::ExprCall"]],["impl RefUnwindSafe for ExprCast",1,["syn::expr::ExprCast"]],["impl RefUnwindSafe for ExprClosure",1,["syn::expr::ExprClosure"]],["impl RefUnwindSafe for ExprConst",1,["syn::expr::ExprConst"]],["impl RefUnwindSafe for ExprContinue",1,["syn::expr::ExprContinue"]],["impl RefUnwindSafe for ExprField",1,["syn::expr::ExprField"]],["impl RefUnwindSafe for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl RefUnwindSafe for ExprGroup",1,["syn::expr::ExprGroup"]],["impl RefUnwindSafe for ExprIf",1,["syn::expr::ExprIf"]],["impl RefUnwindSafe for ExprIndex",1,["syn::expr::ExprIndex"]],["impl RefUnwindSafe for ExprInfer",1,["syn::expr::ExprInfer"]],["impl RefUnwindSafe for ExprLet",1,["syn::expr::ExprLet"]],["impl RefUnwindSafe for ExprLit",1,["syn::expr::ExprLit"]],["impl RefUnwindSafe for ExprLoop",1,["syn::expr::ExprLoop"]],["impl RefUnwindSafe for ExprMacro",1,["syn::expr::ExprMacro"]],["impl RefUnwindSafe for ExprMatch",1,["syn::expr::ExprMatch"]],["impl RefUnwindSafe for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl RefUnwindSafe for ExprParen",1,["syn::expr::ExprParen"]],["impl RefUnwindSafe for ExprPath",1,["syn::expr::ExprPath"]],["impl RefUnwindSafe for ExprRange",1,["syn::expr::ExprRange"]],["impl RefUnwindSafe for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl RefUnwindSafe for ExprReference",1,["syn::expr::ExprReference"]],["impl RefUnwindSafe for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl RefUnwindSafe for ExprReturn",1,["syn::expr::ExprReturn"]],["impl RefUnwindSafe for ExprStruct",1,["syn::expr::ExprStruct"]],["impl RefUnwindSafe for ExprTry",1,["syn::expr::ExprTry"]],["impl RefUnwindSafe for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl RefUnwindSafe for ExprTuple",1,["syn::expr::ExprTuple"]],["impl RefUnwindSafe for ExprUnary",1,["syn::expr::ExprUnary"]],["impl RefUnwindSafe for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl RefUnwindSafe for ExprWhile",1,["syn::expr::ExprWhile"]],["impl RefUnwindSafe for ExprYield",1,["syn::expr::ExprYield"]],["impl RefUnwindSafe for Field",1,["syn::data::Field"]],["impl RefUnwindSafe for FieldValue",1,["syn::expr::FieldValue"]],["impl RefUnwindSafe for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl RefUnwindSafe for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl RefUnwindSafe for Generics",1,["syn::generics::Generics"]],["impl RefUnwindSafe for Index",1,["syn::expr::Index"]],["impl RefUnwindSafe for Lifetime",1,["syn::lifetime::Lifetime"]],["impl RefUnwindSafe for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl RefUnwindSafe for LitBool",1,["syn::lit::LitBool"]],["impl RefUnwindSafe for LitByte",1,["syn::lit::LitByte"]],["impl RefUnwindSafe for LitByteStr",1,["syn::lit::LitByteStr"]],["impl RefUnwindSafe for LitCStr",1,["syn::lit::LitCStr"]],["impl RefUnwindSafe for LitChar",1,["syn::lit::LitChar"]],["impl RefUnwindSafe for LitFloat",1,["syn::lit::LitFloat"]],["impl RefUnwindSafe for LitInt",1,["syn::lit::LitInt"]],["impl RefUnwindSafe for LitStr",1,["syn::lit::LitStr"]],["impl RefUnwindSafe for Macro",1,["syn::mac::Macro"]],["impl RefUnwindSafe for MetaList",1,["syn::attr::MetaList"]],["impl RefUnwindSafe for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl RefUnwindSafe for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl RefUnwindSafe for Path",1,["syn::path::Path"]],["impl RefUnwindSafe for PathSegment",1,["syn::path::PathSegment"]],["impl RefUnwindSafe for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl RefUnwindSafe for PredicateType",1,["syn::generics::PredicateType"]],["impl RefUnwindSafe for QSelf",1,["syn::path::QSelf"]],["impl RefUnwindSafe for TraitBound",1,["syn::generics::TraitBound"]],["impl RefUnwindSafe for TypeArray",1,["syn::ty::TypeArray"]],["impl RefUnwindSafe for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl RefUnwindSafe for TypeGroup",1,["syn::ty::TypeGroup"]],["impl RefUnwindSafe for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl RefUnwindSafe for TypeInfer",1,["syn::ty::TypeInfer"]],["impl RefUnwindSafe for TypeMacro",1,["syn::ty::TypeMacro"]],["impl RefUnwindSafe for TypeNever",1,["syn::ty::TypeNever"]],["impl RefUnwindSafe for TypeParam",1,["syn::generics::TypeParam"]],["impl RefUnwindSafe for TypeParen",1,["syn::ty::TypeParen"]],["impl RefUnwindSafe for TypePath",1,["syn::ty::TypePath"]],["impl RefUnwindSafe for TypePtr",1,["syn::ty::TypePtr"]],["impl RefUnwindSafe for TypeReference",1,["syn::ty::TypeReference"]],["impl RefUnwindSafe for TypeSlice",1,["syn::ty::TypeSlice"]],["impl RefUnwindSafe for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl RefUnwindSafe for TypeTuple",1,["syn::ty::TypeTuple"]],["impl RefUnwindSafe for Variant",1,["syn::data::Variant"]],["impl RefUnwindSafe for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl RefUnwindSafe for WhereClause",1,["syn::generics::WhereClause"]],["impl RefUnwindSafe for Abstract",1,["syn::token::Abstract"]],["impl RefUnwindSafe for And",1,["syn::token::And"]],["impl RefUnwindSafe for AndAnd",1,["syn::token::AndAnd"]],["impl RefUnwindSafe for AndEq",1,["syn::token::AndEq"]],["impl RefUnwindSafe for As",1,["syn::token::As"]],["impl RefUnwindSafe for Async",1,["syn::token::Async"]],["impl RefUnwindSafe for At",1,["syn::token::At"]],["impl RefUnwindSafe for Auto",1,["syn::token::Auto"]],["impl RefUnwindSafe for Await",1,["syn::token::Await"]],["impl RefUnwindSafe for Become",1,["syn::token::Become"]],["impl RefUnwindSafe for Box",1,["syn::token::Box"]],["impl RefUnwindSafe for Brace",1,["syn::token::Brace"]],["impl RefUnwindSafe for Bracket",1,["syn::token::Bracket"]],["impl RefUnwindSafe for Break",1,["syn::token::Break"]],["impl RefUnwindSafe for Caret",1,["syn::token::Caret"]],["impl RefUnwindSafe for CaretEq",1,["syn::token::CaretEq"]],["impl RefUnwindSafe for Colon",1,["syn::token::Colon"]],["impl RefUnwindSafe for Comma",1,["syn::token::Comma"]],["impl RefUnwindSafe for Const",1,["syn::token::Const"]],["impl RefUnwindSafe for Continue",1,["syn::token::Continue"]],["impl RefUnwindSafe for Crate",1,["syn::token::Crate"]],["impl RefUnwindSafe for Default",1,["syn::token::Default"]],["impl RefUnwindSafe for Do",1,["syn::token::Do"]],["impl RefUnwindSafe for Dollar",1,["syn::token::Dollar"]],["impl RefUnwindSafe for Dot",1,["syn::token::Dot"]],["impl RefUnwindSafe for DotDot",1,["syn::token::DotDot"]],["impl RefUnwindSafe for DotDotDot",1,["syn::token::DotDotDot"]],["impl RefUnwindSafe for DotDotEq",1,["syn::token::DotDotEq"]],["impl RefUnwindSafe for Dyn",1,["syn::token::Dyn"]],["impl RefUnwindSafe for Else",1,["syn::token::Else"]],["impl RefUnwindSafe for Enum",1,["syn::token::Enum"]],["impl RefUnwindSafe for Eq",1,["syn::token::Eq"]],["impl RefUnwindSafe for EqEq",1,["syn::token::EqEq"]],["impl RefUnwindSafe for Extern",1,["syn::token::Extern"]],["impl RefUnwindSafe for FatArrow",1,["syn::token::FatArrow"]],["impl RefUnwindSafe for Final",1,["syn::token::Final"]],["impl RefUnwindSafe for Fn",1,["syn::token::Fn"]],["impl RefUnwindSafe for For",1,["syn::token::For"]],["impl RefUnwindSafe for Ge",1,["syn::token::Ge"]],["impl RefUnwindSafe for Group",1,["syn::token::Group"]],["impl RefUnwindSafe for Gt",1,["syn::token::Gt"]],["impl RefUnwindSafe for If",1,["syn::token::If"]],["impl RefUnwindSafe for Impl",1,["syn::token::Impl"]],["impl RefUnwindSafe for In",1,["syn::token::In"]],["impl RefUnwindSafe for LArrow",1,["syn::token::LArrow"]],["impl RefUnwindSafe for Le",1,["syn::token::Le"]],["impl RefUnwindSafe for Let",1,["syn::token::Let"]],["impl RefUnwindSafe for Loop",1,["syn::token::Loop"]],["impl RefUnwindSafe for Lt",1,["syn::token::Lt"]],["impl RefUnwindSafe for Macro",1,["syn::token::Macro"]],["impl RefUnwindSafe for Match",1,["syn::token::Match"]],["impl RefUnwindSafe for Minus",1,["syn::token::Minus"]],["impl RefUnwindSafe for MinusEq",1,["syn::token::MinusEq"]],["impl RefUnwindSafe for Mod",1,["syn::token::Mod"]],["impl RefUnwindSafe for Move",1,["syn::token::Move"]],["impl RefUnwindSafe for Mut",1,["syn::token::Mut"]],["impl RefUnwindSafe for Ne",1,["syn::token::Ne"]],["impl RefUnwindSafe for Not",1,["syn::token::Not"]],["impl RefUnwindSafe for Or",1,["syn::token::Or"]],["impl RefUnwindSafe for OrEq",1,["syn::token::OrEq"]],["impl RefUnwindSafe for OrOr",1,["syn::token::OrOr"]],["impl RefUnwindSafe for Override",1,["syn::token::Override"]],["impl RefUnwindSafe for Paren",1,["syn::token::Paren"]],["impl RefUnwindSafe for PathSep",1,["syn::token::PathSep"]],["impl RefUnwindSafe for Percent",1,["syn::token::Percent"]],["impl RefUnwindSafe for PercentEq",1,["syn::token::PercentEq"]],["impl RefUnwindSafe for Plus",1,["syn::token::Plus"]],["impl RefUnwindSafe for PlusEq",1,["syn::token::PlusEq"]],["impl RefUnwindSafe for Pound",1,["syn::token::Pound"]],["impl RefUnwindSafe for Priv",1,["syn::token::Priv"]],["impl RefUnwindSafe for Pub",1,["syn::token::Pub"]],["impl RefUnwindSafe for Question",1,["syn::token::Question"]],["impl RefUnwindSafe for RArrow",1,["syn::token::RArrow"]],["impl RefUnwindSafe for Raw",1,["syn::token::Raw"]],["impl RefUnwindSafe for Ref",1,["syn::token::Ref"]],["impl RefUnwindSafe for Return",1,["syn::token::Return"]],["impl RefUnwindSafe for SelfType",1,["syn::token::SelfType"]],["impl RefUnwindSafe for SelfValue",1,["syn::token::SelfValue"]],["impl RefUnwindSafe for Semi",1,["syn::token::Semi"]],["impl RefUnwindSafe for Shl",1,["syn::token::Shl"]],["impl RefUnwindSafe for ShlEq",1,["syn::token::ShlEq"]],["impl RefUnwindSafe for Shr",1,["syn::token::Shr"]],["impl RefUnwindSafe for ShrEq",1,["syn::token::ShrEq"]],["impl RefUnwindSafe for Slash",1,["syn::token::Slash"]],["impl RefUnwindSafe for SlashEq",1,["syn::token::SlashEq"]],["impl RefUnwindSafe for Star",1,["syn::token::Star"]],["impl RefUnwindSafe for StarEq",1,["syn::token::StarEq"]],["impl RefUnwindSafe for Static",1,["syn::token::Static"]],["impl RefUnwindSafe for Struct",1,["syn::token::Struct"]],["impl RefUnwindSafe for Super",1,["syn::token::Super"]],["impl RefUnwindSafe for Tilde",1,["syn::token::Tilde"]],["impl RefUnwindSafe for Trait",1,["syn::token::Trait"]],["impl RefUnwindSafe for Try",1,["syn::token::Try"]],["impl RefUnwindSafe for Type",1,["syn::token::Type"]],["impl RefUnwindSafe for Typeof",1,["syn::token::Typeof"]],["impl RefUnwindSafe for Underscore",1,["syn::token::Underscore"]],["impl RefUnwindSafe for Union",1,["syn::token::Union"]],["impl RefUnwindSafe for Unsafe",1,["syn::token::Unsafe"]],["impl RefUnwindSafe for Unsized",1,["syn::token::Unsized"]],["impl RefUnwindSafe for Use",1,["syn::token::Use"]],["impl RefUnwindSafe for Virtual",1,["syn::token::Virtual"]],["impl RefUnwindSafe for Where",1,["syn::token::Where"]],["impl RefUnwindSafe for While",1,["syn::token::While"]],["impl RefUnwindSafe for Yield",1,["syn::token::Yield"]],["impl<'a> !RefUnwindSafe for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> RefUnwindSafe for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> RefUnwindSafe for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> RefUnwindSafe for ParseBuffer<'a>"],["impl<'a> RefUnwindSafe for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> RefUnwindSafe for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> RefUnwindSafe for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !RefUnwindSafe for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !RefUnwindSafe for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> RefUnwindSafe for Pairs<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pairs"]],["impl<'a, T, P> RefUnwindSafe for PairsMut<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::PairsMut"]],["impl<'c, 'a> RefUnwindSafe for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> RefUnwindSafe for IntoIter<T>
    where\n T: RefUnwindSafe,
    ",1,["syn::punctuated::IntoIter"]],["impl<T, P> RefUnwindSafe for Pair<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> RefUnwindSafe for IntoPairs<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::IntoPairs"]],["impl<T, P> RefUnwindSafe for Punctuated<T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl RefUnwindSafe for AddBounds",1,["synstructure::AddBounds"]],["impl RefUnwindSafe for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> RefUnwindSafe for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> RefUnwindSafe for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> RefUnwindSafe for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> RefUnwindSafe for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index acce2a2..04f311f 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["delog",[["impl UnwindSafe for U1",1,["delog::hex::U1"]],["impl UnwindSafe for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl UnwindSafe for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl UnwindSafe for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> UnwindSafe for HexStr<'a, T, U, S>
    where\n T: RefUnwindSafe + ?Sized,\n U: UnwindSafe,\n S: UnwindSafe,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl UnwindSafe for Class",1,["flexiber::tag::Class"]],["impl UnwindSafe for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl UnwindSafe for Error",1,["flexiber::error::Error"]],["impl UnwindSafe for Length",1,["flexiber::length::Length"]],["impl UnwindSafe for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl UnwindSafe for Tag",1,["flexiber::tag::Tag"]],["impl<'a> !UnwindSafe for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> UnwindSafe for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> UnwindSafe for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> UnwindSafe for TaggedValue<V, T>
    where\n T: UnwindSafe,\n V: UnwindSafe,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl UnwindSafe for Level",1,["log::Level"]],["impl UnwindSafe for LevelFilter",1,["log::LevelFilter"]],["impl UnwindSafe for ParseLevelError",1,["log::ParseLevelError"]],["impl UnwindSafe for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> UnwindSafe for Metadata<'a>",1,["log::Metadata"]],["impl<'a> UnwindSafe for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> UnwindSafe for Record<'a>",1,["log::Record"]],["impl<'a> UnwindSafe for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl UnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl UnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl UnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl UnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl UnwindSafe for Group",1,["proc_macro2::Group"]],["impl UnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl UnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl UnwindSafe for Literal",1,["proc_macro2::Literal"]],["impl UnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl UnwindSafe for Span",1,["proc_macro2::Span"]],["impl UnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl UnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl UnwindSafe for AttrStyle",1,["syn::attr::AttrStyle"]],["impl UnwindSafe for BinOp",1,["syn::op::BinOp"]],["impl UnwindSafe for Data",1,["syn::derive::Data"]],["impl UnwindSafe for Expr",1,["syn::expr::Expr"]],["impl UnwindSafe for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl UnwindSafe for Fields",1,["syn::data::Fields"]],["impl UnwindSafe for GenericArgument",1,["syn::path::GenericArgument"]],["impl UnwindSafe for GenericParam",1,["syn::generics::GenericParam"]],["impl UnwindSafe for Lit",1,["syn::lit::Lit"]],["impl UnwindSafe for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl UnwindSafe for Member",1,["syn::expr::Member"]],["impl UnwindSafe for Meta",1,["syn::attr::Meta"]],["impl UnwindSafe for PathArguments",1,["syn::path::PathArguments"]],["impl UnwindSafe for ReturnType",1,["syn::ty::ReturnType"]],["impl UnwindSafe for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl UnwindSafe for Type",1,["syn::ty::Type"]],["impl UnwindSafe for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl UnwindSafe for UnOp",1,["syn::op::UnOp"]],["impl UnwindSafe for Visibility",1,["syn::restriction::Visibility"]],["impl UnwindSafe for WherePredicate",1,["syn::generics::WherePredicate"]],["impl UnwindSafe for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl UnwindSafe for End",1,["syn::lookahead::End"]],["impl UnwindSafe for Error",1,["syn::error::Error"]],["impl UnwindSafe for Nothing",1,["syn::parse::Nothing"]],["impl UnwindSafe for Abi",1,["syn::ty::Abi"]],["impl UnwindSafe for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl UnwindSafe for AssocConst",1,["syn::path::AssocConst"]],["impl UnwindSafe for AssocType",1,["syn::path::AssocType"]],["impl UnwindSafe for Attribute",1,["syn::attr::Attribute"]],["impl UnwindSafe for BareFnArg",1,["syn::ty::BareFnArg"]],["impl UnwindSafe for BareVariadic",1,["syn::ty::BareVariadic"]],["impl UnwindSafe for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl UnwindSafe for ConstParam",1,["syn::generics::ConstParam"]],["impl UnwindSafe for Constraint",1,["syn::path::Constraint"]],["impl UnwindSafe for DataEnum",1,["syn::derive::DataEnum"]],["impl UnwindSafe for DataStruct",1,["syn::derive::DataStruct"]],["impl UnwindSafe for DataUnion",1,["syn::derive::DataUnion"]],["impl UnwindSafe for DeriveInput",1,["syn::derive::DeriveInput"]],["impl UnwindSafe for ExprArray",1,["syn::expr::ExprArray"]],["impl UnwindSafe for ExprAssign",1,["syn::expr::ExprAssign"]],["impl UnwindSafe for ExprAsync",1,["syn::expr::ExprAsync"]],["impl UnwindSafe for ExprAwait",1,["syn::expr::ExprAwait"]],["impl UnwindSafe for ExprBinary",1,["syn::expr::ExprBinary"]],["impl UnwindSafe for ExprBlock",1,["syn::expr::ExprBlock"]],["impl UnwindSafe for ExprBreak",1,["syn::expr::ExprBreak"]],["impl UnwindSafe for ExprCall",1,["syn::expr::ExprCall"]],["impl UnwindSafe for ExprCast",1,["syn::expr::ExprCast"]],["impl UnwindSafe for ExprClosure",1,["syn::expr::ExprClosure"]],["impl UnwindSafe for ExprConst",1,["syn::expr::ExprConst"]],["impl UnwindSafe for ExprContinue",1,["syn::expr::ExprContinue"]],["impl UnwindSafe for ExprField",1,["syn::expr::ExprField"]],["impl UnwindSafe for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl UnwindSafe for ExprGroup",1,["syn::expr::ExprGroup"]],["impl UnwindSafe for ExprIf",1,["syn::expr::ExprIf"]],["impl UnwindSafe for ExprIndex",1,["syn::expr::ExprIndex"]],["impl UnwindSafe for ExprInfer",1,["syn::expr::ExprInfer"]],["impl UnwindSafe for ExprLet",1,["syn::expr::ExprLet"]],["impl UnwindSafe for ExprLit",1,["syn::expr::ExprLit"]],["impl UnwindSafe for ExprLoop",1,["syn::expr::ExprLoop"]],["impl UnwindSafe for ExprMacro",1,["syn::expr::ExprMacro"]],["impl UnwindSafe for ExprMatch",1,["syn::expr::ExprMatch"]],["impl UnwindSafe for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl UnwindSafe for ExprParen",1,["syn::expr::ExprParen"]],["impl UnwindSafe for ExprPath",1,["syn::expr::ExprPath"]],["impl UnwindSafe for ExprRange",1,["syn::expr::ExprRange"]],["impl UnwindSafe for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl UnwindSafe for ExprReference",1,["syn::expr::ExprReference"]],["impl UnwindSafe for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl UnwindSafe for ExprReturn",1,["syn::expr::ExprReturn"]],["impl UnwindSafe for ExprStruct",1,["syn::expr::ExprStruct"]],["impl UnwindSafe for ExprTry",1,["syn::expr::ExprTry"]],["impl UnwindSafe for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl UnwindSafe for ExprTuple",1,["syn::expr::ExprTuple"]],["impl UnwindSafe for ExprUnary",1,["syn::expr::ExprUnary"]],["impl UnwindSafe for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl UnwindSafe for ExprWhile",1,["syn::expr::ExprWhile"]],["impl UnwindSafe for ExprYield",1,["syn::expr::ExprYield"]],["impl UnwindSafe for Field",1,["syn::data::Field"]],["impl UnwindSafe for FieldValue",1,["syn::expr::FieldValue"]],["impl UnwindSafe for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl UnwindSafe for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl UnwindSafe for Generics",1,["syn::generics::Generics"]],["impl UnwindSafe for Index",1,["syn::expr::Index"]],["impl UnwindSafe for Lifetime",1,["syn::lifetime::Lifetime"]],["impl UnwindSafe for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl UnwindSafe for LitBool",1,["syn::lit::LitBool"]],["impl UnwindSafe for LitByte",1,["syn::lit::LitByte"]],["impl UnwindSafe for LitByteStr",1,["syn::lit::LitByteStr"]],["impl UnwindSafe for LitCStr",1,["syn::lit::LitCStr"]],["impl UnwindSafe for LitChar",1,["syn::lit::LitChar"]],["impl UnwindSafe for LitFloat",1,["syn::lit::LitFloat"]],["impl UnwindSafe for LitInt",1,["syn::lit::LitInt"]],["impl UnwindSafe for LitStr",1,["syn::lit::LitStr"]],["impl UnwindSafe for Macro",1,["syn::mac::Macro"]],["impl UnwindSafe for MetaList",1,["syn::attr::MetaList"]],["impl UnwindSafe for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl UnwindSafe for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl UnwindSafe for Path",1,["syn::path::Path"]],["impl UnwindSafe for PathSegment",1,["syn::path::PathSegment"]],["impl UnwindSafe for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl UnwindSafe for PredicateType",1,["syn::generics::PredicateType"]],["impl UnwindSafe for QSelf",1,["syn::path::QSelf"]],["impl UnwindSafe for TraitBound",1,["syn::generics::TraitBound"]],["impl UnwindSafe for TypeArray",1,["syn::ty::TypeArray"]],["impl UnwindSafe for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl UnwindSafe for TypeGroup",1,["syn::ty::TypeGroup"]],["impl UnwindSafe for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl UnwindSafe for TypeInfer",1,["syn::ty::TypeInfer"]],["impl UnwindSafe for TypeMacro",1,["syn::ty::TypeMacro"]],["impl UnwindSafe for TypeNever",1,["syn::ty::TypeNever"]],["impl UnwindSafe for TypeParam",1,["syn::generics::TypeParam"]],["impl UnwindSafe for TypeParen",1,["syn::ty::TypeParen"]],["impl UnwindSafe for TypePath",1,["syn::ty::TypePath"]],["impl UnwindSafe for TypePtr",1,["syn::ty::TypePtr"]],["impl UnwindSafe for TypeReference",1,["syn::ty::TypeReference"]],["impl UnwindSafe for TypeSlice",1,["syn::ty::TypeSlice"]],["impl UnwindSafe for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl UnwindSafe for TypeTuple",1,["syn::ty::TypeTuple"]],["impl UnwindSafe for Variant",1,["syn::data::Variant"]],["impl UnwindSafe for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl UnwindSafe for WhereClause",1,["syn::generics::WhereClause"]],["impl UnwindSafe for Abstract",1,["syn::token::Abstract"]],["impl UnwindSafe for And",1,["syn::token::And"]],["impl UnwindSafe for AndAnd",1,["syn::token::AndAnd"]],["impl UnwindSafe for AndEq",1,["syn::token::AndEq"]],["impl UnwindSafe for As",1,["syn::token::As"]],["impl UnwindSafe for Async",1,["syn::token::Async"]],["impl UnwindSafe for At",1,["syn::token::At"]],["impl UnwindSafe for Auto",1,["syn::token::Auto"]],["impl UnwindSafe for Await",1,["syn::token::Await"]],["impl UnwindSafe for Become",1,["syn::token::Become"]],["impl UnwindSafe for Box",1,["syn::token::Box"]],["impl UnwindSafe for Brace",1,["syn::token::Brace"]],["impl UnwindSafe for Bracket",1,["syn::token::Bracket"]],["impl UnwindSafe for Break",1,["syn::token::Break"]],["impl UnwindSafe for Caret",1,["syn::token::Caret"]],["impl UnwindSafe for CaretEq",1,["syn::token::CaretEq"]],["impl UnwindSafe for Colon",1,["syn::token::Colon"]],["impl UnwindSafe for Comma",1,["syn::token::Comma"]],["impl UnwindSafe for Const",1,["syn::token::Const"]],["impl UnwindSafe for Continue",1,["syn::token::Continue"]],["impl UnwindSafe for Crate",1,["syn::token::Crate"]],["impl UnwindSafe for Default",1,["syn::token::Default"]],["impl UnwindSafe for Do",1,["syn::token::Do"]],["impl UnwindSafe for Dollar",1,["syn::token::Dollar"]],["impl UnwindSafe for Dot",1,["syn::token::Dot"]],["impl UnwindSafe for DotDot",1,["syn::token::DotDot"]],["impl UnwindSafe for DotDotDot",1,["syn::token::DotDotDot"]],["impl UnwindSafe for DotDotEq",1,["syn::token::DotDotEq"]],["impl UnwindSafe for Dyn",1,["syn::token::Dyn"]],["impl UnwindSafe for Else",1,["syn::token::Else"]],["impl UnwindSafe for Enum",1,["syn::token::Enum"]],["impl UnwindSafe for Eq",1,["syn::token::Eq"]],["impl UnwindSafe for EqEq",1,["syn::token::EqEq"]],["impl UnwindSafe for Extern",1,["syn::token::Extern"]],["impl UnwindSafe for FatArrow",1,["syn::token::FatArrow"]],["impl UnwindSafe for Final",1,["syn::token::Final"]],["impl UnwindSafe for Fn",1,["syn::token::Fn"]],["impl UnwindSafe for For",1,["syn::token::For"]],["impl UnwindSafe for Ge",1,["syn::token::Ge"]],["impl UnwindSafe for Group",1,["syn::token::Group"]],["impl UnwindSafe for Gt",1,["syn::token::Gt"]],["impl UnwindSafe for If",1,["syn::token::If"]],["impl UnwindSafe for Impl",1,["syn::token::Impl"]],["impl UnwindSafe for In",1,["syn::token::In"]],["impl UnwindSafe for LArrow",1,["syn::token::LArrow"]],["impl UnwindSafe for Le",1,["syn::token::Le"]],["impl UnwindSafe for Let",1,["syn::token::Let"]],["impl UnwindSafe for Loop",1,["syn::token::Loop"]],["impl UnwindSafe for Lt",1,["syn::token::Lt"]],["impl UnwindSafe for Macro",1,["syn::token::Macro"]],["impl UnwindSafe for Match",1,["syn::token::Match"]],["impl UnwindSafe for Minus",1,["syn::token::Minus"]],["impl UnwindSafe for MinusEq",1,["syn::token::MinusEq"]],["impl UnwindSafe for Mod",1,["syn::token::Mod"]],["impl UnwindSafe for Move",1,["syn::token::Move"]],["impl UnwindSafe for Mut",1,["syn::token::Mut"]],["impl UnwindSafe for Ne",1,["syn::token::Ne"]],["impl UnwindSafe for Not",1,["syn::token::Not"]],["impl UnwindSafe for Or",1,["syn::token::Or"]],["impl UnwindSafe for OrEq",1,["syn::token::OrEq"]],["impl UnwindSafe for OrOr",1,["syn::token::OrOr"]],["impl UnwindSafe for Override",1,["syn::token::Override"]],["impl UnwindSafe for Paren",1,["syn::token::Paren"]],["impl UnwindSafe for PathSep",1,["syn::token::PathSep"]],["impl UnwindSafe for Percent",1,["syn::token::Percent"]],["impl UnwindSafe for PercentEq",1,["syn::token::PercentEq"]],["impl UnwindSafe for Plus",1,["syn::token::Plus"]],["impl UnwindSafe for PlusEq",1,["syn::token::PlusEq"]],["impl UnwindSafe for Pound",1,["syn::token::Pound"]],["impl UnwindSafe for Priv",1,["syn::token::Priv"]],["impl UnwindSafe for Pub",1,["syn::token::Pub"]],["impl UnwindSafe for Question",1,["syn::token::Question"]],["impl UnwindSafe for RArrow",1,["syn::token::RArrow"]],["impl UnwindSafe for Raw",1,["syn::token::Raw"]],["impl UnwindSafe for Ref",1,["syn::token::Ref"]],["impl UnwindSafe for Return",1,["syn::token::Return"]],["impl UnwindSafe for SelfType",1,["syn::token::SelfType"]],["impl UnwindSafe for SelfValue",1,["syn::token::SelfValue"]],["impl UnwindSafe for Semi",1,["syn::token::Semi"]],["impl UnwindSafe for Shl",1,["syn::token::Shl"]],["impl UnwindSafe for ShlEq",1,["syn::token::ShlEq"]],["impl UnwindSafe for Shr",1,["syn::token::Shr"]],["impl UnwindSafe for ShrEq",1,["syn::token::ShrEq"]],["impl UnwindSafe for Slash",1,["syn::token::Slash"]],["impl UnwindSafe for SlashEq",1,["syn::token::SlashEq"]],["impl UnwindSafe for Star",1,["syn::token::Star"]],["impl UnwindSafe for StarEq",1,["syn::token::StarEq"]],["impl UnwindSafe for Static",1,["syn::token::Static"]],["impl UnwindSafe for Struct",1,["syn::token::Struct"]],["impl UnwindSafe for Super",1,["syn::token::Super"]],["impl UnwindSafe for Tilde",1,["syn::token::Tilde"]],["impl UnwindSafe for Trait",1,["syn::token::Trait"]],["impl UnwindSafe for Try",1,["syn::token::Try"]],["impl UnwindSafe for Type",1,["syn::token::Type"]],["impl UnwindSafe for Typeof",1,["syn::token::Typeof"]],["impl UnwindSafe for Underscore",1,["syn::token::Underscore"]],["impl UnwindSafe for Union",1,["syn::token::Union"]],["impl UnwindSafe for Unsafe",1,["syn::token::Unsafe"]],["impl UnwindSafe for Unsized",1,["syn::token::Unsized"]],["impl UnwindSafe for Use",1,["syn::token::Use"]],["impl UnwindSafe for Virtual",1,["syn::token::Virtual"]],["impl UnwindSafe for Where",1,["syn::token::Where"]],["impl UnwindSafe for While",1,["syn::token::While"]],["impl UnwindSafe for Yield",1,["syn::token::Yield"]],["impl<'a> UnwindSafe for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> UnwindSafe for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> UnwindSafe for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> UnwindSafe for ParseBuffer<'a>"],["impl<'a> UnwindSafe for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> UnwindSafe for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> UnwindSafe for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !UnwindSafe for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !UnwindSafe for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> !UnwindSafe for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'a, T, P> UnwindSafe for Pairs<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pairs"]],["impl<'c, 'a> UnwindSafe for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> UnwindSafe for IntoIter<T>",1,["syn::punctuated::IntoIter"]],["impl<T, P> UnwindSafe for Pair<T, P>
    where\n T: UnwindSafe,\n P: UnwindSafe,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> UnwindSafe for IntoPairs<T, P>",1,["syn::punctuated::IntoPairs"]],["impl<T, P> UnwindSafe for Punctuated<T, P>
    where\n T: UnwindSafe,\n P: UnwindSafe,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl UnwindSafe for AddBounds",1,["synstructure::AddBounds"]],["impl UnwindSafe for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> UnwindSafe for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> UnwindSafe for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> UnwindSafe for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> UnwindSafe for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); + var implementors = Object.fromEntries([["delog",[["impl UnwindSafe for U1",1,["delog::hex::U1"]],["impl UnwindSafe for DefaultRenderer",1,["delog::render::DefaultRenderer"]],["impl UnwindSafe for RipgrepRenderer",1,["delog::render::RipgrepRenderer"]],["impl UnwindSafe for Statistics",1,["delog::logger::Statistics"]],["impl<'a, T, U, S> UnwindSafe for HexStr<'a, T, U, S>
    where\n T: RefUnwindSafe + ?Sized,\n U: UnwindSafe,\n S: UnwindSafe,
    ",1,["delog::hex::HexStr"]]]],["flexiber",[["impl UnwindSafe for Class",1,["flexiber::tag::Class"]],["impl UnwindSafe for ErrorKind",1,["flexiber::error::ErrorKind"]],["impl UnwindSafe for Error",1,["flexiber::error::Error"]],["impl UnwindSafe for Length",1,["flexiber::length::Length"]],["impl UnwindSafe for SimpleTag",1,["flexiber::simpletag::SimpleTag"]],["impl UnwindSafe for Tag",1,["flexiber::tag::Tag"]],["impl<'a> !UnwindSafe for Encoder<'a>",1,["flexiber::encoder::Encoder"]],["impl<'a> UnwindSafe for Decoder<'a>",1,["flexiber::decoder::Decoder"]],["impl<'a> UnwindSafe for Slice<'a>",1,["flexiber::slice::Slice"]],["impl<V, T> UnwindSafe for TaggedValue<V, T>
    where\n T: UnwindSafe,\n V: UnwindSafe,
    ",1,["flexiber::tagged::TaggedValue"]]]],["log",[["impl UnwindSafe for Level",1,["log::Level"]],["impl UnwindSafe for LevelFilter",1,["log::LevelFilter"]],["impl UnwindSafe for ParseLevelError",1,["log::ParseLevelError"]],["impl UnwindSafe for SetLoggerError",1,["log::SetLoggerError"]],["impl<'a> UnwindSafe for Metadata<'a>",1,["log::Metadata"]],["impl<'a> UnwindSafe for MetadataBuilder<'a>",1,["log::MetadataBuilder"]],["impl<'a> UnwindSafe for Record<'a>",1,["log::Record"]],["impl<'a> UnwindSafe for RecordBuilder<'a>",1,["log::RecordBuilder"]]]],["proc_macro2",[["impl UnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl UnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl UnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl UnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl UnwindSafe for Group",1,["proc_macro2::Group"]],["impl UnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl UnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl UnwindSafe for Literal",1,["proc_macro2::Literal"]],["impl UnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl UnwindSafe for Span",1,["proc_macro2::Span"]],["impl UnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl UnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]]]],["syn",[["impl UnwindSafe for AttrStyle",1,["syn::attr::AttrStyle"]],["impl UnwindSafe for BinOp",1,["syn::op::BinOp"]],["impl UnwindSafe for Data",1,["syn::derive::Data"]],["impl UnwindSafe for Expr",1,["syn::expr::Expr"]],["impl UnwindSafe for FieldMutability",1,["syn::restriction::FieldMutability"]],["impl UnwindSafe for Fields",1,["syn::data::Fields"]],["impl UnwindSafe for GenericArgument",1,["syn::path::GenericArgument"]],["impl UnwindSafe for GenericParam",1,["syn::generics::GenericParam"]],["impl UnwindSafe for Lit",1,["syn::lit::Lit"]],["impl UnwindSafe for MacroDelimiter",1,["syn::mac::MacroDelimiter"]],["impl UnwindSafe for Member",1,["syn::expr::Member"]],["impl UnwindSafe for Meta",1,["syn::attr::Meta"]],["impl UnwindSafe for PathArguments",1,["syn::path::PathArguments"]],["impl UnwindSafe for ReturnType",1,["syn::ty::ReturnType"]],["impl UnwindSafe for TraitBoundModifier",1,["syn::generics::TraitBoundModifier"]],["impl UnwindSafe for Type",1,["syn::ty::Type"]],["impl UnwindSafe for TypeParamBound",1,["syn::generics::TypeParamBound"]],["impl UnwindSafe for UnOp",1,["syn::op::UnOp"]],["impl UnwindSafe for Visibility",1,["syn::restriction::Visibility"]],["impl UnwindSafe for WherePredicate",1,["syn::generics::WherePredicate"]],["impl UnwindSafe for TokenBuffer",1,["syn::buffer::TokenBuffer"]],["impl UnwindSafe for End",1,["syn::lookahead::End"]],["impl UnwindSafe for Error",1,["syn::error::Error"]],["impl UnwindSafe for Nothing",1,["syn::parse::Nothing"]],["impl UnwindSafe for Abi",1,["syn::ty::Abi"]],["impl UnwindSafe for AngleBracketedGenericArguments",1,["syn::path::AngleBracketedGenericArguments"]],["impl UnwindSafe for AssocConst",1,["syn::path::AssocConst"]],["impl UnwindSafe for AssocType",1,["syn::path::AssocType"]],["impl UnwindSafe for Attribute",1,["syn::attr::Attribute"]],["impl UnwindSafe for BareFnArg",1,["syn::ty::BareFnArg"]],["impl UnwindSafe for BareVariadic",1,["syn::ty::BareVariadic"]],["impl UnwindSafe for BoundLifetimes",1,["syn::generics::BoundLifetimes"]],["impl UnwindSafe for ConstParam",1,["syn::generics::ConstParam"]],["impl UnwindSafe for Constraint",1,["syn::path::Constraint"]],["impl UnwindSafe for DataEnum",1,["syn::derive::DataEnum"]],["impl UnwindSafe for DataStruct",1,["syn::derive::DataStruct"]],["impl UnwindSafe for DataUnion",1,["syn::derive::DataUnion"]],["impl UnwindSafe for DeriveInput",1,["syn::derive::DeriveInput"]],["impl UnwindSafe for ExprArray",1,["syn::expr::ExprArray"]],["impl UnwindSafe for ExprAssign",1,["syn::expr::ExprAssign"]],["impl UnwindSafe for ExprAsync",1,["syn::expr::ExprAsync"]],["impl UnwindSafe for ExprAwait",1,["syn::expr::ExprAwait"]],["impl UnwindSafe for ExprBinary",1,["syn::expr::ExprBinary"]],["impl UnwindSafe for ExprBlock",1,["syn::expr::ExprBlock"]],["impl UnwindSafe for ExprBreak",1,["syn::expr::ExprBreak"]],["impl UnwindSafe for ExprCall",1,["syn::expr::ExprCall"]],["impl UnwindSafe for ExprCast",1,["syn::expr::ExprCast"]],["impl UnwindSafe for ExprClosure",1,["syn::expr::ExprClosure"]],["impl UnwindSafe for ExprConst",1,["syn::expr::ExprConst"]],["impl UnwindSafe for ExprContinue",1,["syn::expr::ExprContinue"]],["impl UnwindSafe for ExprField",1,["syn::expr::ExprField"]],["impl UnwindSafe for ExprForLoop",1,["syn::expr::ExprForLoop"]],["impl UnwindSafe for ExprGroup",1,["syn::expr::ExprGroup"]],["impl UnwindSafe for ExprIf",1,["syn::expr::ExprIf"]],["impl UnwindSafe for ExprIndex",1,["syn::expr::ExprIndex"]],["impl UnwindSafe for ExprInfer",1,["syn::expr::ExprInfer"]],["impl UnwindSafe for ExprLet",1,["syn::expr::ExprLet"]],["impl UnwindSafe for ExprLit",1,["syn::expr::ExprLit"]],["impl UnwindSafe for ExprLoop",1,["syn::expr::ExprLoop"]],["impl UnwindSafe for ExprMacro",1,["syn::expr::ExprMacro"]],["impl UnwindSafe for ExprMatch",1,["syn::expr::ExprMatch"]],["impl UnwindSafe for ExprMethodCall",1,["syn::expr::ExprMethodCall"]],["impl UnwindSafe for ExprParen",1,["syn::expr::ExprParen"]],["impl UnwindSafe for ExprPath",1,["syn::expr::ExprPath"]],["impl UnwindSafe for ExprRange",1,["syn::expr::ExprRange"]],["impl UnwindSafe for ExprRawAddr",1,["syn::expr::ExprRawAddr"]],["impl UnwindSafe for ExprReference",1,["syn::expr::ExprReference"]],["impl UnwindSafe for ExprRepeat",1,["syn::expr::ExprRepeat"]],["impl UnwindSafe for ExprReturn",1,["syn::expr::ExprReturn"]],["impl UnwindSafe for ExprStruct",1,["syn::expr::ExprStruct"]],["impl UnwindSafe for ExprTry",1,["syn::expr::ExprTry"]],["impl UnwindSafe for ExprTryBlock",1,["syn::expr::ExprTryBlock"]],["impl UnwindSafe for ExprTuple",1,["syn::expr::ExprTuple"]],["impl UnwindSafe for ExprUnary",1,["syn::expr::ExprUnary"]],["impl UnwindSafe for ExprUnsafe",1,["syn::expr::ExprUnsafe"]],["impl UnwindSafe for ExprWhile",1,["syn::expr::ExprWhile"]],["impl UnwindSafe for ExprYield",1,["syn::expr::ExprYield"]],["impl UnwindSafe for Field",1,["syn::data::Field"]],["impl UnwindSafe for FieldValue",1,["syn::expr::FieldValue"]],["impl UnwindSafe for FieldsNamed",1,["syn::data::FieldsNamed"]],["impl UnwindSafe for FieldsUnnamed",1,["syn::data::FieldsUnnamed"]],["impl UnwindSafe for Generics",1,["syn::generics::Generics"]],["impl UnwindSafe for Index",1,["syn::expr::Index"]],["impl UnwindSafe for Lifetime",1,["syn::lifetime::Lifetime"]],["impl UnwindSafe for LifetimeParam",1,["syn::generics::LifetimeParam"]],["impl UnwindSafe for LitBool",1,["syn::lit::LitBool"]],["impl UnwindSafe for LitByte",1,["syn::lit::LitByte"]],["impl UnwindSafe for LitByteStr",1,["syn::lit::LitByteStr"]],["impl UnwindSafe for LitCStr",1,["syn::lit::LitCStr"]],["impl UnwindSafe for LitChar",1,["syn::lit::LitChar"]],["impl UnwindSafe for LitFloat",1,["syn::lit::LitFloat"]],["impl UnwindSafe for LitInt",1,["syn::lit::LitInt"]],["impl UnwindSafe for LitStr",1,["syn::lit::LitStr"]],["impl UnwindSafe for Macro",1,["syn::mac::Macro"]],["impl UnwindSafe for MetaList",1,["syn::attr::MetaList"]],["impl UnwindSafe for MetaNameValue",1,["syn::attr::MetaNameValue"]],["impl UnwindSafe for ParenthesizedGenericArguments",1,["syn::path::ParenthesizedGenericArguments"]],["impl UnwindSafe for Path",1,["syn::path::Path"]],["impl UnwindSafe for PathSegment",1,["syn::path::PathSegment"]],["impl UnwindSafe for PredicateLifetime",1,["syn::generics::PredicateLifetime"]],["impl UnwindSafe for PredicateType",1,["syn::generics::PredicateType"]],["impl UnwindSafe for QSelf",1,["syn::path::QSelf"]],["impl UnwindSafe for TraitBound",1,["syn::generics::TraitBound"]],["impl UnwindSafe for TypeArray",1,["syn::ty::TypeArray"]],["impl UnwindSafe for TypeBareFn",1,["syn::ty::TypeBareFn"]],["impl UnwindSafe for TypeGroup",1,["syn::ty::TypeGroup"]],["impl UnwindSafe for TypeImplTrait",1,["syn::ty::TypeImplTrait"]],["impl UnwindSafe for TypeInfer",1,["syn::ty::TypeInfer"]],["impl UnwindSafe for TypeMacro",1,["syn::ty::TypeMacro"]],["impl UnwindSafe for TypeNever",1,["syn::ty::TypeNever"]],["impl UnwindSafe for TypeParam",1,["syn::generics::TypeParam"]],["impl UnwindSafe for TypeParen",1,["syn::ty::TypeParen"]],["impl UnwindSafe for TypePath",1,["syn::ty::TypePath"]],["impl UnwindSafe for TypePtr",1,["syn::ty::TypePtr"]],["impl UnwindSafe for TypeReference",1,["syn::ty::TypeReference"]],["impl UnwindSafe for TypeSlice",1,["syn::ty::TypeSlice"]],["impl UnwindSafe for TypeTraitObject",1,["syn::ty::TypeTraitObject"]],["impl UnwindSafe for TypeTuple",1,["syn::ty::TypeTuple"]],["impl UnwindSafe for Variant",1,["syn::data::Variant"]],["impl UnwindSafe for VisRestricted",1,["syn::restriction::VisRestricted"]],["impl UnwindSafe for WhereClause",1,["syn::generics::WhereClause"]],["impl UnwindSafe for Abstract",1,["syn::token::Abstract"]],["impl UnwindSafe for And",1,["syn::token::And"]],["impl UnwindSafe for AndAnd",1,["syn::token::AndAnd"]],["impl UnwindSafe for AndEq",1,["syn::token::AndEq"]],["impl UnwindSafe for As",1,["syn::token::As"]],["impl UnwindSafe for Async",1,["syn::token::Async"]],["impl UnwindSafe for At",1,["syn::token::At"]],["impl UnwindSafe for Auto",1,["syn::token::Auto"]],["impl UnwindSafe for Await",1,["syn::token::Await"]],["impl UnwindSafe for Become",1,["syn::token::Become"]],["impl UnwindSafe for Box",1,["syn::token::Box"]],["impl UnwindSafe for Brace",1,["syn::token::Brace"]],["impl UnwindSafe for Bracket",1,["syn::token::Bracket"]],["impl UnwindSafe for Break",1,["syn::token::Break"]],["impl UnwindSafe for Caret",1,["syn::token::Caret"]],["impl UnwindSafe for CaretEq",1,["syn::token::CaretEq"]],["impl UnwindSafe for Colon",1,["syn::token::Colon"]],["impl UnwindSafe for Comma",1,["syn::token::Comma"]],["impl UnwindSafe for Const",1,["syn::token::Const"]],["impl UnwindSafe for Continue",1,["syn::token::Continue"]],["impl UnwindSafe for Crate",1,["syn::token::Crate"]],["impl UnwindSafe for Default",1,["syn::token::Default"]],["impl UnwindSafe for Do",1,["syn::token::Do"]],["impl UnwindSafe for Dollar",1,["syn::token::Dollar"]],["impl UnwindSafe for Dot",1,["syn::token::Dot"]],["impl UnwindSafe for DotDot",1,["syn::token::DotDot"]],["impl UnwindSafe for DotDotDot",1,["syn::token::DotDotDot"]],["impl UnwindSafe for DotDotEq",1,["syn::token::DotDotEq"]],["impl UnwindSafe for Dyn",1,["syn::token::Dyn"]],["impl UnwindSafe for Else",1,["syn::token::Else"]],["impl UnwindSafe for Enum",1,["syn::token::Enum"]],["impl UnwindSafe for Eq",1,["syn::token::Eq"]],["impl UnwindSafe for EqEq",1,["syn::token::EqEq"]],["impl UnwindSafe for Extern",1,["syn::token::Extern"]],["impl UnwindSafe for FatArrow",1,["syn::token::FatArrow"]],["impl UnwindSafe for Final",1,["syn::token::Final"]],["impl UnwindSafe for Fn",1,["syn::token::Fn"]],["impl UnwindSafe for For",1,["syn::token::For"]],["impl UnwindSafe for Ge",1,["syn::token::Ge"]],["impl UnwindSafe for Group",1,["syn::token::Group"]],["impl UnwindSafe for Gt",1,["syn::token::Gt"]],["impl UnwindSafe for If",1,["syn::token::If"]],["impl UnwindSafe for Impl",1,["syn::token::Impl"]],["impl UnwindSafe for In",1,["syn::token::In"]],["impl UnwindSafe for LArrow",1,["syn::token::LArrow"]],["impl UnwindSafe for Le",1,["syn::token::Le"]],["impl UnwindSafe for Let",1,["syn::token::Let"]],["impl UnwindSafe for Loop",1,["syn::token::Loop"]],["impl UnwindSafe for Lt",1,["syn::token::Lt"]],["impl UnwindSafe for Macro",1,["syn::token::Macro"]],["impl UnwindSafe for Match",1,["syn::token::Match"]],["impl UnwindSafe for Minus",1,["syn::token::Minus"]],["impl UnwindSafe for MinusEq",1,["syn::token::MinusEq"]],["impl UnwindSafe for Mod",1,["syn::token::Mod"]],["impl UnwindSafe for Move",1,["syn::token::Move"]],["impl UnwindSafe for Mut",1,["syn::token::Mut"]],["impl UnwindSafe for Ne",1,["syn::token::Ne"]],["impl UnwindSafe for Not",1,["syn::token::Not"]],["impl UnwindSafe for Or",1,["syn::token::Or"]],["impl UnwindSafe for OrEq",1,["syn::token::OrEq"]],["impl UnwindSafe for OrOr",1,["syn::token::OrOr"]],["impl UnwindSafe for Override",1,["syn::token::Override"]],["impl UnwindSafe for Paren",1,["syn::token::Paren"]],["impl UnwindSafe for PathSep",1,["syn::token::PathSep"]],["impl UnwindSafe for Percent",1,["syn::token::Percent"]],["impl UnwindSafe for PercentEq",1,["syn::token::PercentEq"]],["impl UnwindSafe for Plus",1,["syn::token::Plus"]],["impl UnwindSafe for PlusEq",1,["syn::token::PlusEq"]],["impl UnwindSafe for Pound",1,["syn::token::Pound"]],["impl UnwindSafe for Priv",1,["syn::token::Priv"]],["impl UnwindSafe for Pub",1,["syn::token::Pub"]],["impl UnwindSafe for Question",1,["syn::token::Question"]],["impl UnwindSafe for RArrow",1,["syn::token::RArrow"]],["impl UnwindSafe for Raw",1,["syn::token::Raw"]],["impl UnwindSafe for Ref",1,["syn::token::Ref"]],["impl UnwindSafe for Return",1,["syn::token::Return"]],["impl UnwindSafe for SelfType",1,["syn::token::SelfType"]],["impl UnwindSafe for SelfValue",1,["syn::token::SelfValue"]],["impl UnwindSafe for Semi",1,["syn::token::Semi"]],["impl UnwindSafe for Shl",1,["syn::token::Shl"]],["impl UnwindSafe for ShlEq",1,["syn::token::ShlEq"]],["impl UnwindSafe for Shr",1,["syn::token::Shr"]],["impl UnwindSafe for ShrEq",1,["syn::token::ShrEq"]],["impl UnwindSafe for Slash",1,["syn::token::Slash"]],["impl UnwindSafe for SlashEq",1,["syn::token::SlashEq"]],["impl UnwindSafe for Star",1,["syn::token::Star"]],["impl UnwindSafe for StarEq",1,["syn::token::StarEq"]],["impl UnwindSafe for Static",1,["syn::token::Static"]],["impl UnwindSafe for Struct",1,["syn::token::Struct"]],["impl UnwindSafe for Super",1,["syn::token::Super"]],["impl UnwindSafe for Tilde",1,["syn::token::Tilde"]],["impl UnwindSafe for Trait",1,["syn::token::Trait"]],["impl UnwindSafe for Try",1,["syn::token::Try"]],["impl UnwindSafe for Type",1,["syn::token::Type"]],["impl UnwindSafe for Typeof",1,["syn::token::Typeof"]],["impl UnwindSafe for Underscore",1,["syn::token::Underscore"]],["impl UnwindSafe for Union",1,["syn::token::Union"]],["impl UnwindSafe for Unsafe",1,["syn::token::Unsafe"]],["impl UnwindSafe for Unsized",1,["syn::token::Unsized"]],["impl UnwindSafe for Use",1,["syn::token::Use"]],["impl UnwindSafe for Virtual",1,["syn::token::Virtual"]],["impl UnwindSafe for Where",1,["syn::token::Where"]],["impl UnwindSafe for While",1,["syn::token::While"]],["impl UnwindSafe for Yield",1,["syn::token::Yield"]],["impl<'a> UnwindSafe for Cursor<'a>",1,["syn::buffer::Cursor"]],["impl<'a> UnwindSafe for ParseNestedMeta<'a>",1,["syn::meta::ParseNestedMeta"]],["impl<'a> UnwindSafe for Lookahead1<'a>",1,["syn::lookahead::Lookahead1"]],["impl<'a> UnwindSafe for ParseBuffer<'a>"],["impl<'a> UnwindSafe for ImplGenerics<'a>",1,["syn::generics::ImplGenerics"]],["impl<'a> UnwindSafe for Turbofish<'a>",1,["syn::generics::Turbofish"]],["impl<'a> UnwindSafe for TypeGenerics<'a>",1,["syn::generics::TypeGenerics"]],["impl<'a, T> !UnwindSafe for Iter<'a, T>",1,["syn::punctuated::Iter"]],["impl<'a, T> !UnwindSafe for IterMut<'a, T>",1,["syn::punctuated::IterMut"]],["impl<'a, T, P> !UnwindSafe for PairsMut<'a, T, P>",1,["syn::punctuated::PairsMut"]],["impl<'a, T, P> UnwindSafe for Pairs<'a, T, P>
    where\n T: RefUnwindSafe,\n P: RefUnwindSafe,
    ",1,["syn::punctuated::Pairs"]],["impl<'c, 'a> UnwindSafe for StepCursor<'c, 'a>",1,["syn::parse::StepCursor"]],["impl<T> UnwindSafe for IntoIter<T>",1,["syn::punctuated::IntoIter"]],["impl<T, P> UnwindSafe for Pair<T, P>
    where\n T: UnwindSafe,\n P: UnwindSafe,
    ",1,["syn::punctuated::Pair"]],["impl<T, P> UnwindSafe for IntoPairs<T, P>",1,["syn::punctuated::IntoPairs"]],["impl<T, P> UnwindSafe for Punctuated<T, P>
    where\n T: UnwindSafe,\n P: UnwindSafe,
    ",1,["syn::punctuated::Punctuated"]]]],["synstructure",[["impl UnwindSafe for AddBounds",1,["synstructure::AddBounds"]],["impl UnwindSafe for BindStyle",1,["synstructure::BindStyle"]],["impl<'a> UnwindSafe for BindingInfo<'a>",1,["synstructure::BindingInfo"]],["impl<'a> UnwindSafe for Structure<'a>",1,["synstructure::Structure"]],["impl<'a> UnwindSafe for VariantAst<'a>",1,["synstructure::VariantAst"]],["impl<'a> UnwindSafe for VariantInfo<'a>",1,["synstructure::VariantInfo"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/str/traits/trait.FromStr.js b/trait.impl/core/str/traits/trait.FromStr.js index be7ef90..b502a5e 100644 --- a/trait.impl/core/str/traits/trait.FromStr.js +++ b/trait.impl/core/str/traits/trait.FromStr.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["log",[["impl FromStr for Level"],["impl FromStr for LevelFilter"]]],["proc_macro2",[["impl FromStr for Literal"],["impl FromStr for TokenStream"]]]]); + var implementors = Object.fromEntries([["log",[["impl FromStr for Level"],["impl FromStr for LevelFilter"]]],["proc_macro2",[["impl FromStr for Literal"],["impl FromStr for TokenStream"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/type.impl/core/result/enum.Result.js b/type.impl/core/result/enum.Result.js index b3f31fc..43014d4 100644 --- a/type.impl/core/result/enum.Result.js +++ b/type.impl/core/result/enum.Result.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["flexiber",[["
    1.0.0 · source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","flexiber::error::Result"],["
    1.0.0 · source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","flexiber::error::Result"],["
    source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","flexiber::error::Result"],["
    source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> IntoIterator for Result<T, E>

    source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    source§

    type Item = T

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","flexiber::error::Result"],["
    1.16.0 · source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","flexiber::error::Result"],["
    source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","flexiber::error::Result"],["
    source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"flexiber::error::Result"],["
    source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"flexiber::error::Result"],["
    source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"flexiber::error::Result"],["
    source§

    impl<T, E> Result<Result<T, E>, E>

    source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"flexiber::error::Result"],["
    source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"flexiber::error::Result"],["
    1.16.0 · source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","flexiber::error::Result"],["
    source§

    impl<T, E> Try for Result<T, E>

    source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","flexiber::error::Result"],["
    1.0.0 · source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","flexiber::error::Result"]]],["syn",[["
    1.0.0 · source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","syn::error::Result"],["
    1.0.0 · source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","syn::error::Result"],["
    source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","syn::error::Result"],["
    source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> IntoIterator for Result<T, E>

    source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    source§

    type Item = T

    The type of the elements being iterated over.
    source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","syn::error::Result"],["
    1.16.0 · source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","syn::error::Result"],["
    source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","syn::error::Result"],["
    source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"syn::error::Result"],["
    source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"syn::error::Result"],["
    source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"syn::error::Result"],["
    source§

    impl<T, E> Result<Result<T, E>, E>

    source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"syn::error::Result"],["
    source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"syn::error::Result"],["
    1.16.0 · source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","syn::error::Result"],["
    1.61.0 · source§

    impl<T, E> Termination for Result<T, E>
    where\n T: Termination,\n E: Debug,

    source§

    fn report(self) -> ExitCode

    Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
    ","Termination","syn::error::Result"],["
    source§

    impl<T, E> Try for Result<T, E>

    source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","syn::error::Result"],["
    1.0.0 · source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","syn::error::Result"]]]]); + var type_impls = Object.fromEntries([["flexiber",[["
    1.0.0 · Source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    Source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    Source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","flexiber::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","flexiber::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> IntoIterator for Result<T, E>

    Source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    Source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    Source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    Source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","flexiber::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    Source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","flexiber::error::Result"],["
    Source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    Source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","flexiber::error::Result"],["
    Source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"flexiber::error::Result"],["
    Source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"flexiber::error::Result"],["
    Source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · Source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"flexiber::error::Result"],["
    Source§

    impl<T, E> Result<Result<T, E>, E>

    Source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"flexiber::error::Result"],["
    Source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · Source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · Source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · Source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · Source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · Source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · Source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · Source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · Source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · Source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · Source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · Source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · Source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · Source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · Source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · Source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · Source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · Source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · Source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    Source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    Source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · Source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · Source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · Source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · Source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · Source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · Source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"flexiber::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    Source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","flexiber::error::Result"],["
    Source§

    impl<T, E> Try for Result<T, E>

    Source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    Source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    Source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    Source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","flexiber::error::Result"],["
    1.0.0 · Source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","flexiber::error::Result"]]],["syn",[["
    1.0.0 · Source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    Source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","syn::error::Result"],["
    1.0.0 · Source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    Source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","syn::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","syn::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> IntoIterator for Result<T, E>

    Source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    Source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    Source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    Source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","syn::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    Source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","syn::error::Result"],["
    Source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    Source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","syn::error::Result"],["
    Source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"syn::error::Result"],["
    Source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"syn::error::Result"],["
    Source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · Source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"syn::error::Result"],["
    Source§

    impl<T, E> Result<Result<T, E>, E>

    Source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"syn::error::Result"],["
    Source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · Source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · Source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · Source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · Source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · Source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · Source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · Source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · Source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · Source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · Source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · Source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · Source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · Source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · Source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · Source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · Source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · Source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · Source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    Source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    Source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · Source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · Source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · Source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · Source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · Source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · Source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"syn::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    Source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","syn::error::Result"],["
    1.61.0 · Source§

    impl<T, E> Termination for Result<T, E>
    where\n T: Termination,\n E: Debug,

    Source§

    fn report(self) -> ExitCode

    Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
    ","Termination","syn::error::Result"],["
    Source§

    impl<T, E> Try for Result<T, E>

    Source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    Source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    Source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    Source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","syn::error::Result"],["
    1.0.0 · Source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","syn::error::Result"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/type.impl/flexiber/struct.TaggedValue.js b/type.impl/flexiber/struct.TaggedValue.js index 4fdbdad..5a62dee 100644 --- a/type.impl/flexiber/struct.TaggedValue.js +++ b/type.impl/flexiber/struct.TaggedValue.js @@ -1,5 +1,5 @@ (function() { - var type_impls = Object.fromEntries([["flexiber",[["
    source§

    impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>

    source§

    fn clone(&self) -> TaggedValue<V, T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","flexiber::tagged::TaggedSlice"],["
    source§

    impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","flexiber::tagged::TaggedSlice"],["
    source§

    impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>

    source§

    fn eq(&self, other: &TaggedValue<V, T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","flexiber::tagged::TaggedSlice"],["
    source§

    impl<V, T> TaggedValue<V, T>
    where\n T: Copy,

    source

    pub fn new(tag: T, value: V) -> Self

    source

    pub fn tag(&self) -> T

    ",0,"flexiber::tagged::TaggedSlice"],["
    source§

    impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>

    ","Copy","flexiber::tagged::TaggedSlice"],["
    source§

    impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>

    ","Eq","flexiber::tagged::TaggedSlice"],["
    source§

    impl<V, T> StructuralPartialEq for TaggedValue<V, T>

    ","StructuralPartialEq","flexiber::tagged::TaggedSlice"]]]]); + var type_impls = Object.fromEntries([["flexiber",[["
    Source§

    impl<V: Clone, T: Clone> Clone for TaggedValue<V, T>

    Source§

    fn clone(&self) -> TaggedValue<V, T>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    ","Clone","flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V: Debug, T: Debug> Debug for TaggedValue<V, T>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    ","Debug","flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V: PartialEq, T: PartialEq> PartialEq for TaggedValue<V, T>

    Source§

    fn eq(&self, other: &TaggedValue<V, T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V, T> TaggedValue<V, T>
    where\n T: Copy,

    Source

    pub fn new(tag: T, value: V) -> Self

    Source

    pub fn tag(&self) -> T

    ",0,"flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V: Copy, T: Copy> Copy for TaggedValue<V, T>

    ","Copy","flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V: Eq, T: Eq> Eq for TaggedValue<V, T>

    ","Eq","flexiber::tagged::TaggedSlice"],["
    Source§

    impl<V, T> StructuralPartialEq for TaggedValue<V, T>

    ","StructuralPartialEq","flexiber::tagged::TaggedSlice"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { diff --git a/unicode_ident/all.html b/unicode_ident/all.html index d23cee9..ebc30e8 100644 --- a/unicode_ident/all.html +++ b/unicode_ident/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file +List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file diff --git a/unicode_ident/fn.is_xid_continue.html b/unicode_ident/fn.is_xid_continue.html index 6f08959..bcd18c6 100644 --- a/unicode_ident/fn.is_xid_continue.html +++ b/unicode_ident/fn.is_xid_continue.html @@ -1 +1 @@ -is_xid_continue in unicode_ident - Rust
    unicode_ident

    Function is_xid_continue

    source
    pub fn is_xid_continue(ch: char) -> bool
    \ No newline at end of file +is_xid_continue in unicode_ident - Rust
    unicode_ident

    Function is_xid_continue

    Source
    pub fn is_xid_continue(ch: char) -> bool
    \ No newline at end of file diff --git a/unicode_ident/fn.is_xid_start.html b/unicode_ident/fn.is_xid_start.html index e348999..1fc0f64 100644 --- a/unicode_ident/fn.is_xid_start.html +++ b/unicode_ident/fn.is_xid_start.html @@ -1 +1 @@ -is_xid_start in unicode_ident - Rust
    unicode_ident

    Function is_xid_start

    source
    pub fn is_xid_start(ch: char) -> bool
    \ No newline at end of file +is_xid_start in unicode_ident - Rust
    unicode_ident

    Function is_xid_start

    Source
    pub fn is_xid_start(ch: char) -> bool
    \ No newline at end of file diff --git a/unicode_ident/index.html b/unicode_ident/index.html index 95fb273..33e0ab7 100644 --- a/unicode_ident/index.html +++ b/unicode_ident/index.html @@ -1,4 +1,4 @@ -unicode_ident - Rust

    Crate unicode_ident

    source
    Expand description

    githubcrates-iodocs-rs

    +unicode_ident - Rust

    Crate unicode_ident

    Source
    Expand description

    githubcrates-iodocs-rs


    Implementation of Unicode Standard Annex #31 for determining which char values are valid in programming language identifiers.

    @@ -24,11 +24,11 @@ single char has the XID_Start or XID_Continue Unicode property, comparing across different ratios of ASCII to non-ASCII codepoints in the input data.

    - - - - - + + + + +
    static storage0% nonascii1%10%100% nonascii
    unicode-ident10.4 K0.96 ns0.95 ns1.09 ns1.55 ns
    unicode-xid11.8 K1.88 ns2.14 ns3.48 ns15.63 ns
    ucd-trie10.3 K1.29 ns1.28 ns1.36 ns2.15 ns
    fst144 K55.1 ns54.9 ns53.2 ns28.5 ns
    roaring66.1 K2.78 ns3.09 ns3.37 ns4.70 ns
    unicode-ident10.4 K1.03 ns1.02 ns1.11 ns1.66 ns
    unicode-xid11.8 K2.57 ns2.74 ns3.20 ns9.35 ns
    ucd-trie10.3 K1.27 ns1.27 ns1.41 ns2.53 ns
    fst144 K49.3 ns49.1 ns47.1 ns27.9 ns
    roaring66.1 K4.10 ns4.05 ns4.02 ns5.12 ns

    Source code for the benchmark is provided in the bench directory of this