pub enum QuoteStyle {
Always,
Auto,
Never,
}
Expand description
TODO: Document this
Variants§
Implementations§
Source§impl QuoteStyle
impl QuoteStyle
pub fn naive_surround(&self, text: &str) -> String
Trait Implementations§
Source§impl Debug for QuoteStyle
impl Debug for QuoteStyle
Source§impl Display for QuoteStyle
impl Display for QuoteStyle
Source§impl From<&str> for QuoteStyle
impl From<&str> for QuoteStyle
Source§impl FromStr for QuoteStyle
impl FromStr for QuoteStyle
Source§impl PartialEq for QuoteStyle
impl PartialEq for QuoteStyle
impl StructuralPartialEq for QuoteStyle
Auto Trait Implementations§
impl Freeze for QuoteStyle
impl RefUnwindSafe for QuoteStyle
impl Send for QuoteStyle
impl Sync for QuoteStyle
impl Unpin for QuoteStyle
impl UnwindSafe for QuoteStyle
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