fn from_resolver(
        resolver: TypeInfoResolver<'p>,
        original: &'p syn::Type,
    ) -> TypeInfo<'s>
    {
        // Resolve default values.
        // NOTE: The existence of the array length value identifies an array type and
        // is therefor passed as-is here.
        let pass_by = resolver.pass_by.unwrap_or( PassBy::Value );
        let is_mutable = resolver.is_mutable.unwrap_or( false );

        TypeInfo{
            rust_type: resolver.rust_type,
            pass_by,
            is_mutable,
            array_length: resolver.array_length,
            original,
        }
    }
/// Initializes the type info from resolver which has resolved the type.
Initializes the type info from resolver which has resolved the type.
Initializes the type info from resolver which has resolved the type .
fn from_resolver(
        resolver: TypeInfoResolver<'p>,
        original: &'p syn::Type,
    ) -> TypeInfo<'s>
    {
        // Resolve default values.
        // NOTE: The existence of the array length value identifies an array type and
        // is therefor passed as-is here.
        let pass_by = resolver.pass_by.unwrap_or( PassBy::Value );
        let is_mutable = resolver.is_mutable.unwrap_or( false );
        TypeInfo{
            rust_type: resolver.rust_type,
            pass_by,
            is_mutable,
            array_length: resolver.array_length,
            original,
        }
    }
fn from_resolver ( resolver : TypeInfoResolver < ' p > , original : & ' p syn :: Type , ) -> TypeInfo < ' s > { // Resolve default values. // NOTE: The existence of the array length value identifies an array type and // is therefor passed as-is here. let pass_by = resolver . pass_by . unwrap_or ( PassBy :: Value ) ; let is_mutable = resolver . is_mutable . unwrap_or ( false ) ; TypeInfo { rust_type : resolver . rust_type , pass_by , is_mutable , array_length : resolver . array_length , original , } }
Initializes the type info from resolver which has resolved the type.
Initializes the type info from resolver which has resolved the type .
resolver
TypeInfoResolver<'p>
original
&'p syn::Type