#[repr(u8)]pub enum SliceId {
Show 64 variants
One = 0,
Two = 1,
Three = 2,
Four = 3,
Five = 4,
Six = 5,
Seven = 6,
Eight = 7,
Nine = 8,
Ten = 9,
Eleven = 10,
Twelve = 11,
Thirteen = 12,
Fourteen = 13,
Fifteen = 14,
Sixteen = 15,
Seventeen = 16,
Eighteen = 17,
Nineteen = 18,
Twenty = 19,
TwentyOne = 20,
TwentyTwo = 21,
TwentyThree = 22,
TwentyFour = 23,
TwentyFive = 24,
TwentySix = 25,
TwentySeven = 26,
TwentyEight = 27,
TwentyNine = 28,
Thirty = 29,
ThirtyOne = 30,
ThirtyTwo = 31,
ThirtyThree = 32,
ThirtyFour = 33,
ThirtyFive = 34,
ThirtySix = 35,
ThirtySeven = 36,
ThirtyEight = 37,
ThirtyNine = 38,
Forty = 39,
FortyOne = 40,
FortyTwo = 41,
FortyThree = 42,
FortyFour = 43,
FortyFive = 44,
FortySix = 45,
FortySeven = 46,
FortyEight = 47,
FortyNine = 48,
Fifty = 49,
FiftyOne = 50,
FiftyTwo = 51,
FiftyThree = 52,
FiftyFour = 53,
FiftyFive = 54,
FiftySix = 55,
FiftySeven = 56,
FiftyEight = 57,
FiftyNine = 58,
Sixty = 59,
SixtyOne = 60,
SixtyTwo = 61,
SixtyThree = 62,
SixtyFour = 63,
}Expand description
Identifier values for Slices, allowing panic-free access to
elements of the internal collection via id*() methods.
Variants§
One = 0
Two = 1
Three = 2
Four = 3
Five = 4
Six = 5
Seven = 6
Eight = 7
Nine = 8
Ten = 9
Eleven = 10
Twelve = 11
Thirteen = 12
Fourteen = 13
Fifteen = 14
Sixteen = 15
Seventeen = 16
Eighteen = 17
Nineteen = 18
Twenty = 19
TwentyOne = 20
TwentyTwo = 21
TwentyThree = 22
TwentyFour = 23
TwentyFive = 24
TwentySix = 25
TwentySeven = 26
TwentyEight = 27
TwentyNine = 28
Thirty = 29
ThirtyOne = 30
ThirtyTwo = 31
ThirtyThree = 32
ThirtyFour = 33
ThirtyFive = 34
ThirtySix = 35
ThirtySeven = 36
ThirtyEight = 37
ThirtyNine = 38
Forty = 39
FortyOne = 40
FortyTwo = 41
FortyThree = 42
FortyFour = 43
FortyFive = 44
FortySix = 45
FortySeven = 46
FortyEight = 47
FortyNine = 48
Fifty = 49
FiftyOne = 50
FiftyTwo = 51
FiftyThree = 52
FiftyFour = 53
FiftyFive = 54
FiftySix = 55
FiftySeven = 56
FiftyEight = 57
FiftyNine = 58
Sixty = 59
SixtyOne = 60
SixtyTwo = 61
SixtyThree = 62
SixtyFour = 63
Implementations§
Trait Implementations§
impl Copy for SliceId
impl Eq for SliceId
Source§impl Ord for SliceId
impl Ord for SliceId
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 PartialOrd for SliceId
impl PartialOrd for SliceId
Source§impl Sequence for SliceId
impl Sequence for SliceId
impl StructuralPartialEq for SliceId
Auto Trait Implementations§
impl Freeze for SliceId
impl RefUnwindSafe for SliceId
impl Send for SliceId
impl Sync for SliceId
impl Unpin for SliceId
impl UnsafeUnpin for SliceId
impl UnwindSafe for SliceId
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more