Trait from_attr::ConvertParsed

source ·
pub trait ConvertParsed: Sized {
    type Type;

    // Required method
    fn convert(path_value: PathValue<Self::Type>) -> Result<Self>;

    // Provided methods
    fn default() -> Option<Self> { ... }
    fn flag() -> Option<Self::Type> { ... }
}
Expand description

Helper trait to convert syn types implementing Parse like LitStr to rust types like String

You probably don’t need to implement this trait, as most syn types like LitStr and Type or that have a direct equivalent in those like String, char or f32 are already implemented. A special treatment have Vec which are parsed with the syntax [a, b, c].

Required Associated Types§

source

type Type

The type this can be converted from

Required Methods§

source

fn convert(path_value: PathValue<Self::Type>) -> Result<Self>

Convert the PathValue<Self::Type> to self.

Provided Methods§

source

fn default() -> Option<Self>

Returns the value when this type is not specified.

source

fn flag() -> Option<Self::Type>

Returns the value when this type is specified as flag.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ConvertParsed for TokenTree

§

type Type = TokenTree

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Meta

§

type Type = Meta

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Expr

§

type Type = Expr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Member

§

type Type = Member

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for RangeLimits

Available on crate feature syn-full only.
§

type Type = RangeLimits

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for GenericParam

§

type Type = GenericParam

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitBoundModifier

§

type Type = TraitBoundModifier

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeParamBound

§

type Type = TypeParamBound

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for WherePredicate

§

type Type = WherePredicate

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for FnArg

Available on crate feature syn-full only.
§

type Type = FnArg

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ForeignItem

Available on crate feature syn-full only.
§

type Type = ForeignItem

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ImplItem

Available on crate feature syn-full only.
§

type Type = ImplItem

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Item

Available on crate feature syn-full only.
§

type Type = Item

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitItem

Available on crate feature syn-full only.
§

type Type = TraitItem

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for UseTree

Available on crate feature syn-full only.
§

type Type = UseTree

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Lit

§

type Type = Lit

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for BinOp

§

type Type = BinOp

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for UnOp

§

type Type = UnOp

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Pat

Available on crate feature syn-full only.
§

type Type = Pat

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for GenericArgument

§

type Type = GenericArgument

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Visibility

§

type Type = Visibility

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Stmt

Available on crate feature syn-full only.
§

type Type = Stmt

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ReturnType

§

type Type = ReturnType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Type

§

type Type = Type

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for bool

§

type Type = LitBool

source§

fn convert(path_value: PathValue<Self::Type>) -> Result<Self>

source§

fn default() -> Option<Self>

source§

fn flag() -> Option<Self::Type>

source§

impl ConvertParsed for char

source§

impl ConvertParsed for f32

source§

impl ConvertParsed for f64

source§

impl ConvertParsed for i8

source§

impl ConvertParsed for i16

source§

impl ConvertParsed for i32

source§

impl ConvertParsed for i64

source§

impl ConvertParsed for i128

source§

impl ConvertParsed for isize

source§

impl ConvertParsed for u8

source§

impl ConvertParsed for u16

source§

impl ConvertParsed for u32

source§

impl ConvertParsed for u64

source§

impl ConvertParsed for u128

source§

impl ConvertParsed for usize

source§

impl ConvertParsed for String

source§

impl ConvertParsed for Group

§

type Type = Group

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Ident

§

type Type = Ident

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Literal

§

type Type = Literal

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Punct

§

type Type = Punct

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for MetaList

§

type Type = MetaList

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for MetaNameValue

§

type Type = MetaNameValue

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for FieldsNamed

§

type Type = FieldsNamed

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for FieldsUnnamed

§

type Type = FieldsUnnamed

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Variant

§

type Type = Variant

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for DeriveInput

§

type Type = DeriveInput

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Arm

Available on crate feature syn-full only.
§

type Type = Arm

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprArray

§

type Type = ExprArray

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprAssign

§

type Type = ExprAssign

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprAsync

§

type Type = ExprAsync

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprBinary

§

type Type = ExprBinary

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprBlock

§

type Type = ExprBlock

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprBreak

§

type Type = ExprBreak

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprCall

§

type Type = ExprCall

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprCast

§

type Type = ExprCast

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprClosure

§

type Type = ExprClosure

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprContinue

§

type Type = ExprContinue

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprField

§

type Type = ExprField

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprForLoop

§

type Type = ExprForLoop

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprIf

§

type Type = ExprIf

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprIndex

§

type Type = ExprIndex

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprLet

§

type Type = ExprLet

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprLit

§

type Type = ExprLit

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprLoop

§

type Type = ExprLoop

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprMacro

§

type Type = ExprMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprMatch

§

type Type = ExprMatch

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprMethodCall

§

type Type = ExprMethodCall

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprParen

§

type Type = ExprParen

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprPath

§

type Type = ExprPath

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprRange

§

