pub struct SemanticType<'a> {
pub subject: SemanticSubject<'a>,
pub ty: Option<TypeInst>,
}Fields§
§subject: SemanticSubject<'a>§ty: Option<TypeInst>None means the producer has no fact for this exact subject.
Trait Implementations§
Source§impl<'a> Clone for SemanticType<'a>
impl<'a> Clone for SemanticType<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemanticType<'a>
impl<'a> RefUnwindSafe for SemanticType<'a>
impl<'a> Send for SemanticType<'a>
impl<'a> Sync for SemanticType<'a>
impl<'a> Unpin for SemanticType<'a>
impl<'a> UnsafeUnpin for SemanticType<'a>
impl<'a> UnwindSafe for SemanticType<'a>
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