pub struct OccupancyMaxPotentialBlockSize {
pub min_grid_size: i32,
pub block_size: i32,
}Fields§
§min_grid_size: i32§block_size: i32Trait Implementations§
Source§impl Clone for OccupancyMaxPotentialBlockSize
impl Clone for OccupancyMaxPotentialBlockSize
Source§fn clone(&self) -> OccupancyMaxPotentialBlockSize
fn clone(&self) -> OccupancyMaxPotentialBlockSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OccupancyMaxPotentialBlockSize
impl Eq for OccupancyMaxPotentialBlockSize
Source§impl PartialEq for OccupancyMaxPotentialBlockSize
impl PartialEq for OccupancyMaxPotentialBlockSize
Source§fn eq(&self, other: &OccupancyMaxPotentialBlockSize) -> bool
fn eq(&self, other: &OccupancyMaxPotentialBlockSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OccupancyMaxPotentialBlockSize
Auto Trait Implementations§
impl Freeze for OccupancyMaxPotentialBlockSize
impl RefUnwindSafe for OccupancyMaxPotentialBlockSize
impl Send for OccupancyMaxPotentialBlockSize
impl Sync for OccupancyMaxPotentialBlockSize
impl Unpin for OccupancyMaxPotentialBlockSize
impl UnsafeUnpin for OccupancyMaxPotentialBlockSize
impl UnwindSafe for OccupancyMaxPotentialBlockSize
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