Trait OwningBufferExt

Source
pub trait OwningBufferExt<'a>: OwningBuffer<'a> {
    // Provided method
    fn append<'b, B: BorrowedBuffer<'b> + ?Sized>(&mut self, other: &B) { ... }
}

Provided Methods§

Source

fn append<'b, B: BorrowedBuffer<'b> + ?Sized>(&mut self, other: &B)

Appends data from the given buffer to the end of this buffer

§Panics

If self.point_layout() does not equal other.point_layout()

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> OwningBufferExt<'a> for dyn OwningBuffer<'a> + 'a

Source§

impl<'a, T: OwningBuffer<'a>> OwningBufferExt<'a> for T