pub struct Stream {
pub path: RawStr,
pub offset: i128,
pub size: i128,
}Expand description
Shared streamed texture spans and Python slicing.
m_StreamData, retaining signed and wide integers until read.
Fields§
§path: RawStrThe resource path as read.
offset: i128The reader’s offset.
size: i128The read size; -1 reads to the end.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Stream
impl !RefUnwindSafe for Stream
impl !UnwindSafe for Stream
impl Forget for Stream
impl Move for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
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