pub struct EmptySeparator;Expand description
The one way Separator::new fails: the text was empty.
Trait Implementations§
Source§impl Clone for EmptySeparator
impl Clone for EmptySeparator
Source§fn clone(&self) -> EmptySeparator
fn clone(&self) -> EmptySeparator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmptySeparator
Source§impl Debug for EmptySeparator
impl Debug for EmptySeparator
Source§impl Display for EmptySeparator
impl Display for EmptySeparator
impl Eq for EmptySeparator
Source§impl Error for EmptySeparator
impl Error for EmptySeparator
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for EmptySeparator
impl PartialEq for EmptySeparator
impl StructuralPartialEq for EmptySeparator
Auto Trait Implementations§
impl Freeze for EmptySeparator
impl RefUnwindSafe for EmptySeparator
impl Send for EmptySeparator
impl Sync for EmptySeparator
impl Unpin for EmptySeparator
impl UnsafeUnpin for EmptySeparator
impl UnwindSafe for EmptySeparator
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