#[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 StructuralPartialEq for End
Auto Trait Implementations§
impl Freeze for End
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
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
)