struct FlexibleItemType {
    vis: Visibility,
    defaultness: Option<Default>,
    type_token: Type,
    ident: Ident,
    generics: Generics,
    colon_token: Option<Colon>,
    bounds: Punctuated<TypeParamBound, Plus>,
    ty: Option<(Eq, Type)>,
    semi_token: Semi,
}Fields§
§vis: Visibility§defaultness: Option<Default>§type_token: Type§ident: Ident§generics: Generics§colon_token: Option<Colon>§bounds: Punctuated<TypeParamBound, Plus>§ty: Option<(Eq, Type)>§semi_token: SemiImplementations§
Source§impl FlexibleItemType
 
impl FlexibleItemType
fn parse( input: ParseStream<'_>, allow_defaultness: TypeDefaultness, where_clause_location: WhereClauseLocation, ) -> Result<Self>
fn parse_optional_bounds( input: ParseStream<'_>, ) -> Result<(Option<Colon>, Punctuated<TypeParamBound, Plus>)>
fn parse_optional_definition( input: ParseStream<'_>, ) -> Result<Option<(Eq, Type)>>
Auto Trait Implementations§
impl Freeze for FlexibleItemType
impl RefUnwindSafe for FlexibleItemType
impl !Send for FlexibleItemType
impl !Sync for FlexibleItemType
impl Unpin for FlexibleItemType
impl UnwindSafe for FlexibleItemType
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