#[non_exhaustive]pub struct ResolvedSet {
pub source: Source,
pub set: PropertySet,
pub shadowed: Option<Box<ResolvedSet>>,
}Expand description
A property set that applies to an object, with its provenance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: SourceWhere it came from.
set: PropertySetThe set itself.
shadowed: Option<Box<ResolvedSet>>A same-named set this one overrode, if any.
Populated when an occurrence set shadows a type set. Kept rather than dropped so a caller can explain WHY a value differs from the type default, which is a question every model checker eventually asks.
Trait Implementations§
Source§impl Clone for ResolvedSet
impl Clone for ResolvedSet
Source§fn clone(&self) -> ResolvedSet
fn clone(&self) -> ResolvedSet
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 ResolvedSet
impl Debug for ResolvedSet
Source§impl PartialEq for ResolvedSet
impl PartialEq for ResolvedSet
impl StructuralPartialEq for ResolvedSet
Auto Trait Implementations§
impl Freeze for ResolvedSet
impl RefUnwindSafe for ResolvedSet
impl Send for ResolvedSet
impl Sync for ResolvedSet
impl Unpin for ResolvedSet
impl UnsafeUnpin for ResolvedSet
impl UnwindSafe for ResolvedSet
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