pub enum ShapeKey {
Scalar(ScalarKind, bool),
Ref,
Any,
}Expand description
A field’s target-blind shape: Scalar(kind, nullable), Ref (the
target record’s name is deliberately excluded – see the module doc
comment), or Any.
Variants§
Scalar(ScalarKind, bool)
A scalar shape with kind and nullability.
Ref
A reference to a record in the environment.
Any
An any type slot.
Trait Implementations§
impl Eq for ShapeKey
impl StructuralPartialEq for ShapeKey
Auto Trait Implementations§
impl Freeze for ShapeKey
impl RefUnwindSafe for ShapeKey
impl Send for ShapeKey
impl Sync for ShapeKey
impl Unpin for ShapeKey
impl UnsafeUnpin for ShapeKey
impl UnwindSafe for ShapeKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more