pub struct SilentSwitch(/* private fields */);Implementations§
Source§impl SilentSwitch
impl SilentSwitch
pub fn iter(&self) -> Iter<'_, CompactString>
Trait Implementations§
Source§impl Clone for SilentSwitch
impl Clone for SilentSwitch
Source§fn clone(&self) -> SilentSwitch
fn clone(&self) -> SilentSwitch
Returns a duplicate 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 SilentSwitch
impl Debug for SilentSwitch
Source§impl Deref for SilentSwitch
impl Deref for SilentSwitch
Source§impl DerefMut for SilentSwitch
impl DerefMut for SilentSwitch
Source§impl Display for SilentSwitch
impl Display for SilentSwitch
Source§impl FromStr for SilentSwitch
impl FromStr for SilentSwitch
Source§impl Hash for SilentSwitch
impl Hash for SilentSwitch
Source§impl<'switch> IntoIterator for &'switch SilentSwitch
impl<'switch> IntoIterator for &'switch SilentSwitch
Source§impl IntoIterator for SilentSwitch
impl IntoIterator for SilentSwitch
Source§impl Ord for SilentSwitch
impl Ord for SilentSwitch
Source§fn cmp(&self, other: &SilentSwitch) -> Ordering
fn cmp(&self, other: &SilentSwitch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SilentSwitch
impl PartialEq for SilentSwitch
Source§impl PartialOrd for SilentSwitch
impl PartialOrd for SilentSwitch
impl Eq for SilentSwitch
impl StructuralPartialEq for SilentSwitch
Auto Trait Implementations§
impl Freeze for SilentSwitch
impl RefUnwindSafe for SilentSwitch
impl Send for SilentSwitch
impl Sync for SilentSwitch
impl Unpin for SilentSwitch
impl UnwindSafe for SilentSwitch
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§impl<I, C> CompactStringExt for C
impl<I, C> CompactStringExt for C
Source§fn concat_compact(self) -> CompactString
fn concat_compact(self) -> CompactString
Concatenates all the items of a collection into a
CompactString Read moreSource§fn join_compact<S>(self, separator: S) -> CompactString
fn join_compact<S>(self, separator: S) -> CompactString
Joins all the items of a collection, placing a separator between them, forming a
CompactString Read moreSource§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more