pub struct OrderedPatchUrl(/* private fields */);Expand description
For non invalidating patches the specification requires they be ordered by entry order.
That is the order that the physical entries in the patch map are in. This struct adds that ordering onto PatchUrl’s for when they are stored in a btree set/map. Context: https://github.com/w3c/IFT/pull/279
Trait Implementations§
Source§impl Clone for OrderedPatchUrl
impl Clone for OrderedPatchUrl
Source§fn clone(&self) -> OrderedPatchUrl
fn clone(&self) -> OrderedPatchUrl
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 moreSource§impl Debug for OrderedPatchUrl
impl Debug for OrderedPatchUrl
impl Eq for OrderedPatchUrl
Source§impl Ord for OrderedPatchUrl
impl Ord for OrderedPatchUrl
Source§fn cmp(&self, other: &OrderedPatchUrl) -> Ordering
fn cmp(&self, other: &OrderedPatchUrl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OrderedPatchUrl
impl PartialEq for OrderedPatchUrl
Source§fn eq(&self, other: &OrderedPatchUrl) -> bool
fn eq(&self, other: &OrderedPatchUrl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OrderedPatchUrl
impl PartialOrd for OrderedPatchUrl
impl StructuralPartialEq for OrderedPatchUrl
Auto Trait Implementations§
impl Freeze for OrderedPatchUrl
impl RefUnwindSafe for OrderedPatchUrl
impl Send for OrderedPatchUrl
impl Sync for OrderedPatchUrl
impl Unpin for OrderedPatchUrl
impl UnsafeUnpin for OrderedPatchUrl
impl UnwindSafe for OrderedPatchUrl
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