Enum brush_parser::prompt::PromptTimeFormat
source · pub enum PromptTimeFormat {
TwelveHourAM,
TwelveHourHHMMSS,
TwentyFourHourHHMMSS,
}Expand description
Format for a time in a prompt.
Variants§
TwelveHourAM
A twelve-hour time format with AM/PM.
TwelveHourHHMMSS
A twelve-hour time format (HHMMSS).
TwentyFourHourHHMMSS
A twenty-four-hour time format (HHMMSS).
Trait Implementations§
source§impl Clone for PromptTimeFormat
impl Clone for PromptTimeFormat
source§fn clone(&self) -> PromptTimeFormat
fn clone(&self) -> PromptTimeFormat
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 moreAuto Trait Implementations§
impl Freeze for PromptTimeFormat
impl RefUnwindSafe for PromptTimeFormat
impl Send for PromptTimeFormat
impl Sync for PromptTimeFormat
impl Unpin for PromptTimeFormat
impl UnwindSafe for PromptTimeFormat
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)