pub enum DefragmentationResource {
Buffer(Buffer),
Image(Image),
Unassociated,
}Expand description
Allocator-recorded primary resource, or raw storage, associated with a move.
Variants§
Buffer(Buffer)
Image(Image)
Unassociated
Raw storage without an allocator-recorded resource. External bindings and all resources using this storage remain the caller’s responsibility.
Trait Implementations§
Source§impl Clone for DefragmentationResource
impl Clone for DefragmentationResource
impl Copy for DefragmentationResource
Source§impl Debug for DefragmentationResource
impl Debug for DefragmentationResource
impl Eq for DefragmentationResource
Source§impl PartialEq for DefragmentationResource
impl PartialEq for DefragmentationResource
impl StructuralPartialEq for DefragmentationResource
Auto Trait Implementations§
impl Forget for DefragmentationResource
impl Freeze for DefragmentationResource
impl RefUnwindSafe for DefragmentationResource
impl Send for DefragmentationResource
impl Sync for DefragmentationResource
impl Unpin for DefragmentationResource
impl UnsafeUnpin for DefragmentationResource
impl UnwindSafe for DefragmentationResource
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