Struct heapless::sorted_linked_list::LinkedIndexU16
source · [−]pub struct LinkedIndexU16(_);
Expand description
Index for the SortedLinkedList
with specific backing storage.
Trait Implementations
sourceimpl Clone for LinkedIndexU16
impl Clone for LinkedIndexU16
sourcefn clone(&self) -> LinkedIndexU16
fn clone(&self) -> LinkedIndexU16
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LinkedIndexU16
impl Debug for LinkedIndexU16
sourceimpl Ord for LinkedIndexU16
impl Ord for LinkedIndexU16
sourcefn cmp(&self, other: &LinkedIndexU16) -> Ordering
fn cmp(&self, other: &LinkedIndexU16) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<LinkedIndexU16> for LinkedIndexU16
impl PartialEq<LinkedIndexU16> for LinkedIndexU16
sourcefn eq(&self, other: &LinkedIndexU16) -> bool
fn eq(&self, other: &LinkedIndexU16) -> bool
sourceimpl PartialOrd<LinkedIndexU16> for LinkedIndexU16
impl PartialOrd<LinkedIndexU16> for LinkedIndexU16
sourcefn partial_cmp(&self, other: &LinkedIndexU16) -> Option<Ordering>
fn partial_cmp(&self, other: &LinkedIndexU16) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LinkedIndexU16
impl Eq for LinkedIndexU16
impl SortedLinkedListIndex for LinkedIndexU16
impl StructuralEq for LinkedIndexU16
impl StructuralPartialEq for LinkedIndexU16
Auto Trait Implementations
impl RefUnwindSafe for LinkedIndexU16
impl Send for LinkedIndexU16
impl Sync for LinkedIndexU16
impl Unpin for LinkedIndexU16
impl UnwindSafe for LinkedIndexU16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more