Struct serde_with::SpaceSeparator
source · pub struct SpaceSeparator;
Expand description
Predefined separator using a single space
Trait Implementations§
source§impl Clone for SpaceSeparator
impl Clone for SpaceSeparator
source§fn clone(&self) -> SpaceSeparator
fn clone(&self) -> SpaceSeparator
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 SpaceSeparator
impl Debug for SpaceSeparator
source§impl Default for SpaceSeparator
impl Default for SpaceSeparator
source§fn default() -> SpaceSeparator
fn default() -> SpaceSeparator
Returns the “default value” for a type. Read more
source§impl Hash for SpaceSeparator
impl Hash for SpaceSeparator
source§impl Ord for SpaceSeparator
impl Ord for SpaceSeparator
source§fn cmp(&self, other: &SpaceSeparator) -> Ordering
fn cmp(&self, other: &SpaceSeparator) -> 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 SpaceSeparator
impl PartialEq for SpaceSeparator
source§fn eq(&self, other: &SpaceSeparator) -> bool
fn eq(&self, other: &SpaceSeparator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SpaceSeparator
impl PartialOrd for SpaceSeparator
source§fn partial_cmp(&self, other: &SpaceSeparator) -> Option<Ordering>
fn partial_cmp(&self, other: &SpaceSeparator) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Separator for SpaceSeparator
impl Separator for SpaceSeparator
impl Copy for SpaceSeparator
impl Eq for SpaceSeparator
impl StructuralEq for SpaceSeparator
impl StructuralPartialEq for SpaceSeparator
Auto Trait Implementations§
impl RefUnwindSafe for SpaceSeparator
impl Send for SpaceSeparator
impl Sync for SpaceSeparator
impl Unpin for SpaceSeparator
impl UnwindSafe for SpaceSeparator
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