pub struct BinaryObjectKey {
pub source: BinarySource,
pub source_kind: BinarySourceKind,
pub asset_index: Option<usize>,
pub path_id: i64,
}Expand description
A globally-unique identifier for a binary object.
path_id is only unique within a single SerializedFile, so we include a source path
(bundle/asset path) and optional bundle asset index.
Fields§
§source: BinarySource§source_kind: BinarySourceKind§asset_index: Option<usize>§path_id: i64Trait Implementations§
Source§impl Clone for BinaryObjectKey
impl Clone for BinaryObjectKey
Source§fn clone(&self) -> BinaryObjectKey
fn clone(&self) -> BinaryObjectKey
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 BinaryObjectKey
impl Debug for BinaryObjectKey
Source§impl Display for BinaryObjectKey
impl Display for BinaryObjectKey
Source§impl FromStr for BinaryObjectKey
impl FromStr for BinaryObjectKey
Source§impl Hash for BinaryObjectKey
impl Hash for BinaryObjectKey
Source§impl PartialEq for BinaryObjectKey
impl PartialEq for BinaryObjectKey
impl Eq for BinaryObjectKey
impl StructuralPartialEq for BinaryObjectKey
Auto Trait Implementations§
impl Freeze for BinaryObjectKey
impl RefUnwindSafe for BinaryObjectKey
impl Send for BinaryObjectKey
impl Sync for BinaryObjectKey
impl Unpin for BinaryObjectKey
impl UnwindSafe for BinaryObjectKey
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.