From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Jun 2015 20:16:15 +0000 Subject: Update documentation --- regex_syntax/struct.Error.html | 123 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 regex_syntax/struct.Error.html (limited to 'regex_syntax/struct.Error.html') diff --git a/regex_syntax/struct.Error.html b/regex_syntax/struct.Error.html new file mode 100644 index 0000000..3ab9c44 --- /dev/null +++ b/regex_syntax/struct.Error.html @@ -0,0 +1,123 @@ + + + + + + + + + + regex_syntax::Error - Rust + + + + + + + + + + + + + + + +
+

Struct regex_syntax::Error + + [] + + [src]

+
pub struct Error {
+    // some fields omitted
+}

A parse error.

+ +

This includes details about the specific type of error and a rough +approximation of where it occurred.

+

Methods

impl Error

fn position(&self) -> usize

+

Returns an approximate character offset at which the error occurred.

+ +

The character offset may be equal to the number of characters in the +string, in which case it should be interpreted as pointing to the end +of the regex.

+

fn kind(&self) -> &ErrorKind

+

Returns the type of the regex parse error.

+

Trait Implementations

impl Error for Error

fn description(&self) -> &str

+

fn cause(&self) -> Option<&Error>

+

impl Display for Error

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

+

Derived Implementations

impl PartialEq for Error

fn eq(&self, __arg_0: &Error) -> bool

+

fn ne(&self, __arg_0: &Error) -> bool

+

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result

+

impl Clone for Error

fn clone(&self) -> Error

+

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

+
+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3