Trait TypeDefinitionExtension

Source
pub trait TypeDefinitionExtension {
    // Required methods
    fn is_leaf_type(&self) -> bool;
    fn is_composite_type(&self) -> bool;
    fn is_input_type(&self) -> bool;
    fn is_object_type(&self) -> bool;
    fn is_union_type(&self) -> bool;
    fn is_interface_type(&self) -> bool;
    fn is_enum_type(&self) -> bool;
    fn is_scalar_type(&self) -> bool;
    fn is_abstract_type(&self) -> bool;
    fn name(&self) -> &str;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl TypeDefinitionExtension for Option<&TypeDefinition>

Implementors§