pub enum PackLocation {
NotLookedUp,
LookedUp(Option<Location>),
}
Available on crate feature
generate
only.Expand description
Specifies how the pack location was handled during counting
Variants§
NotLookedUp
We did not lookup this object
LookedUp(Option<Location>)
The object was looked up and there may be a location in a pack, along with entry information
Implementations§
Trait Implementations§
source§impl Clone for PackLocation
impl Clone for PackLocation
source§fn clone(&self) -> PackLocation
fn clone(&self) -> PackLocation
Returns a copy 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 PackLocation
impl Debug for PackLocation
source§impl<'de> Deserialize<'de> for PackLocation
impl<'de> Deserialize<'de> for PackLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PackLocation
impl Hash for PackLocation
source§impl Ord for PackLocation
impl Ord for PackLocation
source§fn cmp(&self, other: &PackLocation) -> Ordering
fn cmp(&self, other: &PackLocation) -> 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 PackLocation
impl PartialEq for PackLocation
source§fn eq(&self, other: &PackLocation) -> bool
fn eq(&self, other: &PackLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PackLocation
impl PartialOrd for PackLocation
source§fn partial_cmp(&self, other: &PackLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &PackLocation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PackLocation
impl Serialize for PackLocation
impl Eq for PackLocation
impl StructuralPartialEq for PackLocation
Auto Trait Implementations§
impl Freeze for PackLocation
impl RefUnwindSafe for PackLocation
impl Send for PackLocation
impl Sync for PackLocation
impl Unpin for PackLocation
impl UnwindSafe for PackLocation
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)