pub struct ResolvedSettingV2 { /* private fields */ }Expand description
One fully materialized revision-2 setting and its value origin.
Implementations§
Source§impl ResolvedSettingV2
impl ResolvedSettingV2
Sourcepub const fn value(&self) -> &SettingValueV2
pub const fn value(&self) -> &SettingValueV2
Closed resolved value.
Sourcepub const fn origin(&self) -> ResolvedSettingOriginV2
pub const fn origin(&self) -> ResolvedSettingOriginV2
Explicit/default value origin.
Trait Implementations§
Source§impl Clone for ResolvedSettingV2
impl Clone for ResolvedSettingV2
Source§fn clone(&self) -> ResolvedSettingV2
fn clone(&self) -> ResolvedSettingV2
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 ResolvedSettingV2
impl Debug for ResolvedSettingV2
impl Eq for ResolvedSettingV2
Source§impl Ord for ResolvedSettingV2
impl Ord for ResolvedSettingV2
Source§fn cmp(&self, other: &ResolvedSettingV2) -> Ordering
fn cmp(&self, other: &ResolvedSettingV2) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResolvedSettingV2
impl PartialEq for ResolvedSettingV2
Source§impl PartialOrd for ResolvedSettingV2
impl PartialOrd for ResolvedSettingV2
impl StructuralPartialEq for ResolvedSettingV2
Auto Trait Implementations§
impl Freeze for ResolvedSettingV2
impl RefUnwindSafe for ResolvedSettingV2
impl Send for ResolvedSettingV2
impl Sync for ResolvedSettingV2
impl Unpin for ResolvedSettingV2
impl UnsafeUnpin for ResolvedSettingV2
impl UnwindSafe for ResolvedSettingV2
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