Struct abxml::model::owned::ResourcesBuf
source · pub struct ResourcesBuf { /* private fields */ }
Implementations
sourceimpl ResourcesBuf
impl ResourcesBuf
pub fn push_resource(&mut self, resource: u32)
pub fn pop_resource(&mut self) -> Option<u32>
Trait Implementations
sourceimpl Debug for ResourcesBuf
impl Debug for ResourcesBuf
sourceimpl Default for ResourcesBuf
impl Default for ResourcesBuf
sourcefn default() -> ResourcesBuf
fn default() -> ResourcesBuf
Returns the “default value” for a type. Read more
sourceimpl OwnedBuf for ResourcesBuf
impl OwnedBuf for ResourcesBuf
sourcefn get_body_data(&self) -> Result<Vec<u8>, Error>
fn get_body_data(&self) -> Result<Vec<u8>, Error>
Return the bytes corresponding to chunk’s body
sourcefn get_header(&self) -> Result<Vec<u8>, Error>
fn get_header(&self) -> Result<Vec<u8>, Error>
Return the bytes corresponding to chunk’s header
Auto Trait Implementations
impl RefUnwindSafe for ResourcesBuf
impl Send for ResourcesBuf
impl Sync for ResourcesBuf
impl Unpin for ResourcesBuf
impl UnwindSafe for ResourcesBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more