pub struct BufferPair<S, D = S>{
    pub source: S,
    pub destination: D,
}Expand description
Struct holding the source and destination buffers of a
Transfer.
Fields§
§source: SSource buffer
destination: DDestination buffer
Trait Implementations§
Source§impl<S, D> AnyBufferPair for BufferPair<S, D>
 
impl<S, D> AnyBufferPair for BufferPair<S, D>
Source§impl<S, D> AsMut<BufferPair<S, D>> for BufferPair<S, D>
 
impl<S, D> AsMut<BufferPair<S, D>> for BufferPair<S, D>
Auto Trait Implementations§
impl<S, D> Freeze for BufferPair<S, D>
impl<S, D> RefUnwindSafe for BufferPair<S, D>where
    S: RefUnwindSafe,
    D: RefUnwindSafe,
impl<S, D> Send for BufferPair<S, D>
impl<S, D> Sync for BufferPair<S, D>
impl<S, D> Unpin for BufferPair<S, D>
impl<S, D> UnwindSafe for BufferPair<S, D>where
    S: UnwindSafe,
    D: UnwindSafe,
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