#[repr(transparent)]pub struct SparsePageSize(pub Integer);Expand description
Sparse page size for sparse resources.
C++ equivalent: MTL::SparsePageSize
Tuple Fields§
§0: IntegerImplementations§
Trait Implementations§
Source§impl Clone for SparsePageSize
impl Clone for SparsePageSize
Source§fn clone(&self) -> SparsePageSize
fn clone(&self) -> SparsePageSize
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 SparsePageSize
impl Debug for SparsePageSize
Source§impl Default for SparsePageSize
impl Default for SparsePageSize
Source§fn default() -> SparsePageSize
fn default() -> SparsePageSize
Returns the “default value” for a type. Read more
Source§impl Hash for SparsePageSize
impl Hash for SparsePageSize
Source§impl PartialEq for SparsePageSize
impl PartialEq for SparsePageSize
impl Copy for SparsePageSize
impl Eq for SparsePageSize
impl StructuralPartialEq for SparsePageSize
Auto Trait Implementations§
impl Freeze for SparsePageSize
impl RefUnwindSafe for SparsePageSize
impl Send for SparsePageSize
impl Sync for SparsePageSize
impl Unpin for SparsePageSize
impl UnwindSafe for SparsePageSize
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