pub struct WindowBuffer<T> { /* private fields */ }Implementations§
Source§impl<T> WindowBuffer<T>
impl<T> WindowBuffer<T>
pub fn with_capacity(cap: usize) -> Self
pub fn push(&mut self, item: T) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn values(&self) -> &[T]
pub fn iter(&self) -> impl Iterator<Item = &T>
pub fn as_slice(&self) -> &[T]
pub fn clear(&mut self)
Trait Implementations§
Source§impl<T: Clone> Clone for WindowBuffer<T>
impl<T: Clone> Clone for WindowBuffer<T>
Source§impl<T: Debug> Debug for WindowBuffer<T>
impl<T: Debug> Debug for WindowBuffer<T>
Source§impl<T: PartialEq> PartialEq for WindowBuffer<T>
impl<T: PartialEq> PartialEq for WindowBuffer<T>
Auto Trait Implementations§
impl<T> Freeze for WindowBuffer<T>
impl<T> RefUnwindSafe for WindowBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for WindowBuffer<T>where
T: Send,
impl<T> Sync for WindowBuffer<T>where
T: Sync,
impl<T> Unpin for WindowBuffer<T>where
T: Unpin,
impl<T> UnsafeUnpin for WindowBuffer<T>
impl<T> UnwindSafe for WindowBuffer<T>where
T: 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