type Type = ExprRange

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprReference

§

type Type = ExprReference

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprRepeat

§

type Type = ExprRepeat

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprReturn

§

type Type = ExprReturn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprStruct

§

type Type = ExprStruct

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprTry

§

type Type = ExprTry

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprTryBlock

§

type Type = ExprTryBlock

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprTuple

§

type Type = ExprTuple

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprUnary

§

type Type = ExprUnary

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprUnsafe

§

type Type = ExprUnsafe

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprWhile

§

type Type = ExprWhile

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ExprYield

§

type Type = ExprYield

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for FieldValue

§

type Type = FieldValue

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Index

§

type Type = Index

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Label

Available on crate feature syn-full only.
§

type Type = Label

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for File

Available on crate feature syn-full only.
§

type Type = File

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for BoundLifetimes

§

type Type = BoundLifetimes

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ConstParam

§

type Type = ConstParam

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Generics

§

type Type = Generics

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitBound

§

type Type = TraitBound

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeParam

§

type Type = TypeParam

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for WhereClause

§

type Type = WhereClause

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ForeignItemFn

Available on crate feature syn-full only.
§

type Type = ForeignItemFn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ForeignItemMacro

Available on crate feature syn-full only.
§

type Type = ForeignItemMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ForeignItemStatic

Available on crate feature syn-full only.
§

type Type = ForeignItemStatic

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ForeignItemType

Available on crate feature syn-full only.
§

type Type = ForeignItemType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ImplItemConst

Available on crate feature syn-full only.
§

type Type = ImplItemConst

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ImplItemMacro

Available on crate feature syn-full only.
§

type Type = ImplItemMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ImplItemType

Available on crate feature syn-full only.
§

type Type = ImplItemType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemConst

Available on crate feature syn-full only.
§

type Type = ItemConst

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemEnum

Available on crate feature syn-full only.
§

type Type = ItemEnum

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemExternCrate

Available on crate feature syn-full only.
§

type Type = ItemExternCrate

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemFn

Available on crate feature syn-full only.
§

type Type = ItemFn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemForeignMod

Available on crate feature syn-full only.
§

type Type = ItemForeignMod

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemImpl

Available on crate feature syn-full only.
§

type Type = ItemImpl

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemMacro

Available on crate feature syn-full only.
§

type Type = ItemMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemMod

Available on crate feature syn-full only.
§

type Type = ItemMod

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemStatic

Available on crate feature syn-full only.
§

type Type = ItemStatic

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemStruct

Available on crate feature syn-full only.
§

type Type = ItemStruct

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemTrait

Available on crate feature syn-full only.
§

type Type = ItemTrait

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemTraitAlias

Available on crate feature syn-full only.
§

type Type = ItemTraitAlias

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemType

Available on crate feature syn-full only.
§

type Type = ItemType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemUnion

Available on crate feature syn-full only.
§

type Type = ItemUnion

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ItemUse

Available on crate feature syn-full only.
§

type Type = ItemUse

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Receiver

Available on crate feature syn-full only.
§

type Type = Receiver

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Signature

Available on crate feature syn-full only.
§

type Type = Signature

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitItemConst

Available on crate feature syn-full only.
§

type Type = TraitItemConst

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitItemMacro

Available on crate feature syn-full only.
§

type Type = TraitItemMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TraitItemType

Available on crate feature syn-full only.
§

type Type = TraitItemType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Lifetime

§

type Type = Lifetime

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitBool

§

type Type = LitBool

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitByteStr

§

type Type = LitByteStr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitChar

§

type Type = LitChar

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitFloat

§

type Type = LitFloat

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitInt

§

type Type = LitInt

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LitStr

§

type Type = LitStr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Macro

§

type Type = Macro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for AngleBracketedGenericArguments

source§

impl ConvertParsed for Constraint

§

type Type = Constraint

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ParenthesizedGenericArguments

source§

impl ConvertParsed for Path

§

type Type = Path

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for PathSegment

§

type Type = PathSegment

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Block

Available on crate feature syn-full only.
§

type Type = Block

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Abstract

§

type Type = Abstract

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for And

§

type Type = And

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for AndAnd

§

type Type = AndAnd

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for AndEq

§

type Type = AndEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for As

§

type Type = As

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Async

§

type Type = Async

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for At

§

type Type = At

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Auto

§

type Type = Auto

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Await

§

type Type = Await

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Become

§

type Type = Become

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Box

§

type Type = Box

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Break

§

type Type = Break

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Caret

§

type Type = Caret

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for CaretEq

§

type Type = CaretEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Colon

§

type Type = Colon

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Comma

§

type Type = Comma

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Const

§

type Type = Const

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Continue

§

type Type = Continue

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Crate

§

type Type = Crate

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Default

§

type Type = Default

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Do

§

type Type = Do

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Dollar

§

type Type = Dollar

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Dot

§

