pub enum SeparatorKind {
Semi,
Amp,
Newline,
Other,
}
Expand description
An indicator to the builder of how complete commands are separated.
Variants§
Semi
A semicolon appears between commands, normally indicating a sequence.
Amp
An ampersand appears between commands, normally indicating an asyncronous job.
Newline
A newline (and possibly a comment) appears at the end of a command before the next.
Other
The command was delimited by a token (e.g. a compound command delimiter) or the end of input, but is not followed by another sequential command.
Trait Implementations§
Source§impl Clone for SeparatorKind
impl Clone for SeparatorKind
Source§fn clone(&self) -> SeparatorKind
fn clone(&self) -> SeparatorKind
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 SeparatorKind
impl Debug for SeparatorKind
Source§impl PartialEq for SeparatorKind
impl PartialEq for SeparatorKind
impl Copy for SeparatorKind
impl Eq for SeparatorKind
impl StructuralPartialEq for SeparatorKind
Auto Trait Implementations§
impl Freeze for SeparatorKind
impl RefUnwindSafe for SeparatorKind
impl Send for SeparatorKind
impl Sync for SeparatorKind
impl Unpin for SeparatorKind
impl UnwindSafe for SeparatorKind
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