pub struct ProfileResolution {
pub preference: ProfilePreference,
pub role: ModelRole,
pub source: ProfileResolutionSource,
pub profile: ModelProfile,
pub selectable: bool,
pub reason: String,
}Expand description
Result of resolving a ProfilePreference against the live GPU probe.
Fields§
§preference: ProfilePreference§role: ModelRole§source: ProfileResolutionSource§profile: ModelProfile§selectable: bool§reason: StringTrait Implementations§
Source§impl Clone for ProfileResolution
impl Clone for ProfileResolution
Source§fn clone(&self) -> ProfileResolution
fn clone(&self) -> ProfileResolution
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 moreSource§impl Debug for ProfileResolution
impl Debug for ProfileResolution
impl Eq for ProfileResolution
Source§impl PartialEq for ProfileResolution
impl PartialEq for ProfileResolution
Source§impl Serialize for ProfileResolution
impl Serialize for ProfileResolution
impl StructuralPartialEq for ProfileResolution
Auto Trait Implementations§
impl Freeze for ProfileResolution
impl RefUnwindSafe for ProfileResolution
impl Send for ProfileResolution
impl Sync for ProfileResolution
impl Unpin for ProfileResolution
impl UnsafeUnpin for ProfileResolution
impl UnwindSafe for ProfileResolution
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