pub enum ScalarSafetySubject {
Value(ValueFactId),
Owns(OwnsFactId),
}Expand description
Scalar annotation subject that can be represented by the assertion algebra.
Variants§
Value(ValueFactId)
Every instance of one attribute value declaration.
Owns(OwnsFactId)
Values reached through one exact effective ownership.
Trait Implementations§
Source§impl Clone for ScalarSafetySubject
impl Clone for ScalarSafetySubject
Source§fn clone(&self) -> ScalarSafetySubject
fn clone(&self) -> ScalarSafetySubject
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 ScalarSafetySubject
impl Debug for ScalarSafetySubject
impl Eq for ScalarSafetySubject
Source§impl PartialEq for ScalarSafetySubject
impl PartialEq for ScalarSafetySubject
Source§impl Serialize for ScalarSafetySubject
impl Serialize for ScalarSafetySubject
impl StructuralPartialEq for ScalarSafetySubject
Auto Trait Implementations§
impl Freeze for ScalarSafetySubject
impl RefUnwindSafe for ScalarSafetySubject
impl Send for ScalarSafetySubject
impl Sync for ScalarSafetySubject
impl Unpin for ScalarSafetySubject
impl UnsafeUnpin for ScalarSafetySubject
impl UnwindSafe for ScalarSafetySubject
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