187 lines
19 KiB
HTML
187 lines
19 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="generator" content="rustdoc">
|
||
<meta name="description" content="API documentation for the Rust `GRegexError` enum in crate `glib_sys`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, GRegexError">
|
||
|
||
<title>glib_sys::GRegexError - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../normalize.css">
|
||
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
|
||
<link rel="stylesheet" type="text/css" href="../main.css">
|
||
|
||
|
||
|
||
|
||
</head>
|
||
<body class="rustdoc enum">
|
||
<!--[if lte IE 8]>
|
||
<div class="warning">
|
||
This old browser is unsupported and will most likely display funky
|
||
things.
|
||
</div>
|
||
<![endif]-->
|
||
|
||
|
||
|
||
<nav class="sidebar">
|
||
|
||
<p class='location'>Enum GRegexError</p><div class="block items"><ul><li><a href="#variants">Variants</a></li><li><a href="#implementations">Trait Implementations</a></li></ul></div><p class='location'><a href='index.html'>glib_sys</a></p><script>window.sidebarCurrent = {name: 'GRegexError', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script>
|
||
</nav>
|
||
|
||
<nav class="sub">
|
||
<form class="search-form js-only">
|
||
<div class="search-container">
|
||
<input class="search-input" name="search"
|
||
autocomplete="off"
|
||
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
||
type="search">
|
||
</div>
|
||
</form>
|
||
</nav>
|
||
|
||
<section id='main' class="content">
|
||
<h1 class='fqn'><span class='in-band'>Enum <a href='index.html'>glib_sys</a>::<wbr><a class="enum" href=''>GRegexError</a></span><span class='out-of-band'><span id='render-detail'>
|
||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||
[<span class='inner'>−</span>]
|
||
</a>
|
||
</span><a class='srclink' href='../src/glib_sys/lib.rs.html#387-445' title='goto source code'>[src]</a></span></h1>
|
||
<pre class='rust enum'><div class="docblock attributes">#[repr(C)]
|
||
</div>pub enum GRegexError {
|
||
Compile,
|
||
Optimize,
|
||
Replace,
|
||
Match,
|
||
Internal,
|
||
StrayBackslash,
|
||
MissingControlChar,
|
||
UnrecognizedEscape,
|
||
QuantifiersOutOfOrder,
|
||
QuantifierTooBig,
|
||
UnterminatedCharacterClass,
|
||
InvalidEscapeInCharacterClass,
|
||
RangeOutOfOrder,
|
||
NothingToRepeat,
|
||
UnrecognizedCharacter,
|
||
PosixNamedClassOutsideClass,
|
||
UnmatchedParenthesis,
|
||
InexistentSubpatternReference,
|
||
UnterminatedComment,
|
||
ExpressionTooLarge,
|
||
MemoryError,
|
||
VariableLengthLookbehind,
|
||
MalformedCondition,
|
||
TooManyConditionalBranches,
|
||
AssertionExpected,
|
||
UnknownPosixClassName,
|
||
PosixCollatingElementsNotSupported,
|
||
HexCodeTooLarge,
|
||
InvalidCondition,
|
||
SingleByteMatchInLookbehind,
|
||
InfiniteLoop,
|
||
MissingSubpatternNameTerminator,
|
||
DuplicateSubpatternName,
|
||
MalformedProperty,
|
||
UnknownProperty,
|
||
SubpatternNameTooLong,
|
||
TooManySubpatterns,
|
||
InvalidOctalValue,
|
||
TooManyBranchesInDefine,
|
||
DefineRepetion,
|
||
InconsistentNewlineOptions,
|
||
MissingBackReference,
|
||
InvalidRelativeReference,
|
||
BacktrackingControlVerbArgumentForbidden,
|
||
UnknownBacktrackingControlVerb,
|
||
NumberTooBig,
|
||
MissingSubpatternName,
|
||
MissingDigit,
|
||
InvalidDataCharacter,
|
||
ExtraSubpatternName,
|
||
BacktrackingControlVerbArgumentRequired,
|
||
InvalidControlChar,
|
||
MissingName,
|
||
NotSupportedInClass,
|
||
TooManyForwardReferences,
|
||
NameTooLong,
|
||
CharacterValueTooLarge,
|
||
}</pre><h2 id='variants' class='variants'>Variants</h2>
|
||
<span id='variant.Compile' class='variant'><span id='Compile.v' class='invisible'><code>Compile</code></span></span><span id='variant.Optimize' class='variant'><span id='Optimize.v' class='invisible'><code>Optimize</code></span></span><span id='variant.Replace' class='variant'><span id='Replace.v' class='invisible'><code>Replace</code></span></span><span id='variant.Match' class='variant'><span id='Match.v' class='invisible'><code>Match</code></span></span><span id='variant.Internal' class='variant'><span id='Internal.v' class='invisible'><code>Internal</code></span></span><span id='variant.StrayBackslash' class='variant'><span id='StrayBackslash.v' class='invisible'><code>StrayBackslash</code></span></span><span id='variant.MissingControlChar' class='variant'><span id='MissingControlChar.v' class='invisible'><code>MissingControlChar</code></span></span><span id='variant.UnrecognizedEscape' class='variant'><span id='UnrecognizedEscape.v' class='invisible'><code>UnrecognizedEscape</code></span></span><span id='variant.QuantifiersOutOfOrder' class='variant'><span id='QuantifiersOutOfOrder.v' class='invisible'><code>QuantifiersOutOfOrder</code></span></span><span id='variant.QuantifierTooBig' class='variant'><span id='QuantifierTooBig.v' class='invisible'><code>QuantifierTooBig</code></span></span><span id='variant.UnterminatedCharacterClass' class='variant'><span id='UnterminatedCharacterClass.v' class='invisible'><code>UnterminatedCharacterClass</code></span></span><span id='variant.InvalidEscapeInCharacterClass' class='variant'><span id='InvalidEscapeInCharacterClass.v' class='invisible'><code>InvalidEscapeInCharacterClass</code></span></span><span id='variant.RangeOutOfOrder' class='variant'><span id='RangeOutOfOrder.v' class='invisible'><code>RangeOutOfOrder</code></span></span><span id='variant.NothingToRepeat' class='variant'><span id='NothingToRepeat.v' class='invisible'><code>NothingToRepeat</code></span></span><span id='variant.UnrecognizedCharacter' class='variant'><span id='UnrecognizedCharacter.v' class='invisible'><code>UnrecognizedCharacter</code></span></span><span id='variant.PosixNamedClassOutsideClass' class='variant'><span id='PosixNamedClassOutsideClass.v' class='invisible'><code>PosixNamedClassOutsideClass</code></span></span><span id='variant.UnmatchedParenthesis' class='variant'><span id='UnmatchedParenthesis.v' class='invisible'><code>UnmatchedParenthesis</code></span></span><span id='variant.InexistentSubpatternReference' class='variant'><span id='InexistentSubpatternReference.v' class='invisible'><code>InexistentSubpatternReference</code></span></span><span id='variant.UnterminatedComment' class='variant'><span id='UnterminatedComment.v' class='invisible'><code>UnterminatedComment</code></span></span><span id='variant.ExpressionTooLarge' class='variant'><span id='ExpressionTooLarge.v' class='invisible'><code>ExpressionTooLarge</code></span></span><span id='variant.MemoryError' class='variant'><span id='MemoryError.v' class='invisible'><code>MemoryError</code></span></span><span id='variant.VariableLengthLookbehind' class='variant'><span id='VariableLengthLookbehind.v' class='invisible'><code>VariableLengthLookbehind</code></span></span><span id='variant.MalformedCondition' class='variant'><span id='MalformedCondition.v' class='invisible'><code>MalformedCondition</code></span></span><span id='variant.TooManyConditionalBranches' class='variant'><span id='TooManyConditionalBranches.v' class='invisible'><code>TooManyConditionalBranches</code></span></span><span id='variant.AssertionExpected' class='variant'><span id='AssertionExpected.v' class='invisible'><code>AssertionExpected</code></span></span><span id='variant.UnknownPosixClassName' class='variant'><span id='UnknownPosixClassName.v' class='invisible'><code>UnknownPosixClassName</code></span></span><span id='variant.PosixCollatingElementsNotSupported' class='variant'><span id='PosixCollatingElementsNotSupported.v' class='invisible'><code>PosixCollatingElementsNotSupported</code></span></span><span id='variant.HexCodeTooLarge' class='variant'><span id='HexCodeTooLarge.v' class='invisible'><code>HexCodeTooLarge</code></span></span><span id='variant.InvalidCondition' class='variant'><span id='InvalidCondition.v' class='invisible'><code>InvalidCondition</code></span></span><span id='variant.SingleByteMatchInLookbehind' class='variant'><span id='SingleByteMatchInLookbehind.v' class='invisible'><code>SingleByteMatchInLookbehind</code></span></span><span id='variant.InfiniteLoop' class='variant'><span id='InfiniteLoop.v' class='invisible'><code>InfiniteLoop</code></span></span><span id='variant.MissingSubpatternNameTerminator' class='variant'><span id='MissingSubpatternNameTerminator.v' class='invisible'><code>MissingSubpatternNameTerminator</code></span></span><span id='variant.DuplicateSubpatternName' class='variant'><span id='DuplicateSubpatternName.v' class='invisible'><code>DuplicateSubpatternName</code></span></span><span id='variant.MalformedProperty' class='variant'><span id='MalformedProperty.v' class='invisible'><code>MalformedProperty</code></span></span><span id='variant.UnknownProperty' class='variant'><span id='UnknownProperty.v' class='invisible'><code>UnknownProperty</code></span></span><span id='variant.SubpatternNameTooLong' class='variant'><span id='SubpatternNameTooLong.v' class='invisible'><code>SubpatternNameTooLong</code></span></span><span id='variant.TooManySubpatterns' class='variant'><span id='TooManySubpatterns.v' class='invisible'><code>TooManySubpatterns</code></span></span><span id='variant.InvalidOctalValue' class='variant'><span id='InvalidOctalValue.v' class='invisible'><code>InvalidOctalValue</code></span></span><span id='variant.TooManyBranchesInDefine' class='variant'><span id='TooManyBranchesInDefine.v' class='invisible'><code>TooManyBranchesInDefine</code></span></span><span id='variant.DefineRepetion' class='variant'><span id='DefineRepetion.v' class='invisible'><code>DefineRepetion</code></span></span><span id='variant.InconsistentNewlineOptions' class='variant'><span id='InconsistentNewlineOptions.v' class='invisible'><code>InconsistentNewlineOptions</code></span></span><span id='variant.MissingBackReference' class='variant'><span id='MissingBackReference.v' class='invisible'><code>MissingBackReference</code></span></span><span id='variant.InvalidRelativeReference' class='variant'><span id='InvalidRelativeReference.v' class='invisible'><code>InvalidRelativeReference</code></span></span><span id='variant.BacktrackingControlVerbArgumentForbidden' class='variant'><span id='BacktrackingControlVerbArgumentForbidden.v' class='invisible'><code>BacktrackingControlVerbArgumentForbidden</code></span></span><span id='variant.UnknownBacktrackingControlVerb' class='variant'><span id='UnknownBacktrackingControlVerb.v' class='invisible'><code>UnknownBacktrackingControlVerb</code></span></span><span id='variant.NumberTooBig' class='variant'><span id='NumberTooBig.v' class='invisible'><code>NumberTooBig</code></span></span><span id='variant.MissingSubpatternName' class='variant'><span id='MissingSubpatternName.v' class='invisible'><code>MissingSubpatternName</code></span></span><span id='variant.MissingDigit' class='variant'><span id='MissingDigit.v' class='invisible'><code>MissingDigit</code></span></span><span id='variant.InvalidDataCharacter' class='variant'><span id='InvalidDataCharacter.v' class='invisible'><code>InvalidDataCharacter</code></span></span><span id='variant.ExtraSubpatternName' class='variant'><span id='ExtraSubpatternName.v' class='invisible'><code>ExtraSubpatternName</code></span></span><span id='variant.BacktrackingControlVerbArgumentRequired' class='variant'><span id='BacktrackingControlVerbArgumentRequired.v' class='invisible'><code>BacktrackingControlVerbArgumentRequired</code></span></span><span id='variant.InvalidControlChar' class='variant'><span id='InvalidControlChar.v' class='invisible'><code>InvalidControlChar</code></span></span><span id='variant.MissingName' class='variant'><span id='MissingName.v' class='invisible'><code>MissingName</code></span></span><span id='variant.NotSupportedInClass' class='variant'><span id='NotSupportedInClass.v' class='invisible'><code>NotSupportedInClass</code></span></span><span id='variant.TooManyForwardReferences' class='variant'><span id='TooManyForwardReferences.v' class='invisible'><code>TooManyForwardReferences</code></span></span><span id='variant.NameTooLong' class='variant'><span id='NameTooLong.v' class='invisible'><code>NameTooLong</code></span></span><span id='variant.CharacterValueTooLarge' class='variant'><span id='CharacterValueTooLarge.v' class='invisible'><code>CharacterValueTooLarge</code></span></span><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib_sys/lib.rs.html#385' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span></h4>
|
||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib_sys/lib.rs.html#385' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib_sys/lib.rs.html#385' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
|
||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib_sys/lib.rs.html#385' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib_sys/lib.rs.html#385' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, __arg_0: &<a class="enum" href="../glib_sys/enum.GRegexError.html" title="enum glib_sys::GRegexError">GRegexError</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||
<div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||
</div></div></section>
|
||
<section id='search' class="content hidden"></section>
|
||
|
||
<section class="footer"></section>
|
||
|
||
<aside id="help" class="hidden">
|
||
<div>
|
||
<h1 class="hidden">Help</h1>
|
||
|
||
<div class="shortcuts">
|
||
<h2>Keyboard Shortcuts</h2>
|
||
|
||
<dl>
|
||
<dt>?</dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt>S</dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt>⇤</dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt>⇥</dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt>⏎</dt>
|
||
<dd>Go to active search result</dd>
|
||
<dt>+</dt>
|
||
<dd>Collapse/expand all sections</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="infos">
|
||
<h2>Search Tricks</h2>
|
||
|
||
<p>
|
||
Prefix searches with a type followed by a colon (e.g.
|
||
<code>fn:</code>) to restrict the search to a given type.
|
||
</p>
|
||
|
||
<p>
|
||
Accepted types are: <code>fn</code>, <code>mod</code>,
|
||
<code>struct</code>, <code>enum</code>,
|
||
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
||
and <code>const</code>.
|
||
</p>
|
||
|
||
<p>
|
||
Search functions by type signature (e.g.
|
||
<code>vec -> usize</code> or <code>* -> vec</code>)
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</aside>
|
||
|
||
|
||
|
||
<script>
|
||
window.rootPath = "../";
|
||
window.currentCrate = "glib_sys";
|
||
</script>
|
||
<script src="../main.js"></script>
|
||
<script defer src="../search-index.js"></script>
|
||
</body>
|
||
</html> |