pub struct TierChoice {
pub tier: AtlasTier,
pub rule: TierRule,
pub device_memory: Option<u64>,
}Expand description
The resolved tier, with what decided it.
Fields§
§tier: AtlasTierThe tier.
rule: TierRuleThe rule that chose it.
device_memory: Option<u64>The device memory the choice was made against, when it was known.
Trait Implementations§
Source§impl Clone for TierChoice
impl Clone for TierChoice
impl Copy for TierChoice
Source§impl Debug for TierChoice
impl Debug for TierChoice
impl Eq for TierChoice
Source§impl PartialEq for TierChoice
impl PartialEq for TierChoice
impl StructuralPartialEq for TierChoice
Auto Trait Implementations§
impl Freeze for TierChoice
impl RefUnwindSafe for TierChoice
impl Send for TierChoice
impl Sync for TierChoice
impl Unpin for TierChoice
impl UnsafeUnpin for TierChoice
impl UnwindSafe for TierChoice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.