Struct time::format_description::modifier::End
source · #[non_exhaustive]pub struct End;
Expand description
The end of input.
There is currently not customization for this modifier.
Implementations§
source§impl End
impl End
sourcepub const fn default() -> Self
pub const fn default() -> Self
Creates a modifier used to represent the end of input.
This function exists since Default::default()
cannot be used in a const
context.
It may be removed once that becomes possible. As the Default
trait is in the
prelude, removing this function in the future will not cause any resolution failures for
the overwhelming majority of users; only users who use #![no_implicit_prelude]
will be
affected. As such it will not be considered a breaking change.
Trait Implementations§
impl Copy for End
impl Eq for End
impl StructuralEq for End
impl StructuralPartialEq for End
Auto Trait Implementations§
impl RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl UnwindSafe for End
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