pub struct StorePosition(/* private fields */);Implementations§
Source§impl StorePosition
impl StorePosition
pub const BEFORE_FIRST: Self
pub fn through(id: StoreRecordId) -> Self
pub fn from_raw(raw: u64) -> Self
pub fn get(self) -> Option<StoreRecordId>
pub fn raw(self) -> u64
pub fn contains(self, id: StoreRecordId) -> bool
Trait Implementations§
Source§impl Clone for StorePosition
impl Clone for StorePosition
Source§fn clone(&self) -> StorePosition
fn clone(&self) -> StorePosition
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 StorePosition
Source§impl Debug for StorePosition
impl Debug for StorePosition
Source§impl Default for StorePosition
impl Default for StorePosition
Source§fn default() -> StorePosition
fn default() -> StorePosition
Returns the “default value” for a type. Read more
impl Eq for StorePosition
Source§impl Hash for StorePosition
impl Hash for StorePosition
Source§impl Ord for StorePosition
impl Ord for StorePosition
Source§fn cmp(&self, other: &StorePosition) -> Ordering
fn cmp(&self, other: &StorePosition) -> 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 StorePosition
impl PartialEq for StorePosition
Source§fn eq(&self, other: &StorePosition) -> bool
fn eq(&self, other: &StorePosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StorePosition
impl PartialOrd for StorePosition
impl StructuralPartialEq for StorePosition
Auto Trait Implementations§
impl Freeze for StorePosition
impl RefUnwindSafe for StorePosition
impl Send for StorePosition
impl Sync for StorePosition
impl Unpin for StorePosition
impl UnsafeUnpin for StorePosition
impl UnwindSafe for StorePosition
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