pub(crate) enum StringStyle {
NewlineTriple,
OnelineTriple,
OnelineSingle,
}
Variants§
Implementations§
source§impl StringStyle
impl StringStyle
fn literal_start(self) -> &'static str
fn literal_end(self) -> &'static str
fn standard_start(self) -> &'static str
fn standard_end(self) -> &'static str
Trait Implementations§
source§impl Clone for StringStyle
impl Clone for StringStyle
source§fn clone(&self) -> StringStyle
fn clone(&self) -> StringStyle
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 StringStyle
impl Debug for StringStyle
source§impl PartialEq for StringStyle
impl PartialEq for StringStyle
impl Copy for StringStyle
impl Eq for StringStyle
impl StructuralPartialEq for StringStyle
Auto Trait Implementations§
impl Freeze for StringStyle
impl RefUnwindSafe for StringStyle
impl Send for StringStyle
impl Sync for StringStyle
impl Unpin for StringStyle
impl UnwindSafe for StringStyle
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.