type Type = Dot

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for DotDot

§

type Type = DotDot

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for DotDotDot

§

type Type = DotDotDot

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for DotDotEq

§

type Type = DotDotEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Dyn

§

type Type = Dyn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Else

§

type Type = Else

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Enum

§

type Type = Enum

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Eq

§

type Type = Eq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for EqEq

§

type Type = EqEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Extern

§

type Type = Extern

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for FatArrow

§

type Type = FatArrow

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Final

§

type Type = Final

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Fn

§

type Type = Fn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for For

§

type Type = For

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Ge

§

type Type = Ge

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Gt

§

type Type = Gt

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for If

§

type Type = If

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Impl

§

type Type = Impl

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for In

§

type Type = In

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for LArrow

§

type Type = LArrow

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Le

§

type Type = Le

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Let

§

type Type = Let

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Loop

§

type Type = Loop

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Lt

§

type Type = Lt

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Macro

§

type Type = Macro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Match

§

type Type = Match

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Minus

§

type Type = Minus

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for MinusEq

§

type Type = MinusEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Mod

§

type Type = Mod

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Move

§

type Type = Move

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Mut

§

type Type = Mut

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Ne

§

type Type = Ne

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Not

§

type Type = Not

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Or

§

type Type = Or

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for OrEq

§

type Type = OrEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for OrOr

§

type Type = OrOr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Override

§

type Type = Override

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for PathSep

§

type Type = PathSep

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Percent

§

type Type = Percent

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for PercentEq

§

type Type = PercentEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Plus

§

type Type = Plus

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for PlusEq

§

type Type = PlusEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Pound

§

type Type = Pound

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Priv

§

type Type = Priv

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Pub

§

type Type = Pub

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Question

§

type Type = Question

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for RArrow

§

type Type = RArrow

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Ref

§

type Type = Ref

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Return

§

type Type = Return

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for SelfType

§

type Type = SelfType

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for SelfValue

§

type Type = SelfValue

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Semi

§

type Type = Semi

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Shl

§

type Type = Shl

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ShlEq

§

type Type = ShlEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Shr

§

type Type = Shr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for ShrEq

§

type Type = ShrEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Slash

§

type Type = Slash

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for SlashEq

§

type Type = SlashEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Star

§

type Type = Star

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for StarEq

§

type Type = StarEq

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Static

§

type Type = Static

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Struct

§

type Type = Struct

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Super

§

type Type = Super

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Tilde

§

type Type = Tilde

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Trait

§

type Type = Trait

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Try

§

type Type = Try

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Type

§

type Type = Type

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Typeof

§

type Type = Typeof

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Underscore

§

type Type = Underscore

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Union

§

type Type = Union

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Unsafe

§

type Type = Unsafe

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Unsized

§

type Type = Unsized

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Use

§

type Type = Use

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Virtual

§

type Type = Virtual

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Where

§

type Type = Where

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for While

§

type Type = While

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Yield

§

type Type = Yield

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for Abi

§

type Type = Abi

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for BareFnArg

§

type Type = BareFnArg

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeArray

§

type Type = TypeArray

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeBareFn

§

type Type = TypeBareFn

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeGroup

§

type Type = TypeGroup

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeImplTrait

§

type Type = TypeImplTrait

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeInfer

§

type Type = TypeInfer

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeMacro

§

type Type = TypeMacro

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeNever

§

type Type = TypeNever

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeParen

§

type Type = TypeParen

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypePath

§

type Type = TypePath

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypePtr

§

type Type = TypePtr

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeReference

§

type Type = TypeReference

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeSlice

§

type Type = TypeSlice

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeTraitObject

§

type Type = TypeTraitObject

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl ConvertParsed for TypeTuple

§

type Type = TypeTuple

source§

fn convert(path_value: PathValue<Self>) -> Result<Self>

source§

impl<T> ConvertParsed for Option<T>
where T: ConvertParsed,

§

type Type = <T as ConvertParsed>::Type

source§

fn convert(path_value: PathValue<Self::Type>) -> Result<Self>

source§

fn default() -> Option<Self>

source§

fn flag() -> Option<Self::Type>

source§

impl<T> ConvertParsed for Vec<T>
where T: ConvertParsed,

§

type Type = Array<<T as ConvertParsed>::Type>

source§

fn convert(path_value: PathValue<Self::Type>) -> Result<Self>

source§

fn default() -> Option<Self>

Implementors§

source§

impl<K, V> ConvertParsed for Map<K, V>

§

type Type = Map<<K as ConvertParsed>::Type, <V as ConvertParsed>::Type>

source§

impl<T> ConvertParsed for FlagOrValue<T>
where T: ConvertParsed,

§

type Type = FlagOrType<<T as ConvertParsed>::Type>

source§

impl<T> ConvertParsed for PathValue<T>
where T: ConvertParsed,

§

type Type = <T as ConvertParsed>::Type