pub struct NonzeroValueLocation {
pub file_id: FileId,
pub file_offset: u64,
pub length: u64,
}Expand description
Storage location info for a non-zero-length value.
Fields§
§file_id: FileId§file_offset: u64§length: u64Trait Implementations§
Source§impl Clone for NonzeroValueLocation
impl Clone for NonzeroValueLocation
Source§fn clone(&self) -> NonzeroValueLocation
fn clone(&self) -> NonzeroValueLocation
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 NonzeroValueLocation
impl Debug for NonzeroValueLocation
Source§impl Ord for NonzeroValueLocation
impl Ord for NonzeroValueLocation
Source§fn cmp(&self, other: &NonzeroValueLocation) -> Ordering
fn cmp(&self, other: &NonzeroValueLocation) -> 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 NonzeroValueLocation
impl PartialEq for NonzeroValueLocation
Source§impl PartialOrd for NonzeroValueLocation
impl PartialOrd for NonzeroValueLocation
impl Copy for NonzeroValueLocation
impl Eq for NonzeroValueLocation
impl StructuralPartialEq for NonzeroValueLocation
Auto Trait Implementations§
impl Freeze for NonzeroValueLocation
impl RefUnwindSafe for NonzeroValueLocation
impl Send for NonzeroValueLocation
impl Sync for NonzeroValueLocation
impl Unpin for NonzeroValueLocation
impl UnwindSafe for NonzeroValueLocation
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