pub struct ByteIndex(pub usize);Expand description
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl AddAssign for ByteIndex
impl AddAssign for ByteIndex
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl AddAssign<usize> for ByteIndex
impl AddAssign<usize> for ByteIndex
Source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+= operation. Read moreimpl Copy for ByteIndex
impl Eq for ByteIndex
Source§impl Ord for ByteIndex
impl Ord for ByteIndex
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 ByteIndex
impl PartialOrd for ByteIndex
impl StructuralPartialEq for ByteIndex
Auto Trait Implementations§
impl Freeze for ByteIndex
impl RefUnwindSafe for ByteIndex
impl Send for ByteIndex
impl Sync for ByteIndex
impl Unpin for ByteIndex
impl UnsafeUnpin for ByteIndex
impl UnwindSafe for ByteIndex
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