#[non_exhaustive]pub enum DocSection {
QuickStart,
Format,
StrictAndLenientParsing,
Matching,
Folding,
Keys,
BuiltInRules,
Recipes,
LauncherResponsibilities,
}Expand description
A section of the crate’s front page, the spec of the format and the rules.
Each variant is one heading of that page; DocSection::url links to it.
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.
QuickStart
Quick start: how a launcher builds its rules and starts Wine with them.
Format
Format: the text of WINE_COMPATDB.
StrictAndLenientParsing
Strict and lenient parsing: how the text is read, a part of Format.
Matching
Matching: which processes a rule applies to.
Folding
Folding: how the rules that match a process combine.
Keys
Keys: the fields of a rule.
BuiltInRules
Built-in rules: the rules compatdb.so has compiled in.
Recipes
Recipes: one rule for each common goal.
LauncherResponsibilities
Launcher responsibilities: what a launcher does beyond the rules.
Implementations§
Trait Implementations§
Source§impl Clone for DocSection
impl Clone for DocSection
Source§fn clone(&self) -> DocSection
fn clone(&self) -> DocSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DocSection
Source§impl Debug for DocSection
impl Debug for DocSection
impl Eq for DocSection
Source§impl Hash for DocSection
impl Hash for DocSection
Source§impl PartialEq for DocSection
impl PartialEq for DocSection
impl StructuralPartialEq for DocSection
Auto Trait Implementations§
impl Freeze for DocSection
impl RefUnwindSafe for DocSection
impl Send for DocSection
impl Sync for DocSection
impl Unpin for DocSection
impl UnsafeUnpin for DocSection
impl UnwindSafe for DocSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more