pub enum HxModifyHistory<M: HistoryModification> {
Uri(Uri),
NoChange,
// some variants omitted
}
Expand description
to be used with HxPushUrl
or HxReplaceUrl
.
Variants§
Trait Implementations§
Source§impl<M: Clone + HistoryModification> Clone for HxModifyHistory<M>
impl<M: Clone + HistoryModification> Clone for HxModifyHistory<M>
Source§fn clone(&self) -> HxModifyHistory<M>
fn clone(&self) -> HxModifyHistory<M>
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<M: Debug + HistoryModification> Debug for HxModifyHistory<M>
impl<M: Debug + HistoryModification> Debug for HxModifyHistory<M>
Source§impl<M: HistoryModification> Header for HxModifyHistory<M>
impl<M: HistoryModification> Header for HxModifyHistory<M>
Source§fn encode<E: Extend<HeaderValue>>(&self, values: &mut E)
fn encode<E: Extend<HeaderValue>>(&self, values: &mut E)
NOTE: Panics if the value cannot be converted to a header value.
Source§fn name() -> &'static HeaderName
fn name() -> &'static HeaderName
The name of this header.
Source§impl<M: PartialEq + HistoryModification> PartialEq for HxModifyHistory<M>
impl<M: PartialEq + HistoryModification> PartialEq for HxModifyHistory<M>
impl<M: Eq + HistoryModification> Eq for HxModifyHistory<M>
impl<M: HistoryModification> StructuralPartialEq for HxModifyHistory<M>
Auto Trait Implementations§
impl<M> !Freeze for HxModifyHistory<M>
impl<M> RefUnwindSafe for HxModifyHistory<M>where
M: RefUnwindSafe,
impl<M> Send for HxModifyHistory<M>where
M: Send,
impl<M> Sync for HxModifyHistory<M>where
M: Sync,
impl<M> Unpin for HxModifyHistory<M>where
M: Unpin,
impl<M> UnwindSafe for HxModifyHistory<M>where
M: UnwindSafe,
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