pub struct Reads {
pub names: BTreeSet<String>,
pub state_keys: Option<BTreeSet<String>>,
}Expand description
What an expression’s text reads.
Fields§
§names: BTreeSet<String>Every name it reads as a variable.
state_keys: Option<BTreeSet<String>>The state keys it reads as state.<key>; None when it reads
state some other way (all of it).
Trait Implementations§
impl Eq for Reads
impl StructuralPartialEq for Reads
Auto Trait Implementations§
impl Forget for Reads
impl Freeze for Reads
impl Move for Reads
impl RefUnwindSafe for Reads
impl Send for Reads
impl Sync for Reads
impl Unpin for Reads
impl UnsafeUnpin for Reads
impl UnwindSafe for Reads
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,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.