#[non_exhaustive]pub enum StyleGuide {
AssociatedPress,
ChicagoManualOfStyle,
DaringFireball,
LanguageDefault,
}Expand description
Style guide selector to change grammar and context rules used for title casing.
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 Implementations§
source§impl Clone for StyleGuide
impl Clone for StyleGuide
source§fn clone(&self) -> StyleGuide
fn clone(&self) -> StyleGuide
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StyleGuide
impl Debug for StyleGuide
source§impl Default for StyleGuide
impl Default for StyleGuide
source§fn default() -> StyleGuide
fn default() -> StyleGuide
Returns the “default value” for a type. Read more
source§impl Display for StyleGuide
impl Display for StyleGuide
source§impl From<&str> for StyleGuide
impl From<&str> for StyleGuide
source§impl From<Option<StyleGuide>> for StyleGuide
impl From<Option<StyleGuide>> for StyleGuide
source§fn from(style: Option<StyleGuide>) -> Self
fn from(style: Option<StyleGuide>) -> Self
Converts to this type from the input type.
source§impl FromStr for StyleGuide
impl FromStr for StyleGuide
source§impl PartialEq for StyleGuide
impl PartialEq for StyleGuide
source§impl VariantNames for StyleGuide
impl VariantNames for StyleGuide
impl Copy for StyleGuide
impl StructuralPartialEq for StyleGuide
Auto Trait Implementations§
impl Freeze for StyleGuide
impl RefUnwindSafe for StyleGuide
impl Send for StyleGuide
impl Sync for StyleGuide
impl Unpin for StyleGuide
impl UnwindSafe for StyleGuide
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)