Enum graphql_tools::ast::type_info::TypeInfoElementRef [−][src]
pub enum TypeInfoElementRef<T> {
Empty,
Ref(T),
}
Expand description
This struct is used to mark a “node” or nothing (null, undefined). While tracking TypeInfo, we need to check if there was a node before or not.
Variants
Empty
Ref(T)
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TypeInfoElementRef<T> where
T: RefUnwindSafe,
impl<T> Send for TypeInfoElementRef<T> where
T: Send,
impl<T> Sync for TypeInfoElementRef<T> where
T: Sync,
impl<T> Unpin for TypeInfoElementRef<T> where
T: Unpin,
impl<T> UnwindSafe for TypeInfoElementRef<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more