pub struct Row { /* private fields */ }Implementations§
Source§impl Row
impl Row
Sourcepub fn saturating_add(self, num: u32) -> Self
pub fn saturating_add(self, num: u32) -> Self
Add a number of rows, saturate the value to the highest row number available.
Sourcepub fn saturating_sub(self, num: u32) -> Self
pub fn saturating_sub(self, num: u32) -> Self
Subtract a number of rows, saturate the value to the lowest row number available.
Sourcepub fn checked_add(self, num: u32) -> Option<Self>
pub fn checked_add(self, num: u32) -> Option<Self>
Add a number of rows, checking the value range.
Sourcepub fn checked_sub(self, num: u32) -> Option<Self>
pub fn checked_sub(self, num: u32) -> Option<Self>
Subtract a number of rows, saturate the value to the lowest row number available.
Trait Implementations§
Source§impl AsRangeString for Row
impl AsRangeString for Row
Source§impl Ord for Row
impl Ord for Row
Source§impl PartialOrd for Row
impl PartialOrd for Row
impl Copy for Row
impl Eq for Row
impl StructuralPartialEq for Row
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
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> 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.