pub enum WeakTypeIntent {
Unresolved,
IntentionalJsFfi,
JsFfiNonHost,
IntentionalMacroSyntax,
IntentionalTypeSlotDynamic,
IntentionalDecode,
IntentionalOpen,
ExplicitUnsafe,
DeclaredUnit,
}Variants§
Unresolved
IntentionalJsFfi
JsFfiNonHost
Dynamic in a :js-ffi function at a position that never reaches a host
operation, such as Calcit props, states or callbacks passed through.
IntentionalMacroSyntax
IntentionalTypeSlotDynamic
IntentionalDecode
Dynamic input of a function whose schema declares :decode-boundary:
a reviewed place that checks open data into a concrete type.
IntentionalOpen
Dynamic inside a Fn schema that states why it stays open with
(:open :reflect|:decode|:host), or a calcit.core signature marked
(:open :intrinsic) whose types the checker decides with a built-in rule.
ExplicitUnsafe
DeclaredUnit
Implementations§
Trait Implementations§
Source§impl Clone for WeakTypeIntent
impl Clone for WeakTypeIntent
impl Copy for WeakTypeIntent
Source§impl Debug for WeakTypeIntent
impl Debug for WeakTypeIntent
Source§impl<'de> Deserialize<'de> for WeakTypeIntent
impl<'de> Deserialize<'de> for WeakTypeIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WeakTypeIntent
Source§impl Ord for WeakTypeIntent
impl Ord for WeakTypeIntent
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WeakTypeIntent
impl PartialEq for WeakTypeIntent
Source§impl PartialOrd for WeakTypeIntent
impl PartialOrd for WeakTypeIntent
Source§impl Serialize for WeakTypeIntent
impl Serialize for WeakTypeIntent
impl StructuralPartialEq for WeakTypeIntent
Auto Trait Implementations§
impl Forget for WeakTypeIntent
impl Freeze for WeakTypeIntent
impl Move for WeakTypeIntent
impl RefUnwindSafe for WeakTypeIntent
impl Send for WeakTypeIntent
impl Sync for WeakTypeIntent
impl Unpin for WeakTypeIntent
impl UnsafeUnpin for WeakTypeIntent
impl UnwindSafe for WeakTypeIntent
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