pub enum CheckingType {
Leaf(u32),
Array(Box<CheckingType>),
Tuple(Vec<CheckingType>),
Callable(Vec<CheckingType>, Box<CheckingType>),
}Expand description
Describes a recursive shape using catalog-local leaf references.
Structural nodes form owned trees; nominal record references may be recursive.
§Examples
See CheckingDescription.
Variants§
Leaf(u32)
A nominal catalog reference.
Array(Box<CheckingType>)
A homogeneous array.
Tuple(Vec<CheckingType>)
A source-ordered tuple.
Callable(Vec<CheckingType>, Box<CheckingType>)
Ordered parameters and a result.
Trait Implementations§
Source§impl Clone for CheckingType
impl Clone for CheckingType
Source§impl Debug for CheckingType
impl Debug for CheckingType
Source§impl<'de> Deserialize<'de> for CheckingType
impl<'de> Deserialize<'de> for CheckingType
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 CheckingType
Source§impl Hash for CheckingType
impl Hash for CheckingType
Source§impl Ord for CheckingType
impl Ord for CheckingType
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 CheckingType
impl PartialEq for CheckingType
Source§impl PartialOrd for CheckingType
impl PartialOrd for CheckingType
Source§impl Serialize for CheckingType
impl Serialize for CheckingType
impl StructuralPartialEq for CheckingType
Auto Trait Implementations§
impl Freeze for CheckingType
impl RefUnwindSafe for CheckingType
impl Send for CheckingType
impl Sync for CheckingType
impl Unpin for CheckingType
impl UnsafeUnpin for CheckingType
impl UnwindSafe for CheckingType
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