pub struct Scope {
pub bindings: BTreeMap<String, TypeDesc>,
pub absent: BTreeSet<String>,
}Expand description
Named view, shared, or component data, including names omitted by serialization.
Fields§
§bindings: BTreeMap<String, TypeDesc>Types of bindings when present.
absent: BTreeSet<String>Bindings that can be absent, even when their value type is non-null.
Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a Scope
impl<'a> IntoIterator for &'a Scope
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scope
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scopewhere
*const LeafNode<String, TypeDesc> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, TypeDesc)>>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Scope
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