pub struct Reading {
pub declaration: Held,
pub binding: Option<Binding>,
pub view: Option<View>,
}Expand description
What a tool read of one consumer’s role (§2.14).
Fields§
§declaration: Held§binding: Option<Binding>The descriptor’s binding, in order; None when the tool read no
consumer’s descriptor, a contract read offline with no consumer
(text 0.2, F-272).
view: Option<View>Its own view, None when it did not listen.
Trait Implementations§
impl Eq for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Readingwhere
*const u8 is !null: Freeze,
PhantomData<Invalid>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Segment>: Freeze,
PhantomData<Entry>: Freeze,
impl Move for Reading
impl RefUnwindSafe for Reading
impl Send for Readingwhere
RawVecInner: Send,
impl Sync for Readingwhere
RawVecInner: Sync,
impl Unpin for Reading
impl UnsafeUnpin for Readingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Invalid>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
PhantomData<Entry>: UnsafeUnpin,
impl UnwindSafe for Readingwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more