Struct pepper::buffer_view::BufferViewCollection
source · [−]pub struct BufferViewCollection { /* private fields */ }
Implementations
sourceimpl BufferViewCollection
impl BufferViewCollection
pub fn add_new(
&mut self,
client_handle: ClientHandle,
buffer_handle: BufferHandle
) -> BufferViewHandle
pub fn remove_buffer_views(&mut self, buffer_handle: BufferHandle)
pub fn get(&self, handle: BufferViewHandle) -> &BufferView
pub fn get_mut(&mut self, handle: BufferViewHandle) -> &mut BufferView
pub fn iter(&self) -> impl Iterator<Item = &BufferView>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut BufferView>
pub fn buffer_view_handle_from_buffer_handle(
&mut self,
client_handle: ClientHandle,
buffer_handle: BufferHandle
) -> BufferViewHandle
Trait Implementations
sourceimpl Default for BufferViewCollection
impl Default for BufferViewCollection
sourcefn default() -> BufferViewCollection
fn default() -> BufferViewCollection
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BufferViewCollection
impl Send for BufferViewCollection
impl Sync for BufferViewCollection
impl Unpin for BufferViewCollection
impl UnwindSafe for BufferViewCollection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more