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§impl PartialOrd for PackLocation
impl PartialOrd for PackLocation
Source§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