From 03a4b80888a677a78bd0b3e0be19303a71e261f0 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 23 May 2018 22:05:45 -0400 Subject: Regenerate documentation --- target/doc/dark.css | 2 +- target/doc/implementors/core/clone/trait.Clone.js | 2 +- .../doc/implementors/core/cmp/trait.PartialEq.js | 2 +- target/doc/implementors/core/convert/trait.From.js | 2 +- .../doc/implementors/core/default/trait.Default.js | 2 +- target/doc/implementors/core/fmt/trait.Debug.js | 2 +- target/doc/implementors/core/fmt/trait.Display.js | 2 +- target/doc/implementors/core/marker/trait.Send.js | 10 + target/doc/implementors/core/marker/trait.Sync.js | 10 + target/doc/implementors/std/error/trait.Error.js | 2 +- target/doc/light.css | 385 ++++++++++++++++++++ target/doc/mailparse/enum.DispositionType.html | 45 ++- target/doc/mailparse/enum.MailParseError.html | 50 ++- target/doc/mailparse/fn.dateparse.html | 13 +- .../mailparse/fn.parse_content_disposition.html | 15 +- target/doc/mailparse/fn.parse_content_type.html | 19 +- target/doc/mailparse/fn.parse_header.html | 15 +- target/doc/mailparse/fn.parse_headers.html | 15 +- target/doc/mailparse/fn.parse_mail.html | 13 +- target/doc/mailparse/index.html | 11 +- target/doc/mailparse/struct.MailHeader.html | 34 +- .../mailparse/struct.ParsedContentDisposition.html | 31 +- target/doc/mailparse/struct.ParsedContentType.html | 31 +- target/doc/mailparse/struct.ParsedMail.html | 37 +- target/doc/mailparse/trait.MailHeaderMap.html | 20 +- target/doc/main.css | 158 +------- target/doc/main.js | 398 ++++++++++++++------- target/doc/rustdoc.css | 85 ++++- target/doc/src/mailparse/dateparse.rs.html | 23 +- target/doc/src/mailparse/lib.rs.html | 143 +++++--- target/doc/src/mailparse/macros.rs.html | 5 +- target/doc/storage.js | 41 ++- target/doc/theme.js | 2 +- 33 files changed, 1064 insertions(+), 561 deletions(-) create mode 100644 target/doc/implementors/core/marker/trait.Send.js create mode 100644 target/doc/implementors/core/marker/trait.Sync.js create mode 100644 target/doc/light.css diff --git a/target/doc/dark.css b/target/doc/dark.css index b45c3bf..2d0fe55 100644 --- a/target/doc/dark.css +++ b/target/doc/dark.css @@ -130,7 +130,7 @@ pre { .content .highlighted.primitive { background-color: #00708a; } .content span.enum, .content a.enum, .block a.current.enum { color: #82b089; } -.content span.struct, .content a.struct, .block a.current.struct { color: #ff794d; } +.content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; } .content span.type, .content a.type, .block a.current.type { color: #ff7f00; } .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; } .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; } diff --git a/target/doc/implementors/core/clone/trait.Clone.js b/target/doc/implementors/core/clone/trait.Clone.js index 5d542b6..65833bb 100644 --- a/target/doc/implementors/core/clone/trait.Clone.js +++ b/target/doc/implementors/core/clone/trait.Clone.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl Clone for DispositionType",]; +implementors["mailparse"] = [{text:"impl Clone for DispositionType",synthetic:false,types:["mailparse::DispositionType"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/cmp/trait.PartialEq.js b/target/doc/implementors/core/cmp/trait.PartialEq.js index 875f3fd..1f977ce 100644 --- a/target/doc/implementors/core/cmp/trait.PartialEq.js +++ b/target/doc/implementors/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl PartialEq for DispositionType",]; +implementors["mailparse"] = [{text:"impl PartialEq for DispositionType",synthetic:false,types:["mailparse::DispositionType"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/convert/trait.From.js b/target/doc/implementors/core/convert/trait.From.js index c342dd0..bca3ba2 100644 --- a/target/doc/implementors/core/convert/trait.From.js +++ b/target/doc/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl From<QuotedPrintableError> for MailParseError","impl From<DecodeError> for MailParseError","impl From<Cow<'static, str>> for MailParseError",]; +implementors["mailparse"] = [{text:"impl From<QuotedPrintableError> for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},{text:"impl From<DecodeError> for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},{text:"impl From<Cow<'static, str>> for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/default/trait.Default.js b/target/doc/implementors/core/default/trait.Default.js index 70ecd4a..137415b 100644 --- a/target/doc/implementors/core/default/trait.Default.js +++ b/target/doc/implementors/core/default/trait.Default.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl Default for ParsedContentType","impl Default for DispositionType","impl Default for ParsedContentDisposition",]; +implementors["mailparse"] = [{text:"impl Default for ParsedContentType",synthetic:false,types:["mailparse::ParsedContentType"]},{text:"impl Default for DispositionType",synthetic:false,types:["mailparse::DispositionType"]},{text:"impl Default for ParsedContentDisposition",synthetic:false,types:["mailparse::ParsedContentDisposition"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/fmt/trait.Debug.js b/target/doc/implementors/core/fmt/trait.Debug.js index d27c5fa..b882da5 100644 --- a/target/doc/implementors/core/fmt/trait.Debug.js +++ b/target/doc/implementors/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl Debug for MailParseError","impl<'a> Debug for MailHeader<'a>","impl Debug for ParsedContentType","impl Debug for DispositionType","impl Debug for ParsedContentDisposition","impl<'a> Debug for ParsedMail<'a>",]; +implementors["mailparse"] = [{text:"impl Debug for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},{text:"impl<'a> Debug for MailHeader<'a>",synthetic:false,types:["mailparse::MailHeader"]},{text:"impl Debug for ParsedContentType",synthetic:false,types:["mailparse::ParsedContentType"]},{text:"impl Debug for DispositionType",synthetic:false,types:["mailparse::DispositionType"]},{text:"impl Debug for ParsedContentDisposition",synthetic:false,types:["mailparse::ParsedContentDisposition"]},{text:"impl<'a> Debug for ParsedMail<'a>",synthetic:false,types:["mailparse::ParsedMail"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/fmt/trait.Display.js b/target/doc/implementors/core/fmt/trait.Display.js index 2fdc08e..93eafd2 100644 --- a/target/doc/implementors/core/fmt/trait.Display.js +++ b/target/doc/implementors/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl Display for MailParseError",]; +implementors["mailparse"] = [{text:"impl Display for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/marker/trait.Send.js b/target/doc/implementors/core/marker/trait.Send.js new file mode 100644 index 0000000..d22816b --- /dev/null +++ b/target/doc/implementors/core/marker/trait.Send.js @@ -0,0 +1,10 @@ +(function() {var implementors = {}; +implementors["mailparse"] = [{text:"impl<'a> Send for MailHeader<'a>",synthetic:true,types:["mailparse::MailHeader"]},{text:"impl Send for ParsedContentType",synthetic:true,types:["mailparse::ParsedContentType"]},{text:"impl Send for ParsedContentDisposition",synthetic:true,types:["mailparse::ParsedContentDisposition"]},{text:"impl<'a> Send for ParsedMail<'a>",synthetic:true,types:["mailparse::ParsedMail"]},{text:"impl Send for MailParseError",synthetic:true,types:["mailparse::MailParseError"]},{text:"impl Send for DispositionType",synthetic:true,types:["mailparse::DispositionType"]},]; + + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } + +})() diff --git a/target/doc/implementors/core/marker/trait.Sync.js b/target/doc/implementors/core/marker/trait.Sync.js new file mode 100644 index 0000000..7feae7c --- /dev/null +++ b/target/doc/implementors/core/marker/trait.Sync.js @@ -0,0 +1,10 @@ +(function() {var implementors = {}; +implementors["mailparse"] = [{text:"impl<'a> Sync for MailHeader<'a>",synthetic:true,types:["mailparse::MailHeader"]},{text:"impl Sync for ParsedContentType",synthetic:true,types:["mailparse::ParsedContentType"]},{text:"impl Sync for ParsedContentDisposition",synthetic:true,types:["mailparse::ParsedContentDisposition"]},{text:"impl<'a> Sync for ParsedMail<'a>",synthetic:true,types:["mailparse::ParsedMail"]},{text:"impl Sync for MailParseError",synthetic:true,types:["mailparse::MailParseError"]},{text:"impl Sync for DispositionType",synthetic:true,types:["mailparse::DispositionType"]},]; + + if (window.register_implementors) { + window.register_implementors(implementors); + } else { + window.pending_implementors = implementors; + } + +})() diff --git a/target/doc/implementors/std/error/trait.Error.js b/target/doc/implementors/std/error/trait.Error.js index dcbe804..e24314d 100644 --- a/target/doc/implementors/std/error/trait.Error.js +++ b/target/doc/implementors/std/error/trait.Error.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors["mailparse"] = ["impl Error for MailParseError",]; +implementors["mailparse"] = [{text:"impl Error for MailParseError",synthetic:false,types:["mailparse::MailParseError"]},]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/light.css b/target/doc/light.css new file mode 100644 index 0000000..2334a27 --- /dev/null +++ b/target/doc/light.css @@ -0,0 +1,385 @@ +/** + * 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. + * + * Licensed under the Apache License, Version 2.0 or the MIT license + * , at your + * option. This file may not be copied, modified, or distributed + * except according to those terms. + */ + +/* General structure and fonts */ + +body { + background-color: white; + color: black; +} + +h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) { + color: black; +} +h1.fqn { + border-bottom-color: #D5D5D5; +} +h2, h3:not(.impl):not(.method):not(.type):not(.tymethod), h4:not(.method):not(.type):not(.tymethod) { + border-bottom-color: #DDDDDD; +} + +.in-band { + background-color: white; +} + +.invisible { + background: rgba(0, 0, 0, 0); +} + +.docblock code, .docblock-short code { + background-color: #F5F5F5; +} +pre { + background-color: #F5F5F5; +} + +.sidebar { + background-color: #F1F1F1; +} + +.sidebar .current { + background-color: #fff; +} + +.source .sidebar { + background-color: #fff; +} + +.sidebar .location { + border-color: #000; + background-color: #fff; + color: #333; +} + +.sidebar .version { + border-bottom-color: #DDD; +} + +.sidebar-title { + border-top-color: #777; + border-bottom-color: #777; +} + +.block a:hover { + background: #F5F5F5; +} + +.line-numbers span { color: #c67e2d; } +.line-numbers .line-highlighted { + background-color: #f6fdb0 !important; +} + +.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 { + border-bottom-color: #DDD; +} + +.docblock table { + border-color: #ddd; +} + +.docblock table td { + border-top-color: #ddd; + border-bottom-color: #ddd; +} + +.docblock table th { + border-top-color: #ddd; + border-bottom-color: #ddd; +} + +:target { background: #FDFFD3; } + +:target > .in-band { + background: #FDFFD3; +} + +.content .method .where, +.content .fn .where, +.content .where.fmt-newline { + color: #4E4C4C; +} + +.content .highlighted { + color: #000 !important; + background-color: #ccc; +} +.content .highlighted a, .content .highlighted span { color: #000 !important; } +.content .highlighted.trait { background-color: #c7b6ff; } +.content .highlighted.mod, +.content .highlighted.externcrate { background-color: #afc6e4; } +.content .highlighted.enum { background-color: #b4d1b9; } +.content .highlighted.struct { background-color: #e7b1a0; } +.content .highlighted.union { background-color: #b7bd49; } +.content .highlighted.fn, +.content .highlighted.method, +.content .highlighted.tymethod { background-color: #c6afb3; } +.content .highlighted.type { background-color: #ffc891; } +.content .highlighted.foreigntype { background-color: #f5c4ff; } +.content .highlighted.macro { background-color: #8ce488; } +.content .highlighted.constant, +.content .highlighted.static { background-color: #c3e0ff; } +.content .highlighted.primitive { background-color: #9aecff; } + +.content span.enum, .content a.enum, .block a.current.enum { color: #508157; } +.content span.struct, .content a.struct, .block a.current.struct { color: #ad448e; } +.content span.type, .content a.type, .block a.current.type { color: #ba5d00; } +.content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #cd00e2; } +.content span.macro, .content a.macro, .block a.current.macro { color: #068000; } +.content span.union, .content a.union, .block a.current.union { color: #767b27; } +.content span.constant, .content a.constant, .block a.current.constant, +.content span.static, .content a.static, .block a.current.static { color: #546e8a; } +.content span.primitive, .content a.primitive, .block a.current.primitive { color: #2c8093; } +.content span.externcrate, +.content span.mod, .content a.mod, .block a.current.mod { color: #4d76ae; } +.content span.trait, .content a.trait, .block a.current.trait { color: #7c5af3; } +.content span.fn, .content a.fn, .block a.current.fn, +.content span.method, .content a.method, .block a.current.method, +.content span.tymethod, .content a.tymethod, .block a.current.tymethod, +.content .fnname { color: #9a6e31; } + +pre.rust .comment { color: #8E908C; } +pre.rust .doccomment { color: #4D4D4C; } + +nav { + border-bottom-color: #e0e0e0; +} +nav.main .current { + border-top-color: #000; + border-bottom-color: #000; +} +nav.main .separator { + border: 1px solid #000; +} +a { + color: #000; +} + +.docblock a, .docblock-short a, .stability a { + color: #3873AD; +} + +a.test-arrow { + color: #f5f5f5; +} + +.collapse-toggle { + color: #999; +} + +.search-input { + color: #555; + box-shadow: 0 0 0 1px #e0e0e0, 0 0 0 2px transparent; + background-color: white; +} + +.search-input:focus { + border-color: #66afe9; +} + +.stab.unstable { background: #FFF5D6; border-color: #FFC600; } +.stab.deprecated { background: #F3DFFF; border-color: #7F0087; } +.stab.portability { background: #C4ECFF; border-color: #7BA5DB; } + +.module-item .stab { + color: #000; +} + +#help > div { + background: #e9e9e9; + border-color: #bfbfbf; +} + +.since { + color: grey; +} + +tr.result span.primitive::after { + color: black; +} + +.line-numbers :target { background-color: transparent; } + +/* Code highlighting */ +pre.rust .kw { color: #8959A8; } +pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; } +pre.rust .number, pre.rust .string { color: #718C00; } +pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val, +pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; } +pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; } +pre.rust .lifetime { color: #B76514; } +pre.rust .question-mark { + color: #ff9011; +} + +a.test-arrow { + background-color: rgba(78, 139, 202, 0.2); +} + +a.test-arrow:hover{ + background-color: #4e8bca; +} + +.toggle-label { + color: #999; +} + +:target > code { + background: #FDFFD3; +} + +pre.compile_fail { + border-left: 2px solid rgba(255,0,0,.4); +} + +pre.compile_fail:hover, .information:hover + pre.compile_fail { + border-left: 2px solid #f00; +} + +pre.ignore { + border-left: 2px solid rgba(255,142,0,.4); +} + +pre.ignore:hover, .information:hover + pre.ignore { + border-left: 2px solid #ff9200; +} + +.tooltip.compile_fail { + color: rgba(255,0,0,.3); +} + +.information > .compile_fail:hover { + color: #f00; +} + +.tooltip.ignore { + color: rgba(255,142,0,.3); +} + +.information > .ignore:hover { + color: rgba(255,142,0,1); +} + +.search-failed > a { + color: #0089ff; +} + +.tooltip .tooltiptext { + background-color: black; + color: #fff; +} + +.tooltip .tooltiptext::after { + border-color: transparent black transparent transparent; +} + +.important-traits .tooltip .tooltiptext { + background-color: white; + color: black; + border-color: black; +} + +#titles > div { + border-bottom-color: #ccc; +} + +#titles > div.selected { + border-bottom-color: #0078ee; +} + +#titles > div:hover { + border-bottom-color: #0089ff; +} + +#titles > div > div.count { + color: #888; +} + +.modal { + background-color: rgba(0,0,0,0.3); +} + +.modal-content { + background-color: #eee; + border-color: #999; +} + +.modal-content > .close { + background-color: #eee; + border-color: #999; +} + +.modal-content > .close:hover { + background-color: #ff1f1f; + color: white; +} + +.modal-content > .whiter { + background-color: #eee; +} + +.modal-content > .close:hover + .whiter { + background-color: #ff1f1f; +} + +@media (max-width: 700px) { + .sidebar-menu { + background-color: #F1F1F1; + border-bottom-color: #e0e0e0; + border-right-color: #e0e0e0; + } + + .sidebar-elems { + background-color: #F1F1F1; + border-right-color: #000; + } + + #sidebar-filler { + background-color: #F1F1F1; + border-bottom-color: #e0e0e0; + } +} + +kbd { + color: #000; + background-color: #fafbfc; + border-color: #d1d5da; + border-bottom-color: #c6cbd1; + box-shadow-color: #c6cbd1; +} + +#theme-picker { + border-color: #e0e0e0; + background-color: #fff; +} + +#theme-picker:hover, #theme-picker:focus { + border-color: #717171; +} + +#theme-choices { + border-color: #ccc; + background-color: #fff; +} + +#theme-choices > button:not(:first-child) { + border-top-color: #e0e0e0; +} + +#theme-choices > button:hover, #theme-choices > button:focus { + background-color: #eee; +} + +@media (max-width: 700px) { + #theme-picker { + background: #fff; + } +} diff --git a/target/doc/mailparse/enum.DispositionType.html b/target/doc/mailparse/enum.DispositionType.html index 4cde7f2..6d59150 100644 --- a/target/doc/mailparse/enum.DispositionType.html +++ b/target/doc/mailparse/enum.DispositionType.html @@ -10,10 +10,11 @@ mailparse::DispositionType - Rust - + - + @@ -33,7 +34,7 @@
@@ -54,18 +55,16 @@ -
-

Enum mailparse::DispositionType +

Enum mailparse::DispositionType [] - [src]

-
pub enum DispositionType {
+               [src]

pub enum DispositionType {
     Inline,
     Attachment,
     FormData,
     Extension(String),
-}

The possible disposition types in a Content-Disposition header. A more +}

The possible disposition types in a Content-Disposition header. A more comprehensive list of IANA-recognized types can be found at https://www.iana.org/assignments/cont-disp/cont-disp.xhtml. This library only enumerates the types most commonly found in email messages, and @@ -82,23 +81,19 @@ but whose content can be accessed for use.

Trait Implementations

-

impl Debug for DispositionType
[src]

-

[src]

-

Formats the value using the given formatter. Read more

-

impl Clone for DispositionType
[src]

-

[src]

-

Returns a copy of the value. Read more

-

1.0.0
[src]

-

Performs copy-assignment from source. Read more

-

impl PartialEq for DispositionType
[src]

-

[src]

-

This method tests for self and other values to be equal, and is used by ==. Read more

-

[src]

-

This method tests for !=.

-

impl Default for DispositionType
[src]

-

[src]

-

Returns the "default value" for a type. Read more

-
+
+

impl Debug for DispositionType
[src]

Formats the value using the given formatter. Read more

+

impl Clone for DispositionType
[src]

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

impl PartialEq for DispositionType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

+

This method tests for !=.

+

impl Default for DispositionType
[src]

Returns the "default value" for a type. Read more

+
+

+ Auto Trait Implementations +

+ diff --git a/target/doc/mailparse/enum.MailParseError.html b/target/doc/mailparse/enum.MailParseError.html index ad057db..4e3c5c3 100644 --- a/target/doc/mailparse/enum.MailParseError.html +++ b/target/doc/mailparse/enum.MailParseError.html @@ -10,10 +10,11 @@ mailparse::MailParseError - Rust - + - + @@ -33,7 +34,7 @@
@@ -54,18 +55,16 @@ -
-

Enum mailparse::MailParseError +

Enum mailparse::MailParseError [] - [src]

-
pub enum MailParseError {
+               [src]

pub enum MailParseError {
     QuotedPrintableDecodeError(QuotedPrintableError),
     Base64DecodeError(DecodeError),
     EncodingError(Cow<'static, str>),
     Generic(&'static str),
-}

An error type that represents the different kinds of errors that may be +}

An error type that represents the different kinds of errors that may be encountered during message parsing.

Variants

@@ -81,27 +80,20 @@ provides additional details.

Trait Implementations

-

impl Debug for MailParseError
[src]

-

[src]

-

Formats the value using the given formatter. Read more

-

impl Display for MailParseError
[src]

-

[src]

-

Formats the value using the given formatter. Read more

-

impl Error for MailParseError
[src]

-

[src]

-

A short description of the error. Read more

-

[src]

-

The lower-level cause of this error, if any. Read more

-

impl From<QuotedPrintableError> for MailParseError
[src]

-

[src]

-

Performs the conversion.

-

impl From<DecodeError> for MailParseError
[src]

-

[src]

-

Performs the conversion.

-

impl From<Cow<'static, str>> for MailParseError
[src]

-