pub struct LocationIndex(pub u16);Expand description
Offset of a byte within a page. Postgres’s LocationIndex.
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for LocationIndex
impl Clone for LocationIndex
Source§fn clone(&self) -> LocationIndex
fn clone(&self) -> LocationIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocationIndex
impl Debug for LocationIndex
Source§impl From<LocationIndex> for usize
impl From<LocationIndex> for usize
Source§fn from(location: LocationIndex) -> Self
fn from(location: LocationIndex) -> Self
Converts to this type from the input type.
Source§impl Hash for LocationIndex
impl Hash for LocationIndex
Source§impl Ord for LocationIndex
impl Ord for LocationIndex
Source§fn cmp(&self, other: &LocationIndex) -> Ordering
fn cmp(&self, other: &LocationIndex) -> Ordering
1.21.0 · 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 LocationIndex
impl PartialEq for LocationIndex
Source§impl PartialOrd for LocationIndex
impl PartialOrd for LocationIndex
impl Copy for LocationIndex
impl Eq for LocationIndex
impl StructuralPartialEq for LocationIndex
Auto Trait Implementations§
impl Freeze for LocationIndex
impl RefUnwindSafe for LocationIndex
impl Send for LocationIndex
impl Sync for LocationIndex
impl Unpin for LocationIndex
impl UnsafeUnpin for LocationIndex
impl UnwindSafe for LocationIndex
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