pub enum PrintStyle {
Continue,
NewLine,
}Expand description
Defines how the prompt should be printed.
Variants§
Continue
Print the prompt without a trailing newline (uses print!).
NewLine
Print the prompt with a trailing newline (uses println!).
Trait Implementations§
Source§impl Clone for PrintStyle
impl Clone for PrintStyle
Source§fn clone(&self) -> PrintStyle
fn clone(&self) -> PrintStyle
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 PrintStyle
Source§impl Debug for PrintStyle
impl Debug for PrintStyle
impl Eq for PrintStyle
Source§impl PartialEq for PrintStyle
impl PartialEq for PrintStyle
impl StructuralPartialEq for PrintStyle
Auto Trait Implementations§
impl Freeze for PrintStyle
impl RefUnwindSafe for PrintStyle
impl Send for PrintStyle
impl Sync for PrintStyle
impl Unpin for PrintStyle
impl UnsafeUnpin for PrintStyle
impl UnwindSafe for PrintStyle
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