pub struct PlacementHints {
pub min_free_bytes: usize,
pub min_compute_cap: Option<(i32, i32)>,
pub priority: Option<Priority>,
}Fields§
§min_free_bytes: usize§min_compute_cap: Option<(i32, i32)>§priority: Option<Priority>Trait Implementations§
Source§impl Clone for PlacementHints
impl Clone for PlacementHints
Source§fn clone(&self) -> PlacementHints
fn clone(&self) -> PlacementHints
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 PlacementHints
impl Debug for PlacementHints
Source§impl Default for PlacementHints
impl Default for PlacementHints
Source§fn default() -> PlacementHints
fn default() -> PlacementHints
Returns the “default value” for a type. Read more
impl Copy for PlacementHints
Auto Trait Implementations§
impl Freeze for PlacementHints
impl RefUnwindSafe for PlacementHints
impl Send for PlacementHints
impl Sync for PlacementHints
impl Unpin for PlacementHints
impl UnsafeUnpin for PlacementHints
impl UnwindSafe for PlacementHints
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