pub struct AssetEntryHeadingPair {
pub byte_length: u64,
pub relative_offset: u64,
}Fields§
§byte_length: u64§relative_offset: u64Implementations§
Source§impl AssetEntryHeadingPair
impl AssetEntryHeadingPair
pub fn write(&self, writer: &mut (impl Write + ?Sized)) -> IOResult<usize>
pub fn read(reader: &mut (impl BufRead + ?Sized)) -> IOResult<Self>
pub async fn read_async( reader: Pin<&mut (impl AsyncBufRead + ?Sized)>, ) -> IOResult<Self>
pub fn from_bytes_head(bytes: &[u8]) -> (Self, usize)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetEntryHeadingPair
impl RefUnwindSafe for AssetEntryHeadingPair
impl Send for AssetEntryHeadingPair
impl Sync for AssetEntryHeadingPair
impl Unpin for AssetEntryHeadingPair
impl UnwindSafe for AssetEntryHeadingPair
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