pub struct PayloadLocator {
pub blob_index: u32,
pub offset: u64,
pub len: u64,
}Expand description
Points to an asset’s compiled binary payload within the data blob files.
Fields§
§blob_index: u32Index into the blob file list (0 = data/0, 1 = data/1, …).
offset: u64Byte offset into the payload section of the target blob.
len: u64Byte length of the payload.
Trait Implementations§
Source§impl Clone for PayloadLocator
impl Clone for PayloadLocator
Source§fn clone(&self) -> PayloadLocator
fn clone(&self) -> PayloadLocator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PayloadLocator
impl Debug for PayloadLocator
Source§impl<'de> Deserialize<'de> for PayloadLocator
impl<'de> Deserialize<'de> for PayloadLocator
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PayloadLocator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PayloadLocator, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PayloadLocator
impl PartialEq for PayloadLocator
Source§impl Serialize for PayloadLocator
impl Serialize for PayloadLocator
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PayloadLocator
Auto Trait Implementations§
impl Freeze for PayloadLocator
impl RefUnwindSafe for PayloadLocator
impl Send for PayloadLocator
impl Sync for PayloadLocator
impl Unpin for PayloadLocator
impl UnsafeUnpin for PayloadLocator
impl UnwindSafe for PayloadLocator
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