pub struct LayerOrdinal(/* private fields */);Expand description
Position in a flattened cascade-layer order before importance normalization.
The sentinel-safe domain is 0 <= ordinal < i32::MAX; None represents an
unlayered declaration at the normalization boundary.
Implementations§
Trait Implementations§
Source§impl Clone for LayerOrdinal
impl Clone for LayerOrdinal
Source§fn clone(&self) -> LayerOrdinal
fn clone(&self) -> LayerOrdinal
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 moreimpl Copy for LayerOrdinal
Source§impl Debug for LayerOrdinal
impl Debug for LayerOrdinal
impl Eq for LayerOrdinal
Source§impl Hash for LayerOrdinal
impl Hash for LayerOrdinal
Source§impl Ord for LayerOrdinal
impl Ord for LayerOrdinal
Source§fn cmp(&self, other: &LayerOrdinal) -> Ordering
fn cmp(&self, other: &LayerOrdinal) -> 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 LayerOrdinal
impl PartialEq for LayerOrdinal
Source§impl PartialOrd for LayerOrdinal
impl PartialOrd for LayerOrdinal
Source§impl Serialize for LayerOrdinal
impl Serialize for LayerOrdinal
impl StructuralPartialEq for LayerOrdinal
Auto Trait Implementations§
impl Freeze for LayerOrdinal
impl RefUnwindSafe for LayerOrdinal
impl Send for LayerOrdinal
impl Sync for LayerOrdinal
impl Unpin for LayerOrdinal
impl UnsafeUnpin for LayerOrdinal
impl UnwindSafe for LayerOrdinal
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.