Enum gif::reader::decoder::OutputBuffer
source · pub enum OutputBuffer<'a> {
Slice(&'a mut [u8]),
Vec(&'a mut Vec<u8>),
None,
}
Expand description
Destination to write to for StreamingDecoder::update
Variants§
Implementations§
source§impl<'a> OutputBuffer<'a>
impl<'a> OutputBuffer<'a>
fn append( &mut self, buf: &[u8], memory_limit: &MemoryLimit, ) -> Result<(usize, usize), DecodingError>
Auto Trait Implementations§
impl<'a> Freeze for OutputBuffer<'a>
impl<'a> RefUnwindSafe for OutputBuffer<'a>
impl<'a> Send for OutputBuffer<'a>
impl<'a> Sync for OutputBuffer<'a>
impl<'a> Unpin for OutputBuffer<'a>
impl<'a> !UnwindSafe for OutputBuffer<'a>
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