pub struct StorageExclude { /* private fields */ }
Expand description
Exclude certain storage buffers from being selected when reserving memory.
Implementations§
Source§impl StorageExclude
impl StorageExclude
Sourcepub fn exclude_storage(&mut self, storage: StorageId)
pub fn exclude_storage(&mut self, storage: StorageId)
Add a storage buffer to the exclusion list.
Sourcepub fn is_excluded(&self, storage: StorageId) -> bool
pub fn is_excluded(&self, storage: StorageId) -> bool
Check if a storage buffer is excluded.
Trait Implementations§
Source§impl Clone for StorageExclude
impl Clone for StorageExclude
Source§fn clone(&self) -> StorageExclude
fn clone(&self) -> StorageExclude
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StorageExclude
impl Debug for StorageExclude
Source§impl Default for StorageExclude
impl Default for StorageExclude
Source§fn default() -> StorageExclude
fn default() -> StorageExclude
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageExclude
impl RefUnwindSafe for StorageExclude
impl Send for StorageExclude
impl Sync for StorageExclude
impl Unpin for StorageExclude
impl UnwindSafe for StorageExclude
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