pub struct TraitPathAttrib {
pub base_path: Path,
pub trait_name: Ident,
pub trait_path_args: PathArguments,
}Expand description
Utility for handling trait paths Utility class for parsing trait path referencing
Fields§
§base_path: Path§trait_name: Ident§trait_path_args: PathArgumentsImplementations§
Trait Implementations§
Source§impl Display for TraitPathAttrib
impl Display for TraitPathAttrib
Source§impl Parse for TraitPathAttrib
Parse TraitPathAttrib as syn::Path instance
impl Parse for TraitPathAttrib
Parse TraitPathAttrib as syn::Path instance
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for TraitPathAttrib
impl RefUnwindSafe for TraitPathAttrib
impl !Send for TraitPathAttrib
impl !Sync for TraitPathAttrib
impl Unpin for TraitPathAttrib
impl UnwindSafe for TraitPathAttrib
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